summaryrefslogtreecommitdiffstats
path: root/src/codeine.h
blob: 24e06596e829b53ba00cf7be5294fe0760328286 (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 ([email protected])
// 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 QWidget;

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

namespace Codeine
{
   QWidget *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