* See the License for the specific language governing permissions and
* limitations under the License.
*/
-/**
- * @author Zbigniew Kostrzewa (z.kostrzewa@samsung.com)
+/*
+ * @author Grzegorz Krawczyk (g.krawczyk@samsung.com)
+ * @version 0.1
+ * @brief
*/
-#ifndef WRTDEVICEAPIS_FILESYSTEM_MOVECOMMAND_H_
-#define WRTDEVICEAPIS_FILESYSTEM_MOVECOMMAND_H_
+#ifndef WRT_PLUGINS_CAMERA_MANAGER_H_
+#define WRT_PLUGINS_CAMERA_MANAGER_H_
+
+#include <dpl/mutex.h>
-#include "Command.h"
-#include <Filesystem/IPath.h>
+#include <API/Camera/ICameraManager.h>
+#include <API/Camera/EventGetCameras.h>
namespace WrtDeviceApis {
-namespace Filesystem {
+namespace Camera {
-class MoveCommand : public Command
+class CameraManager : public Api::ICameraManager
{
- public:
- MoveCommand(const Api::IPathPtr& src,
- const Api::IPathPtr& dest);
- void setForce(bool force);
+protected:
+ virtual void OnRequestReceived(
+ const Api::EventGetCamerasPtr &event);
- protected:
- std::string prepare();
-
- private:
- Api::IPathPtr m_src;
- Api::IPathPtr m_dest;
- bool m_force;
+private:
+ DPL::Mutex m_accessMutex;
};
}
}
-
-#endif // WRTDEVICEAPIS_FILESYSTEM_MOVECOMMAND_H_
+#endif /* */