00001 /* 00002 * Silence 00003 * 00004 * Copyright (C) 2010 Manuel Unglaub 00005 * 00006 * This file is part of Silence. 00007 * 00008 * Silence is free software: you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation, version GPLv2 only of the License. 00011 * 00012 * Silence is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 00017 * You should have received a copy of the GNU General Public License 00018 * along with Silence. If not, see <http://www.gnu.org/licenses/>. 00019 */ 00020 00021 #ifndef ABSTRACTCONTENTVIEW_H 00022 #define ABSTRACTCONTENTVIEW_H 00023 00024 #include <QLayout> 00025 #include <QWidget> 00026 #include "src/data/node/abstractcontentchange.h" 00027 00028 00036 class AbstractContentView : public QWidget 00037 { 00038 public: 00044 virtual bool hasChanged() = 0; 00045 00051 virtual AbstractContentChange* getChange() = 0; 00052 }; 00053 00054 #endif // ABSTRACTCONTENTVIEW_H 00055