pepper-dali update
[platform/core/uifw/pepper-dali.git] / pepper-dali / internal / shell-client-impl.h
index f414675..6234e28 100644 (file)
@@ -53,11 +53,14 @@ public:
   pepper_view_t* GetView();
   void GetSurface( wl_client* client, unsigned int id, wl_resource* surfaceResource );
 
-  void SetTitle( const std::string title );
-  std::string GetTitle() const;
+  void SetTitle( const std::string& title );
+  const std::string& GetTitle() const;
 
-  void SetAppId( const std::string appId );
-  std::string GetAppId() const;
+  void SetAppId( const std::string& appId );
+  const std::string& GetAppId() const;
+
+  void MapSurface();
+  void UnmapSurface();
 
 private:
 
@@ -104,7 +107,7 @@ private: // Data
   std::string mTitle;
   std::string mAppId;
 
-  bool mSurfaceMapped;
+  bool mNeedSurfaceMap;
   bool mAckConfigure;
 
   ConfigureCallback mConfigureCallback;