return SYNC_ERROR_NOT_SUPPORTED; \
} \
} \
- } while(0)
+ } while (0)
#endif /* SYNC_LOG_H_ */
%global __provides_exclude_from ^.*\\.extension-calendar
Name: sync-service
-Version: 0.3.30
+Version: 0.3.31
Release: 1
License: Apache-2.0
Summary: Sync manager daemon
virtual SyncType GetSyncType() = 0;
- virtual int GetSyncJobId() {
+ virtual int GetSyncJobId()
+ {
return __syncJobId;
}
int
RepositoryEngine::UpdateSyncJobToDB(const char *SvcAppId, int UserId, const char *AppStatus, int JobId, const char *SyncType,
int AccountId, const char *JobName, int Interval, int Option, bundle *UserData) {
-
sqlite3 *db = NULL;
db = db_open();
if (!db) {
template < typename TYPE >
class Singleton {
public:
- static TYPE* GetInstance(void) {
+ static TYPE* GetInstance(void)
+ {
if (__pInstance == NULL) {
LOG_LOGD("singleton creation called");
__pInstance = new(std::nothrow) TYPE;
, __isExpedited(syncOption & SYNC_OPTION_EXPEDITED)
, __noRetry(syncOption & SYNC_OPTION_NO_RETRY)
, __waitCounter(0) {
-
LOG_LOGD("uid: %d", uid);
LOG_LOGD("syncOption: %d", syncOption);
LOG_LOGD("__isExpedited: %d", __isExpedited);
class CurrentSyncContext;
class SyncJobDispatcher
- :public ISyncWorkerResultListener {
+ : public ISyncWorkerResultListener {
public:
SyncJobDispatcher(void);