Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
d7300288
Commit
d7300288
authored
12 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
gnome: whitespace cleanup
parent
f18f7d6c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnome/src/accountlist.h
+20
-20
20 additions, 20 deletions
gnome/src/accountlist.h
with
20 additions
and
20 deletions
gnome/src/accountlist.h
+
20
−
20
View file @
d7300288
...
...
@@ -29,8 +29,8 @@
* as that of the covered work.
*/
#ifndef ACCOUNTLIST_H_
_
#define ACCOUNTLIST_H_
_
#ifndef ACCOUNTLIST_H_
#define ACCOUNTLIST_H_
#include
<gtk/gtk.h>
/** @file accountlist.h
...
...
@@ -91,20 +91,20 @@ typedef struct {
/**
* This function initialize the account list.
*/
void
account_list_init
();
void
account_list_init
();
/**
* This function append an account to list.
* @param a The account you want to add
*/
void
account_list_add
(
account_t
*
a
);
void
account_list_add
(
account_t
*
a
);
/**
* Return the first account that corresponds to the state
* @param state The state
* @return account_t* An account or NULL
*/
account_t
*
account_list_get_by_state
(
account_state_t
state
);
account_t
*
account_list_get_by_state
(
account_state_t
state
);
/**
* @return guint The number of registered accounts in the list
...
...
@@ -115,14 +115,14 @@ guint account_list_get_registered_accounts();
* Return the number of accounts in the list
* @return guint The number of accounts in the list
*/
guint
account_list_get_size
();
guint
account_list_get_size
();
/**
* Return the account at the nth position in the list
* @param n The position of the account you want
* @return An account or NULL
*/
account_t
*
account_list_get_nth
(
guint
n
);
account_t
*
account_list_get_nth
(
guint
n
);
/**
* Return the current account struct
...
...
@@ -134,54 +134,54 @@ account_t * account_list_get_current();
* This function sets an account as the current one
* @param current the account you want to set as current
*/
void
account_list_set_current
(
account_t
*
current
);
void
account_list_set_current
(
account_t
*
current
);
/**
* This function maps account_state_t enums to a description.
* @param s The state
* @return The full text description of the state
*/
const
gchar
*
account_state_name
(
account_state_t
s
);
const
gchar
*
account_state_name
(
account_state_t
s
);
/**
* This function frees the list
*/
void
account_list_free
();
void
account_list_free
();
/**
* Return the account associated with an ID
* @param accountID The ID of the account
* @return An account or NULL
*/
account_t
*
account_list_get_by_id
(
const
gchar
*
const
accountID
);
account_t
*
account_list_get_by_id
(
const
gchar
*
const
accountID
);
/**
* Move the account from an unit up in the account_list
* @param index The current index in the list
*/
void
account_list_move_up
(
guint
index
);
void
account_list_move_up
(
guint
index
);
/**
* Move the account from an unit down in the account_list
* @param index The current index in the list
*/
void
account_list_move_down
(
guint
index
);
void
account_list_move_down
(
guint
index
);
/**
* Return the ID of the current default account
* @return gchar* The id
*/
const
gchar
*
account_list_get_current_id
(
void
);
const
gchar
*
account_list_get_current_id
(
void
);
gchar
*
account_list_get_ordered_list
(
void
);
gchar
*
account_list_get_ordered_list
(
void
);
gboolean
current_account_has_mailbox
(
void
);
gboolean
current_account_has_mailbox
(
void
);
guint
current_account_get_message_number
(
void
);
guint
current_account_get_message_number
(
void
);
void
current_account_set_message_number
(
guint
nb
);
void
current_account_set_message_number
(
guint
nb
);
gboolean
current_account_has_new_message
(
void
);
gboolean
current_account_has_new_message
(
void
);
gboolean
account_is_IP2IP
(
const
account_t
*
account
);
gboolean
account_is_SIP
(
const
account_t
*
account
);
...
...
@@ -197,4 +197,4 @@ void account_insert(account_t *account, const gchar *key, const gchar *value);
gpointer
account_lookup
(
const
account_t
*
account
,
gconstpointer
key
);
void
account_list_remove
(
const
gchar
*
accountID
);
#endif
#endif
// ACCOUNTLIST_H_
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment