Source directories are roughly separated by their dependencies.
Later, the build script will be updated to produce one shared object per one directory, and a dynamic loading routine will be applied.
Change-Id: Iceaae6740cebc15a89ce0631f13b1254640b12c4
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
ADD_DEFINITIONS(-O2 -Wall -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden)
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fPIC -Wl,--as-needed -Wl,--gc-section -Wl,--print-gc-section")
-# Base Dependency
-SET(dependencies libcontext-server)
-
# Profiles
IF("${PROFILE}" STREQUAL "mobile")
ADD_DEFINITIONS("-D_MOBILE_")
ADD_DEFINITIONS("-D_WEARABLE_")
ENDIF("${PROFILE}" STREQUAL "wearable")
-IF("${PROFILE}" STREQUAL "tv")
- ADD_DEFINITIONS("-D_TV_")
-ENDIF("${PROFILE}" STREQUAL "tv")
-# Include Sub-modules
-ADD_SUBDIRECTORY(src)
-MESSAGE("Compile definitions: ${compile_defs}")
+# Dependency & Source
+SET(DEPS
+ libcontext-server
+ vconf
+ capi-system-info
+ capi-system-device
+ capi-system-runtime-info
+ capi-appfw-package-manager
+ capi-appfw-application
+ capi-appfw-app-manager
+ pkgmgr
+ pkgmgr-info
+ capi-media-sound-manager
+ capi-network-bluetooth
+ capi-network-wifi
+ motion
+)
+
+FILE(GLOB SRCS
+ src/shared/*.cpp
+ src/time/*.cpp
+ src/activity/*.cpp
+ src/app-stats/*.cpp
+ src/headphone/*.cpp
+ src/system/*.cpp
+ src/wifi/*.cpp
+)
+
+IF("${PROFILE}" STREQUAL "mobile")
+SET(DEPS ${DEPS}
+ msg-service
+ contacts-service2
+ tapi
+ capi-telephony
+ capi-messaging-email
+ capi-content-media-content
+ capi-location-manager
+ capi-geofence-manager
+)
+
+FILE(GLOB SRCS ${SRCS}
+ src/call/*.cpp
+ src/contacts/*.cpp
+ src/email/*.cpp
+ src/geofence/*.cpp
+ src/media-stats/*.cpp
+ src/message/*.cpp
+ src/my-place/*.cpp
+ src/my-place/user_places/*.cpp
+ src/social-stats/*.cpp
+)
+ENDIF("${PROFILE}" STREQUAL "mobile")
+
# Build
INCLUDE(FindPkgConfig)
-PKG_CHECK_MODULES(DEPS REQUIRED ${dependencies})
+PKG_CHECK_MODULES(DEPS REQUIRED ${DEPS})
FOREACH(flag ${DEPS_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
-ADD_LIBRARY(${target} STATIC ${sources})
+ADD_LIBRARY(${target} STATIC ${SRCS})
TARGET_LINK_LIBRARIES(${target} ${DEPS_LDFLAGS})
SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_FLAGS ${EXTRA_CFLAGS})
SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_DEFINITIONS "${compile_defs}")
SET_TARGET_PROPERTIES(${target} PROPERTIES VERSION ${FULLVER})
# Package Config
-FOREACH(item IN LISTS dependencies)
+FOREACH(item IN LISTS DEPS)
SET(deps_str "${deps_str} ${item}")
ENDFOREACH(item)
FILES_MATCHING PATTERN "*.h"
)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
-INSTALL(TARGETS ${target} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT RuntimeLibraries)
+INSTALL(TARGETS ${target} DESTINATION ${CMAKE_INSTALL_LIBDIR})
%define BUILD_PROFILE %{?profile}%{!?profile:%{?tizen_profile_name}}
%define keepstatic 1
+%if "%{?BUILD_PROFILE}" == "tv"
+ExcludeArch: %{arm} aarch64 %ix86 x86_64
+%endif
+
BuildRequires: cmake
BuildRequires: pkgconfig(libcontext-server)
BuildRequires: pkgconfig(pkgmgr)
BuildRequires: pkgconfig(pkgmgr-info)
BuildRequires: pkgconfig(capi-media-sound-manager)
-
-%if "%{?BUILD_PROFILE}" == "mobile"
BuildRequires: pkgconfig(capi-network-bluetooth)
BuildRequires: pkgconfig(capi-network-wifi)
-BuildRequires: pkgconfig(capi-telephony)
-BuildRequires: pkgconfig(tapi)
-BuildRequires: pkgconfig(msg-service)
-BuildRequires: pkgconfig(capi-messaging-email)
BuildRequires: pkgconfig(motion)
+
+%if "%{?BUILD_PROFILE}" == "mobile"
+BuildRequires: pkgconfig(msg-service)
BuildRequires: pkgconfig(contacts-service2)
+BuildRequires: pkgconfig(tapi)
+BuildRequires: pkgconfig(capi-telephony)
+BuildRequires: pkgconfig(capi-messaging-email)
BuildRequires: pkgconfig(capi-content-media-content)
BuildRequires: pkgconfig(capi-location-manager)
BuildRequires: pkgconfig(capi-geofence-manager)
%endif
-%if "%{?BUILD_PROFILE}" == "wearable"
-BuildRequires: pkgconfig(capi-network-bluetooth)
-BuildRequires: pkgconfig(capi-network-wifi)
-BuildRequires: pkgconfig(capi-telephony)
-BuildRequires: pkgconfig(tapi)
-BuildRequires: pkgconfig(msg-service)
-BuildRequires: pkgconfig(motion)
-%endif
-
-%if "%{?BUILD_PROFILE}" == "tv"
-BuildRequires: pkgconfig(capi-network-bluetooth)
-BuildRequires: pkgconfig(capi-network-wifi)
-BuildRequires: pkgconfig(capi-content-media-content)
-%endif
-
%description
Context Provider
+++ /dev/null
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-
-FUNCTION(add_provider prvd_name)
- ADD_SUBDIRECTORY(${prvd_name})
- GET_DIRECTORY_PROPERTY(srcs_subdir DIRECTORY ${prvd_name} DEFINITION prvd_srcs)
- GET_DIRECTORY_PROPERTY(deps_subdir DIRECTORY ${prvd_name} DEFINITION prvd_deps)
- GET_DIRECTORY_PROPERTY(cdef_subdir DIRECTORY ${prvd_name} DEFINITION prvd_cdef)
- SET(srcs_collected ${srcs_collected} ${srcs_subdir} PARENT_SCOPE)
- SET(deps_collected ${deps_collected} ${deps_subdir} PARENT_SCOPE)
- SET(cdef_collected ${cdef_collected} ${cdef_subdir} PARENT_SCOPE)
-ENDFUNCTION(add_provider)
-
-
-add_provider(device)
-add_provider(statistics)
-add_provider(place)
-#add_provider(custom)
-
-
-LIST(REMOVE_DUPLICATES deps_collected)
-
-SET(sources ${sources} ${srcs_collected} PARENT_SCOPE)
-SET(dependencies ${dependencies} ${deps_collected} PARENT_SCOPE)
-SET(compile_defs ${compile_defs} ${cdef_collected} PARENT_SCOPE)
#define _DEVICE_ACTIVITY_STATUS_H_
#include "ActivityBase.h"
+#include "ActivityTypes.h"
#define GENERATE_ACTIVITY_PROVIDER(actPrvd, actSubj, actType) \
class actPrvd : public UserActivityBase { \
#include <string>
#include <activity_recognition.h>
-#include "../DeviceProviderBase.h"
+#include "../shared/DeviceProviderBase.h"
namespace ctx {
* limitations under the License.
*/
-#include "SocialTypes.h"
#include "Call.h"
#define TELEPHONY_NOTI_ID_CNT 8
#define _CONTEXT_SOCIAL_STATUS_CALL_H_
#include <telephony.h>
-#include "../DeviceProviderBase.h"
+#include "../shared/SocialTypes.h"
+#include "../shared/DeviceProviderBase.h"
namespace ctx {
* limitations under the License.
*/
-#include "SocialTypes.h"
#include "Contacts.h"
#define MY_PROFILE_VIEW _contacts_my_profile._uri
#define _CONTEXT_SOCIAL_STATUS_CONTACTS_H_
#include <contacts.h>
-#include "../DeviceProviderBase.h"
+#include "../shared/SocialTypes.h"
+#include "../shared/DeviceProviderBase.h"
namespace ctx {
+++ /dev/null
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-# prvd_cdef, prvd_deps, and prvd_srcs need to be set properly
-
-# Common Profile
-FILE(GLOB prvd_srcs ./*.cpp system/Alarm.cpp system/Time.cpp)
-SET(prvd_deps vconf capi-system-info capi-system-device capi-system-runtime-info)
-
-# Mobile Profile
-IF("${PROFILE}" STREQUAL "mobile")
- SET(prvd_deps ${prvd_deps} capi-network-bluetooth capi-network-wifi contacts-service2)
- SET(prvd_deps ${prvd_deps} capi-telephony tapi msg-service capi-messaging-email motion)
- FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} activity/*.cpp)
- FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} system/*.cpp)
- FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} social/*.cpp)
-ENDIF("${PROFILE}" STREQUAL "mobile")
-
-# Wearable Profile
-IF("${PROFILE}" STREQUAL "wearable")
- SET(prvd_deps ${prvd_deps} capi-network-bluetooth capi-network-wifi)
- SET(prvd_deps ${prvd_deps} capi-telephony tapi msg-service motion)
- FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} activity/*.cpp)
- FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} system/*.cpp)
- FILE(GLOB prvd_srcs ${prvd_srcs} social/Call.cpp social/Message.cpp)
-ENDIF("${PROFILE}" STREQUAL "wearable")
-
-# TV Profile
-IF("${PROFILE}" STREQUAL "tv")
- SET(prvd_deps ${prvd_deps} capi-network-bluetooth capi-network-wifi)
- FILE(GLOB prvd_srcs ${prvd_srcs} system/Headphone.cpp system/Wifi.cpp)
-ENDIF("${PROFILE}" STREQUAL "tv")
*/
#include <email-api-etc.h>
-#include "SocialTypes.h"
#include "Email.h"
using namespace ctx;
#define _CONTEXT_SOCIAL_STATUS_EMAIL_H_
#include <DBusSignalWatcher.h>
-#include "../DeviceProviderBase.h"
+#include "../shared/SocialTypes.h"
+#include "../shared/DeviceProviderBase.h"
namespace ctx {
* limitations under the License.
*/
-#include "SystemTypes.h"
#include "Headphone.h"
#define HANDLING_DELAY 2000
* limitations under the License.
*/
-#ifndef _DEVICE_SYSTEM_STATUS_HEADPHONE_H_
-#define _DEVICE_STATUS_HEADPNOHE_H_
+#ifndef _CONTEXT_HEADPHONE_H_
+#define _CONTEXT_HEADPNOHE_H_
#include <glib.h>
#include <runtime_info.h>
#include <bluetooth.h>
-#include "../DeviceProviderBase.h"
+#include "../shared/SystemTypes.h"
+#include "../shared/DeviceProviderBase.h"
namespace ctx {
};
}
-#endif // _DEVICE_SYSTEM_STATUS_HEADPHONE_H_
+#endif // _CONTEXT_HEADPHONE_H_
* limitations under the License.
*/
-#include "SocialTypes.h"
#include "Message.h"
#define MAX_ADDR_SIZE 20
#include <msg.h>
#include <msg_transport.h>
-#include "../DeviceProviderBase.h"
+#include "../shared/SocialTypes.h"
+#include "../shared/DeviceProviderBase.h"
namespace ctx {
+++ /dev/null
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-# prvd_cdef, prvd_deps, and prvd_srcs need to be set properly
-
-# Build flag for the place auto detection engine.
-# Set this to "yes" to enable the engine.
-SET(enable_recog_engine "no")
-
-# Common Profile
-FILE(GLOB prvd_srcs *.cpp)
-
-# Mobile Profile
-IF("${PROFILE}" STREQUAL "mobile")
- FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} geofence/*.cpp)
- SET(prvd_deps ${prvd_deps} capi-geofence-manager)
- IF("${enable_recog_engine}" STREQUAL "yes")
- FILE(GLOB_RECURSE prvd_srcs ${prvd_srcs} recognition/*.cpp)
- SET(prvd_deps ${prvd_deps} capi-location-manager)
- SET(prvd_deps ${prvd_deps} capi-network-wifi)
- ELSE("${enable_recog_engine}" STREQUAL "yes")
- SET(prvd_cdef ${prvd_cdef} _DISABLE_RECOG_ENGINE_)
- ENDIF("${enable_recog_engine}" STREQUAL "yes")
-ENDIF("${PROFILE}" STREQUAL "mobile")
* limitations under the License.
*/
-#include <Types.h>
-#include <ContextProvider.h>
+#include <new>
#include <DeviceContextProvider.h>
-#include "system/SystemTypes.h"
-#include "social/SocialTypes.h"
-#include "activity/ActivityTypes.h"
-
-#include "system/Alarm.h"
-#include "system/Time.h"
+#include "../time/Alarm.h"
+#include "../time/Time.h"
+#include "../activity/Activity.h"
+#include "../headphone/Headphone.h"
+#include "../system/Battery.h"
+#include "../system/Charger.h"
+#include "../system/Gps.h"
+#include "../system/Psmode.h"
+#include "../system/Usb.h"
+#include "../wifi/Wifi.h"
#ifdef _MOBILE_
-#include "system/runtime_info/Charger.h"
-#include "system/runtime_info/Gps.h"
-#include "system/runtime_info/Usb.h"
-#include "system/Wifi.h"
-#include "system/Headphone.h"
-#include "system/Battery.h"
-#include "system/Psmode.h"
-#include "social/Call.h"
-#include "social/Email.h"
-#include "social/Message.h"
-#include "social/Contacts.h"
-#include "activity/Activity.h"
-#endif
-
-#ifdef _WEARABLE_
-#include "system/runtime_info/Charger.h"
-#include "system/runtime_info/Gps.h"
-#include "system/runtime_info/Usb.h"
-#include "system/Wifi.h"
-#include "system/Headphone.h"
-#include "system/Battery.h"
-#include "system/Psmode.h"
-#include "social/Call.h"
-#include "social/Message.h"
-#include "activity/Activity.h"
+#include "../call/Call.h"
+#include "../contacts/Contacts.h"
+#include "../email/Email.h"
+#include "../message/Message.h"
#endif
#define PRIV_NETWORK "network.get"
registerProvider<DeviceStatusAlarm>(DEVICE_ST_SUBJ_ALARM, NULL);
registerProvider<DeviceStatusTime>(DEVICE_ST_SUBJ_TIME, NULL);
-#ifdef _MOBILE_
registerProvider<DeviceStatusWifi>(DEVICE_ST_SUBJ_WIFI, PRIV_NETWORK);
registerProvider<DeviceStatusHeadphone>(DEVICE_ST_SUBJ_HEADPHONE, NULL);
registerProvider<DeviceStatusBattery>(DEVICE_ST_SUBJ_BATTERY, NULL);
registerProvider<DeviceStatusPsmode>(DEVICE_ST_SUBJ_PSMODE, NULL);
- registerProvider<SocialStatusCall>(SOCIAL_ST_SUBJ_CALL, PRIV_TELEPHONY);
- registerProvider<SocialStatusEmail>(SOCIAL_ST_SUBJ_EMAIL, NULL);
- registerProvider<SocialStatusMessage>(SOCIAL_ST_SUBJ_MESSAGE, PRIV_MESSAGE);
- registerProvider<SocialStatusContacts>(SOCIAL_ST_SUBJ_CONTACTS, PRIV_CONTACT);
-
registerProvider<UserActivityStationary>(USER_ACT_SUBJ_STATIONARY, NULL);
registerProvider<UserActivityWalking>(USER_ACT_SUBJ_WALKING, NULL);
registerProvider<UserActivityRunning>(USER_ACT_SUBJ_RUNNING, NULL);
registerProvider<UserActivityInVehicle>(USER_ACT_SUBJ_IN_VEHICLE, NULL);
+#ifdef _MOBILE_
+ registerProvider<SocialStatusCall>(SOCIAL_ST_SUBJ_CALL, PRIV_TELEPHONY);
+ registerProvider<SocialStatusEmail>(SOCIAL_ST_SUBJ_EMAIL, NULL);
+ registerProvider<SocialStatusMessage>(SOCIAL_ST_SUBJ_MESSAGE, PRIV_MESSAGE);
+ registerProvider<SocialStatusContacts>(SOCIAL_ST_SUBJ_CONTACTS, PRIV_CONTACT);
+
/* Create context providers, which need to be initiated before being subscribed */
/*
if (DeviceStatusWifi::isSupported())
*/
#endif
-#ifdef _WEARABLE_
- registerProvider<DeviceStatusWifi>(DEVICE_ST_SUBJ_WIFI, PRIV_NETWORK);
- registerProvider<DeviceStatusHeadphone>(DEVICE_ST_SUBJ_HEADPHONE, NULL);
-
- registerProvider<DeviceStatusCharger>(DEVICE_ST_SUBJ_CHARGER, NULL);
- registerProvider<DeviceStatusGps>(DEVICE_ST_SUBJ_GPS, NULL);
- registerProvider<DeviceStatusUsb>(DEVICE_ST_SUBJ_USB, NULL);
- registerProvider<DeviceStatusBattery>(DEVICE_ST_SUBJ_BATTERY, NULL);
- registerProvider<DeviceStatusPsmode>(DEVICE_ST_SUBJ_PSMODE, NULL);
-
- registerProvider<SocialStatusCall>(SOCIAL_ST_SUBJ_CALL, PRIV_TELEPHONY);
- registerProvider<SocialStatusMessage>(SOCIAL_ST_SUBJ_MESSAGE, PRIV_MESSAGE);
-
- registerProvider<UserActivityStationary>(USER_ACT_SUBJ_STATIONARY, NULL);
- registerProvider<UserActivityWalking>(USER_ACT_SUBJ_WALKING, NULL);
- registerProvider<UserActivityRunning>(USER_ACT_SUBJ_RUNNING, NULL);
- registerProvider<UserActivityInVehicle>(USER_ACT_SUBJ_IN_VEHICLE, NULL);
-#endif
-
return true;
}
* limitations under the License.
*/
+#include <new>
#include <Types.h>
#include <PlaceContextProvider.h>
#ifdef _MOBILE_
-#include "geofence/PlaceGeofenceProvider.h"
-#ifndef _DISABLE_RECOG_ENGINE_
-#include "recognition/place_recognition.h"
-#endif /* _DISABLE_RECOG_ENGINE_ */
+#include "../geofence/PlaceGeofenceProvider.h"
+#include "../my-place/place_recognition.h"
#endif /* _MOBILE_ */
template<typename Provider>
#ifdef _MOBILE_
registerProvider<PlaceGeofenceProvider>(PLACE_SUBJ_GEOFENCE, PLACE_PRIV_GEOFENCE);
-#ifndef _DISABLE_RECOG_ENGINE_
+ /*
registerProvider<PlaceRecognitionProvider>(PLACE_SUBJ_RECOGNITION, PLACE_PRIV_RECOGNITION);
-#endif /* _DISABLE_RECOG_ENGINE_ */
+ */
#endif /* _MOBILE_ */
return true;
* limitations under the License.
*/
-#include <Types.h>
-#include <ContextProvider.h>
+#include <new>
#include <StatisticsContextProvider.h>
-#include "app/AppStatsProvider.h"
-#include "app/AppStatsLogger.h"
-
-#ifndef _DISABLE_PREDICTION_ENGINE_
-// include prediction engine header files here
-#endif
+#include "../app-stats/AppStatsProvider.h"
+#include "../app-stats/AppStatsLogger.h"
#ifdef _MOBILE_
-#include "media/MediaStatsProvider.h"
-#include "media/MediaStatsLogger.h"
-#include "social/SocialStatsProvider.h"
-#include "social/SocialStatsLogger.h"
+#include "../media-stats/MediaStatsProvider.h"
+#include "../media-stats/MediaStatsLogger.h"
+#include "../social-stats/SocialStatsProvider.h"
+#include "../social-stats/SocialStatsLogger.h"
#endif
template<typename Provider>
registerProvider<AppSettingProvider>(APP_SUBJ_COMMON_SETTING, APP_HISTORY_PRIV);
registerProvider<AppFreqProvider>(APP_SUBJ_FREQUENCY, APP_HISTORY_PRIV);
-#ifndef _DISABLE_PREDICTION_ENGINE_
-// initialize the prediction engine here
-#endif
-
#ifdef _MOBILE_
registerProvider<MediaStatsLogger>(MEDIA_SUBJ_LOGGER, MEDIA_HISTORY_PRIV);
registerProvider<MusicPeakTimeProvider>(MEDIA_SUBJ_PEAK_TIME_FOR_MUSIC, MEDIA_HISTORY_PRIV);
+++ /dev/null
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-# prvd_cdef, prvd_deps, and prvd_srcs need to be set properly
-
-# Build flag for the prediction engine.
-# Set this to "yes" to enable the engine.
-SET(enable_prediction_engine "no")
-
-# Common Profile
-FILE(GLOB prvd_srcs ./*.cpp)
-FILE(GLOB prvd_srcs ${prvd_srcs} shared/*.cpp)
-FILE(GLOB prvd_srcs ${prvd_srcs} app/*.cpp)
-IF("${enable_prediction_engine}" STREQUAL "yes")
- FILE(GLOB prvd_srcs ${prvd_srcs} prediction/*.cpp)
-ELSE("${enable_prediction_engine}" STREQUAL "yes")
- SET(prvd_cdef ${prvd_cdef} _DISABLE_PREDICTION_ENGINE_)
-ENDIF("${enable_prediction_engine}" STREQUAL "yes")
-
-SET(prvd_deps capi-system-runtime-info pkgmgr pkgmgr-info capi-appfw-package-manager)
-SET(prvd_deps ${prvd_deps} capi-appfw-application capi-appfw-app-manager)
-SET(prvd_deps ${prvd_deps} capi-media-sound-manager)
-
-# Mobile Profile
-IF("${PROFILE}" STREQUAL "mobile")
- FILE(GLOB prvd_srcs ${prvd_srcs} media/*.cpp)
- FILE(GLOB prvd_srcs ${prvd_srcs} social/*.cpp)
- SET(prvd_deps ${prvd_deps} contacts-service2 capi-content-media-content)
-ENDIF("${PROFILE}" STREQUAL "mobile")
-
-# Wearable Profile
-#IF("${PROFILE}" STREQUAL "wearable")
-#ENDIF("${PROFILE}" STREQUAL "wearable")
* limitations under the License.
*/
-#include "SystemTypes.h"
#include "Battery.h"
using namespace ctx;
#include <device/callback.h>
#include <device/battery.h>
-#include "../DeviceProviderBase.h"
+#include "../shared/SystemTypes.h"
+#include "../shared/DeviceProviderBase.h"
namespace ctx {
* limitations under the License.
*/
-#include "../SystemTypes.h"
#include "Charger.h"
using namespace ctx;
* limitations under the License.
*/
-#include "../SystemTypes.h"
#include "Gps.h"
using namespace ctx;
* limitations under the License.
*/
-#include "SystemTypes.h"
#include "Psmode.h"
using namespace ctx;
#define _DEVICE_SYSTEM_STATUS_POWER_SAVING_MODE_H_
#include <vconf.h>
-#include "../DeviceProviderBase.h"
+#include "../shared/SystemTypes.h"
+#include "../shared/DeviceProviderBase.h"
namespace ctx {
#define _DEVICE_SYSTEM_STATUS_RUNTIME_INFO_BASE_H_
#include <runtime_info.h>
-#include "../../DeviceProviderBase.h"
+#include "../shared/SystemTypes.h"
+#include "../shared/DeviceProviderBase.h"
namespace ctx {
* limitations under the License.
*/
-#include "../SystemTypes.h"
#include "Usb.h"
using namespace ctx;
* limitations under the License.
*/
-#include "SystemTypes.h"
#include "Alarm.h"
using namespace ctx;
#include <set>
#include <TimerManager.h>
#include <ContextProvider.h>
+#include "../shared/SystemTypes.h"
namespace ctx {
*/
#include <TimerManager.h>
-#include "SystemTypes.h"
#include "Time.h"
using namespace ctx;
#ifndef _DEVICE_SYSTEM_STATUS_TIME_H_
#define _DEVICE_SYSTEM_STATUS_TIME_H_
-#include "../DeviceProviderBase.h"
+#include "../shared/DeviceProviderBase.h"
+#include "../shared/SystemTypes.h"
namespace ctx {
*/
#include <SharedVars.h>
-#include "SystemTypes.h"
#include "Wifi.h"
using namespace ctx;
#include <string>
#include <wifi.h>
-#include "../DeviceProviderBase.h"
+#include "../shared/DeviceProviderBase.h"
+#include "../shared/SystemTypes.h"
namespace ctx {