[4.0] Addd to check privilege for capture
[platform/core/uifw/dali-adaptor.git] / adaptors / tizen / capture-impl.h
index 040cfaf..d172fdd 100755 (executable)
@@ -79,11 +79,6 @@ public:
 protected:
 
   /**
-   * @brief Second-phase constructor. Must be called immediately after creating a new Capture;
-   */
-  void Initialize();
-
-  /**
    * @brief A reference counted object may only be deleted by calling Unreference()
    */
   virtual ~Capture();
@@ -204,6 +199,14 @@ private:
    */
   bool Save();
 
+  /**
+   * @brief Checks privilege for Capture
+   *
+   * @param[in] privilege The capture privilege
+   * @return True if input is capture privilege, false otherwise
+   */
+  bool CheckPrivilege( const char* privilege ) const;
+
 private:
 
   // Undefined