load file from arg
[uwplayer.git] / application / window.h
index d3e8623..82623e7 100644 (file)
@@ -40,7 +40,7 @@ typedef struct Player {
     int status;
     bool isactive;
     bool isstarted;
-    
+    Window window;
     double playback_time;
     int width;
     int height;
@@ -66,8 +66,12 @@ void WindowFullscreen(MainWindow *win, bool enableFullscreen);
 
 void WindowMenubarSetVisible(MainWindow *win, bool visible);
 
+void WindowSetFile(MainWindow *win, char *file);
+
 void WindowAdjustAspectRatio(MainWindow *win);
 
+void WindowClosePlayer(MainWindow *win);
+
 #ifdef __cplusplus
 }
 #endif