handle playback-time messages
[uwplayer.git] / application / window.h
index 0ac5cc7..c90dfe5 100644 (file)
@@ -21,8 +21,8 @@
  */
 
 
-#ifndef WINDOW_H
-#define WINDOW_H
+#ifndef UWP_WINDOW_H
+#define UWP_WINDOW_H
 
 #include <Xm/XmAll.h>
 #include <stdbool.h>
@@ -33,9 +33,13 @@ extern "C" {
 #endif
 
 typedef struct Player {
+    char *tmp;
     pid_t process;
-    int in;
-    int out;
+    int log;
+    int ipc;
+    bool isactive;
+    
+    double playback_time;
 } Player;
     
 typedef struct MainWindow {
@@ -60,5 +64,5 @@ void WindowMenubarSetVisible(MainWindow *win, bool visible);
 }
 #endif
 
-#endif /* WINDOW_H */
+#endif /* UWP_WINDOW_H */