diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-06-04 11:16:57 +0900 |
---|---|---|
committer | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-06-04 11:18:30 +0900 |
commit | 9d6af7eefe121913977e1709a45eb2a975bec2c7 (patch) | |
tree | bf2da2fc26bedf0eaf0d1c85bf969aeae15663eb /src/libwindowmanager.h | |
parent | 026af4256b9b69ffd52972d6da0cb394dff2b0e6 (diff) |
Rename APIssandbox/yuta-d/rename
init -> registerMyApplication
activateSurface -> allocateWindowResource
deactivateSurface -> releaseWindowResource
Change-Id: Ibd382834cb1186f30e7f9979f5656db5f6fc814d
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src/libwindowmanager.h')
-rw-r--r-- | src/libwindowmanager.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/libwindowmanager.h b/src/libwindowmanager.h index b2b9496..ba885bb 100644 --- a/src/libwindowmanager.h +++ b/src/libwindowmanager.h @@ -54,13 +54,13 @@ public: Event_FlushDraw, }; - int init(int port, char const *token); + int registerMyApplication(int port, char const *token); // WM API int requestSurface(json_object *object); int requestSurfaceXDG(json_object *object); - int activateSurface(json_object *object); - int deactivateSurface(json_object *object); + int allocateWindowResource(json_object *object); + int releaseWindowResource(json_object *object); int endDraw(json_object *object); int getDisplayInfo(json_object *object); int getAreaInfo(json_object *in_obj, json_object *out_obj); @@ -71,6 +71,11 @@ public: struct Impl; + // This API is old, please use new API. + THIS_FUNCTION_IS_DEPRECATED(int init(int port, char const *token)); + THIS_FUNCTION_IS_DEPRECATED(int activateSurface(json_object *object)); + THIS_FUNCTION_IS_DEPRECATED(int deactivateSurface(json_object *object)); + private: Impl *const d; }; |