Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
119 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef __XCBJS__ | ||
#define __XCBJS__ | ||
|
||
namespace XCBJS { | ||
|
||
class XCBJS : public ObjectWrap { | ||
public: | ||
static void Init(Handle<Object> target); | ||
static Handle<Value> New(const Arguments& args); | ||
static Handle<Value> getSetup(const Arguments& args); | ||
static Handle<Value> getScreen(const Arguments& args); | ||
static Handle<Value> flush(const Arguments& args); | ||
static Handle<Value> generateId(const Arguments& args); | ||
static Handle<Value> createGC(const Arguments& args); | ||
static Handle<Value> manageWindows(const Arguments& args); | ||
static Handle<Value> getRoot(const Arguments& args); | ||
static Handle<Value> help(const Arguments& args); | ||
static Handle<Value> surfaceTest(const Arguments& args); | ||
private: | ||
xcb_connection_t * connection; | ||
}; | ||
|
||
}; | ||
|
||
#endif |