* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#ifndef _RECENTS_H_
-#define _RECENTS_H_
+#ifndef QVLC_RECENTS_H_
+#define QVLC_RECENTS_H_
#include "qt4.hpp"
{
Q_OBJECT
-signals:
- void updated();
-
public:
static RecentsMRL* getInstance( intf_thread_t* p_intf )
{
}
static void killInstance()
{
- if( instance ) delete instance;
+ delete instance;
instance = NULL;
}
- virtual ~RecentsMRL();
void addRecent( const QString & );
- QList<QString> recents();
+ QList<QString> recents();
QSignalMapper *signalMapper;
private:
RecentsMRL( intf_thread_t* _p_intf );
+ virtual ~RecentsMRL();
+
+ static RecentsMRL *instance;
+
void load();
void save();
- static RecentsMRL *instance;
intf_thread_t* p_intf;
QList<QString> *stack;
bool isActive;