profile_dbus.h File Reference

DBus constants for profile daemon. More...


Defines

DBus Daemon
#define PROFILED_SERVICE   "com.nokia.profiled"
#define PROFILED_PATH   "/com/nokia/profiled"
#define PROFILED_INTERFACE   "com.nokia.profiled"
DBus Methods
#define PROFILED_GET_PROFILE   "get_profile"
#define PROFILED_HAS_PROFILE   "has_profile"
#define PROFILED_SET_PROFILE   "set_profile"
#define PROFILED_GET_PROFILES   "get_profiles"
#define PROFILED_GET_KEYS   "get_keys"
#define PROFILED_GET_VALUE   "get_value"
#define PROFILED_HAS_VALUE   "has_value"
#define PROFILED_IS_WRITABLE   "is_writable"
#define PROFILED_SET_VALUE   "set_value"
#define PROFILED_GET_TYPE   "get_type"
#define PROFILED_GET_VALUES   "get_values"
DBus Signals
#define PROFILED_CHANGED   "profile_changed"


Detailed Description

The Constants used for communication with profile daemon over dbus.

Copyright (C) 2008 Nokia. All rights reserved.

Author:
Simo Piiroinen <[email protected]>

Define Documentation

#define PROFILED_SERVICE   "com.nokia.profiled"

Profile daemon DBus service.

#define PROFILED_PATH   "/com/nokia/profiled"

Profile daemon DBus object path.

#define PROFILED_INTERFACE   "com.nokia.profiled"

Profile daemon DBus method call and signal interface.

#define PROFILED_GET_PROFILE   "get_profile"

Get active profile name.

Parameters:
n/a 
Returns:
profile : STRING

#define PROFILED_HAS_PROFILE   "has_profile"

Check existance of profile name.

Parameters:
profile : STRING
Returns:
exists : BOOLEAN

#define PROFILED_SET_PROFILE   "set_profile"

Set active profile name.

Parameters:
profile : STRING
Returns:
success : BOOLEAN

#define PROFILED_GET_PROFILES   "get_profiles"

Get available profiles.

Parameters:
n/a 
Returns:
profiles : ARRAY of STRING

#define PROFILED_GET_KEYS   "get_keys"

Get available keys.

Parameters:
n/a 
Returns:
keys : ARRAY of STRING

#define PROFILED_GET_VALUE   "get_value"

Get profile value.

Parameters:
profile : STRING
key : STRING
Returns:
value : STRING

#define PROFILED_HAS_VALUE   "has_value"

Check existance of value.

Parameters:
key : STRING
Returns:
exists : BOOLEAN

#define PROFILED_IS_WRITABLE   "is_writable"

Check if value can be modified.

Parameters:
key : STRING
Returns:
writable : BOOLEAN

#define PROFILED_SET_VALUE   "set_value"

Set profile value.

Parameters:
profile : STRING
key : STRING
val : STRING
Returns:
success : BOOLEAN

#define PROFILED_GET_TYPE   "get_type"

Get type of profile value.

Parameters:
profile : STRING
key : STRING
Returns:
type : STRING

#define PROFILED_GET_VALUES   "get_values"

Get all profile values.

Parameters:
profile : STRING
Returns:
values : ARRAY of STRUCT
key : STRING
val : STRING
type : STRING

#define PROFILED_CHANGED   "profile_changed"

Signal emitted after changes to profile data

Parameters:
changed : BOOLEAN
active : BOOLEAN
profile : STRING
values : ARRAY of STRUCT
key : STRING
val : STRING
type : STRING


Generated on Wed Oct 21 13:44:00 2009 for libprofile by  doxygen 1.5.6