pisd
git-svn-id: svn://db.shs.com.ru/pip@43 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
extern PIScreen screen;
|
||||
|
||||
Daemon::Daemon(): PIPeer("_pisd_" + PISystemInfo::instance()->hostname + "_" + PIString(rand() % 100)) {
|
||||
Daemon::Daemon(): PIPeer("_pisd_" + PISystemInfo::instance()->hostname + "_" + PIString(rand() % 100)), fm(this) {
|
||||
setName("Daemon");
|
||||
timer.setName("__S__Daemon_timer");
|
||||
mode = offset = cur = height = 0;
|
||||
@@ -58,6 +58,7 @@ void Daemon::hideAll() {
|
||||
list_actions->hide();
|
||||
tile_info->hide();
|
||||
list_daemons->hide();
|
||||
tile_fm->hide();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -82,8 +82,8 @@ private:
|
||||
PISystemMonitor sys_mon_other;
|
||||
HostInfo info_my, info_other;
|
||||
FileManager fm;
|
||||
PIScreenTile * tile_root;
|
||||
TileSimple * tile_info, * tile_fm, * tile_header;
|
||||
PIScreenTile * tile_root, * tile_fm;
|
||||
TileSimple * tile_info, * tile_header;
|
||||
TileList * list_daemons, * list_actions;
|
||||
int mode, offset, cur, height;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ class Daemon;
|
||||
class FileManager: public PIObject {
|
||||
PIOBJECT(FileManager)
|
||||
public:
|
||||
FileManager(Daemon * d);
|
||||
FileManager(Daemon * d = 0);
|
||||
|
||||
PIScreenTile * tile() const;
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ _Init _pisd_init;
|
||||
PIScreen screen(false);
|
||||
PISystemMonitor sys_mon;
|
||||
Daemon daemon_;
|
||||
FileManager file_manager(&daemon_);
|
||||
FileManager file_manager;
|
||||
|
||||
|
||||
class MainMenu: public PITimer {
|
||||
|
||||
Reference in New Issue
Block a user