| Line | |
|---|
| 1 | // Globals.h: Global variables
|
|---|
| 2 | // We use a class to hold these global values
|
|---|
| 3 | // in order not to pollute the global namespace
|
|---|
| 4 | //
|
|---|
| 5 | //////////////////////////////////////////////////////////////////////
|
|---|
| 6 |
|
|---|
| 7 | #if !defined(GLOBALS_INCLUDED)
|
|---|
| 8 | #define GLOBALS_INCLUDED
|
|---|
| 9 |
|
|---|
| 10 | class Globals
|
|---|
| 11 | {
|
|---|
| 12 | public:
|
|---|
| 13 | enum {CAMERA_PIXELS = 577};
|
|---|
| 14 |
|
|---|
| 15 | private:
|
|---|
| 16 | Globals(); // prevent inadvertent instantiation
|
|---|
| 17 |
|
|---|
| 18 | };
|
|---|
| 19 |
|
|---|
| 20 | #endif // !defined(GLOBALS_INCLUDED)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.