1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Massive header cleanup.

The main goal is to avoid including "gmenu2x.h" from headers.
But I did various other cleanups as well while I was at it.
This commit is contained in:
Maarten ter Huurne
2011-10-23 16:13:02 +02:00
parent 33e7f1ef56
commit e0e7e87ebc
24 changed files with 203 additions and 171 deletions
+10 -10
View File
@@ -1,6 +1,6 @@
/***************************************************************************
* Copyright (C) 2006 by Massimiliano Torromeo *
* massimiliano.torromeo@gmail.com *
* Copyright (C) 2006 by Massimiliano Torromeo *
* massimiliano.torromeo@gmail.com *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -18,24 +18,24 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef IMAGEDIALOG_H_
#define IMAGEDIALOG_H_
#ifndef IMAGEDIALOG_H
#define IMAGEDIALOG_H
#include "filedialog.h"
#include "surfacecollection.h"
#include <string>
#include "filedialog.h"
using std::string;
using std::vector;
class ImageDialog : public FileDialog {
protected:
SurfaceCollection previews;
public:
ImageDialog(GMenu2X *gmenu2x, const string &text, const string &filter="", const string &file="");
ImageDialog(GMenu2X *gmenu2x, const std::string &text,
const std::string &filter="", const string &file="");
virtual ~ImageDialog();
virtual void beforeFileList();
virtual void onChangeDir();
};
#endif /*IMAGEDIALOG_H_*/
#endif // IMAGEDIALOG_H