~ubuntu-branches/debian/squeeze/smplayer/squeeze

« back to all changes in this revision

Viewing changes to src/csmanager.h

  • Committer: Bazaar Package Importer
  • Author(s): Breuil Cyril
  • Date: 2007-06-24 16:35:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070624163529-hhckbmd24uicada7
Tags: 0.5.20-0ubuntu1
* New upstream release
* Change Maintainer Email

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#include <qobject.h>
26
26
#include <qstring.h>
 
27
#include <qstringlist.h>
27
28
 
28
29
class MyServer;
29
30
class MyClient;
38
39
        enum StartingCode { ServerStarted = 0, UnknownServerFound = 1,
39
40
                        ServerDoesNotRespond = 2 };
40
41
 
41
 
        CSManager( int port, QString file_to_open = "",
 
42
        CSManager( int port, QStringList files_to_open,
42
43
               QObject * parent = 0, const char * name = 0 );
43
44
        ~CSManager();
44
45
 
 
46
        void setActionsList(QStringList l) { actions_list = l; };
 
47
        QStringList actionsList() { return actions_list; };
 
48
 
45
49
signals:
46
50
        void requestOpen(QString);
 
51
        void requestOpenFiles(QStringList);
47
52
        void requestFunction(QString);
48
53
 
49
54
        // The GUI should continue start up (show, and open initial file)
74
79
        MyServer * server;
75
80
        MyClient * client;
76
81
        int _port;
77
 
        QString _file_to_open;
 
82
        QStringList _files_to_open;
 
83
 
 
84
private:
 
85
        QStringList actions_list;
78
86
};
79
87
 
80
88
#endif