Root/src/menusettingimage.h

Source at commit 00d3c3b57008bddf8770c51271db9d766acaf854 created 7 years 5 months ago.
By Maarten ter Huurne, Gave Layer class a protected constructor
1/***************************************************************************
2 * Copyright (C) 2006 by Massimiliano Torromeo *
3 * massimiliano.torromeo@gmail.com *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
20#ifndef MENUSETTINGIMAGE_H
21#define MENUSETTINGIMAGE_H
22
23#include "menusettingfile.h"
24
25class MenuSettingImage : public MenuSettingFile {
26protected:
27    virtual void edit();
28
29public:
30    MenuSettingImage(GMenu2X& gmenu2x,
31            const std::string &name, const std::string &description,
32            std::string *value, const std::string &filter = "");
33    virtual ~MenuSettingImage() {}
34
35    virtual void setValue(const std::string &value);
36};
37
38#endif
39

Archive Download this file



interactive