summaryrefslogtreecommitdiffstats
path: root/src/codeine.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-06-13 22:45:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-06-13 22:45:28 +0900
commit5f44f7b187093ef290315b7f8766b540a31de35f (patch)
tree27ffb7b218199ca04f240c390c52426c65f45dce /src/codeine.h
downloadcodeine-5f44f7b187093ef290315b7f8766b540a31de35f.tar.gz
codeine-5f44f7b187093ef290315b7f8766b540a31de35f.zip
Initial code import from debian snapshot
https://snapshot.debian.org/package/codeine/1.0.1-3.dfsg-3.1/ Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/codeine.h')
-rw-r--r--src/codeine.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/codeine.h b/src/codeine.h
new file mode 100644
index 0000000..24e0659
--- /dev/null
+++ b/src/codeine.h
@@ -0,0 +1,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 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