tracker: add start/stop tracking apis for internal usages 68/57468/3
authorTaeyoung Kim <ty317.kim@samsung.com>
Wed, 20 Jan 2016 09:31:08 +0000 (18:31 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Wed, 20 Jan 2016 10:27:39 +0000 (19:27 +0900)
commitc1462e95b262d9f3f0739877271e7c07ef8d185d
treed3a804120ee9d9b66fc68797bab38d22cfdf2918
parentd1c23715e8b55daf679d457825e49f759f84eaaf
tracker: add start/stop tracking apis for internal usages

- The apis will be used only in the framework layer
  of the Tizen Platform. Now they are used
  to handle power lock reference count. But
  it will be used for more information to handle
  resources of framework.

- The reference count is increased when power is locked
  and the reference count is decreases when power is ulocked.
  There are several reference counts for each service
  because power can be locked several times by the usage
  of other apis.

Change-Id: I38df55bcf0654647d7ecb34389a4db558dee6a9b
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
CMakeLists.txt
include/tracker.h
include/tracker_private.h
src/power_lock.c [new file with mode: 0644]
src/services.c [new file with mode: 0644]
src/tracker.c