aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Main.hxx (renamed from src/main.h)16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main.h b/src/Main.hxx
index 2a7d75910..6ce079434 100644
--- a/src/main.h
+++ b/src/Main.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2012 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -17,18 +17,18 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MAIN_H
-#define MAIN_H
+#ifndef MPD_MAIN_HXX
+#define MPD_MAIN_HXX
#include <glib.h>
-extern GThread *main_task;
+class EventLoop;
-extern GMainLoop *main_loop;
+extern GThread *main_task;
-extern GCond *main_cond;
+extern EventLoop *main_loop;
-extern struct player_control *global_player_control;
+extern struct Partition *global_partition;
/**
* A entry point for application.
@@ -52,7 +52,7 @@ win32_main(int argc, char *argv[]);
* When running as a service reports to service control manager
* that our service is started.
* When running as a console application enables console handler that will
- * trigger PIPE_EVENT_SHUTDOWN when user closes console window
+ * trigger GlobalEvents::SHUTDOWN when user closes console window
* or presses Ctrl+C.
* This function should be called just before entering main loop.
*/