~ubuntu-branches/ubuntu/vivid/blackbox/vivid

« back to all changes in this revision

Viewing changes to src/Netizen.hh

  • Committer: Bazaar Package Importer
  • Author(s): Jesus Climent
  • Date: 2003-10-15 15:38:53 UTC
  • Revision ID: james.westby@ubuntu.com-20031015153853-c08p60n6fes52hs1
Tags: 0.65.0-1.2
* Non Maintainer Upload
* Patch by Matt Kraai to solve FTBFS: Closes: #208814.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// -*- mode: C++; indent-tabs-mode: nil; -*-
1
2
// Netizen.hh for Blackbox - An X11 Window Manager
2
3
// Copyright (c) 2001 Sean 'Shaleh' Perry <shaleh@debian.org>
3
4
// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net)
23
24
#ifndef   __Netizen_hh
24
25
#define   __Netizen_hh
25
26
 
 
27
extern "C" {
26
28
#include <X11/Xlib.h>
 
29
}
27
30
 
28
31
// forward declaration
29
 
class BaseDisplay;
 
32
class Blackbox;
30
33
class BScreen;
31
34
class Netizen;
32
35
 
33
36
class Netizen {
34
37
private:
35
 
  BaseDisplay *basedisplay;
 
38
  Blackbox *blackbox;
36
39
  BScreen *screen;
37
40
  Window window;
38
41
  XEvent event;
39
42
 
40
 
protected:
41
 
 
42
43
public:
43
44
  Netizen(BScreen *, Window);
44
45
 
45
 
  inline const Window &getWindowID(void) const { return window; }
 
46
  inline Window getWindowID(void) const { return window; }
46
47
 
47
48
  void sendWorkspaceCount(void);
48
49
  void sendCurrentWorkspace(void);