From 1ef70a4c8c2bb9fd70d5bc73614b09177b6b970c Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 2 Jan 2017 00:19:01 +0100 Subject: Foldercontroller --- framework/domain/foldercontroller.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 framework/domain/foldercontroller.h (limited to 'framework/domain/foldercontroller.h') diff --git a/framework/domain/foldercontroller.h b/framework/domain/foldercontroller.h new file mode 100644 index 00000000..24d6929c --- /dev/null +++ b/framework/domain/foldercontroller.h @@ -0,0 +1,33 @@ +/* + Copyright (c) 2016 Christian Mollekopf + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public + License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. +*/ +#pragma once + +#include +#include "controller.h" +#include "sink/applicationdomaintype.h" + +class FolderController : public Kube::Controller +{ + Q_OBJECT + KUBE_CONTROLLER_PROPERTY(Sink::ApplicationDomain::Folder::Ptr, Folder, folder) + KUBE_CONTROLLER_ACTION(synchronize) + +public: + explicit FolderController(); +}; -- cgit v1.2.3