#include <boost/optional.hpp>
#include <string>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
class IApplicationManager {
public:
virtual bool is_application_running(pid_t pid) = 0;
virtual boost::optional<pid_t> get_pid_by_appid(const std::string& appid) = 0;
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __APPLICATION_MANAGER_H__ */
#include "application_manager.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
class CApplicationManagerAul : public IApplicationManager {
public:
CApplicationManagerAul();
boost::optional<pid_t> get_pid_by_appid(const std::string& appid) override;
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __APPLICATION_MANAGER_AUL_H__ */
#include <string>
#include <glib.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef struct {
pid_t pid;
std::string appid;
GSList* mClientList{nullptr};
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __CLIENT_MANAGER_H__ */
#include <string>
#include <boost/optional.hpp>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef void (*preference_changed_cb)(std::string key, void* user_data);
class IPreferenceManager {
const std::string& key, preference_changed_cb callback) = 0;
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __PREFERENCE_MANAGER_H__ */
#include <list>
#include <tuple>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef std::tuple<preference_changed_cb, void*> CallbackEntry;
class CPreferenceManagerVconf : public IPreferenceManager {
std::map<std::string, std::list<CallbackEntry>> mCallbackEntries;
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __PREFERENCE_MANAGER_VCONF_H__ */
#include <string>
#include <boost/optional.hpp>
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
/**************************************************************************************
*** Definitions for xml file
*************************************************************************************/
const char *path, void* user_data);
};
-#ifdef __cplusplus
-}
-#endif
-
/**
* @}
*/
#ifndef __SERVICE_IPC_DBUS_H__
#define __SERVICE_IPC_DBUS_H__
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <dbus/dbus.h>
#include <Ecore.h>
IApplicationManager* mApplicationManager{nullptr};
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __SERVICE_IPC_DBUS_H__ */
#include <dbus/dbus.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
class CServiceMain;
class IServiceIpcObserver {
IServiceIpcObserver *mIpcObserver{nullptr};
};
-#ifdef __cplusplus
-}
-#endif
-
-
#endif /* __SERVICE_IPC_DBUS_DISPATCHER_H__ */
#include "application_manager.h"
#include "preference_manager.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef enum {
CLIENT_LAUNCH_MODE_ACTIVATION,
CLIENT_LAUNCH_MODE_PRELAUNCH,
IPreferenceManager& mPreferenceManager;
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __SERVICE_MAIN_H__ */
#include "service_ipc_dbus.h"
#include "service_plugin_interface.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
class CServiceMain;
class CServicePlugin {
CServiceMain* mServiceMain{nullptr};
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __SERVICE_PLUGIN_H__ */
#include <tzplatform_config.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef struct {
int plugin_version;
bool ui_panel_enabled;
wakeup_manager_set_voice_key_status_changed_callback set_voice_key_status_changed_callback;
} wakeup_manager_interface;
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __SERVICE_PLUGIN_INTERFACE_H__ */
#include <dlog.h>
#include <glib.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
#ifdef LOG_TAG
#undef LOG_TAG
#endif
#define MWR_SLOGW(fmt, args...) MWR_SECURE_LOG_(DLOG_WARN, LOG_TAG, fmt, ##args)
#define MWR_SLOGE(fmt, args...) MWR_SECURE_LOG_(DLOG_ERROR, LOG_TAG, fmt, ##args)
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __MUTLI_WAKEUP_MAIN_H__ */