summaryrefslogtreecommitdiffstats
path: root/src/codeine.h
blob: 8280b6a327569a52367664ced0ecd3fd36c1a6db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// (C) 2005 Max Howell (max.howell@methylblue.com)
// See COPYING file for licensing information

#ifndef CODEINE_H
#define CODEINE_H

// try to keep this file light. It gets included by
// practically every implementation and many headers

namespace Engine
{
   enum State
   {
      Uninitialised = 0,
      Empty = 1,
      Loaded = 2,
      Playing = 4,
      Paused = 8,
      TrackEnded = 16
   };
}

class TQWidget;

namespace Analyzer
{
   static const int SCOPE_SIZE_EXP = 9;
   static const int SCOPE_SIZE = 1 << SCOPE_SIZE_EXP;
}

namespace Codeine
{
   TQWidget *mainWindow(); //defined in mainWindow.cpp
}

/// used by mainWindow.h and xineEngine.h
int main( int, char** );

#define APP_VERSION "1.0.1"
#define APP_NAME "codeine"
#define PRETTY_NAME "Codeine"

#endif