File: Desktop.H

package info (click to toggle)
flwm 1.02+git2015.10.03+7dbb30-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 444 kB
  • ctags: 500
  • sloc: cpp: 4,958; makefile: 183; sh: 179; tcl: 56
file content (22 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Desktop.H

class Desktop {
  const char* name_;
  int number_;
  static Desktop* current_;
public:
  static Desktop* first;
  Desktop* next;
  const char* name() const {return name_;}
  void name(const char*);
  int number() const {return number_;}
  static Desktop* current() {return current_;}
  static Desktop* number(int, int create = 0);
  static void current(Desktop*);
  static int available_number();
  static int max_number();
  Desktop(const char*, int);
  ~Desktop();
  int junk; // for temporary storage by menu builder
};