[MPlayer-cvslog] r34414 - in trunk/gui: app.c app.h win32/skinload.c win32/skinload.h

ib subversion at mplayerhq.hu
Fri Dec 9 12:42:25 CET 2011


Author: ib
Date: Fri Dec  9 12:42:25 2011
New Revision: 34414

Log:
Remove non-existing GUI user events.

There is no code for this events.

Modified:
   trunk/gui/app.c
   trunk/gui/app.h
   trunk/gui/win32/skinload.c
   trunk/gui/win32/skinload.h

Modified: trunk/gui/app.c
==============================================================================
--- trunk/gui/app.c	Thu Dec  8 20:41:28 2011	(r34413)
+++ trunk/gui/app.c	Fri Dec  9 12:42:25 2011	(r34414)
@@ -74,14 +74,7 @@ static const evName evNames[] = {
     { evPreferences,       "evPreferences"       },
     { evSkinBrowser,       "evSkinBrowser"       },
     { evIconify,           "evIconify"           },
-    { evExit,              "evExit"              },
-    { evIncBalance,        "evIncBalance"        }, // NOTE TO MYSELF: not all of these events
-    { evDecBalance,        "evDecBalance"        }, // are actually implemented, and update doc
-    { evFName,             "evFName"             },
-    { evMovieTime,         "evMovieTime"         },
-    { evIncAudioBufDelay,  "evIncAudioBufDelay"  },
-    { evDecAudioBufDelay,  "evDecAudioBufDelay"  },
-    { evHelp,              "evHelp"              }
+    { evExit,              "evExit"              }
 };
 
 /**

Modified: trunk/gui/app.h
==============================================================================
--- trunk/gui/app.h	Thu Dec  8 20:41:28 2011	(r34413)
+++ trunk/gui/app.h	Fri Dec  9 12:42:25 2011	(r34414)
@@ -73,13 +73,6 @@
 
 // Internal events
 
-#define evIncAudioBufDelay  33   // NOTE TO MYSELF: not all of these events
-#define evDecAudioBufDelay  34   // are actually implemented, and update doc
-#define evIncBalance        35
-#define evDecBalance        36
-
-#define evHelp              37
-
 #define evPlayNetwork       41
 #define evSetAudio          45
 #define evSetVideo          46
@@ -101,8 +94,6 @@
 #define evSubtitleLoaded  5011
 #define evSetVCDTrack     5012
 
-#define evFName           7000
-#define evMovieTime       7001
 #define evRedraw          7002
 #define evHideWindow      7003
 #define evShowWindow      7004

Modified: trunk/gui/win32/skinload.c
==============================================================================
--- trunk/gui/win32/skinload.c	Thu Dec  8 20:41:28 2011	(r34413)
+++ trunk/gui/win32/skinload.c	Fri Dec  9 12:42:25 2011	(r34414)
@@ -85,14 +85,7 @@ static const evName evNames[] =
     {   evPreferences,          "evPreferences"         },
     {   evSkinBrowser,          "evSkinBrowser"         },
     {   evIconify,              "evIconify"             },
-    {   evExit,                 "evExit"                },
-    {   evIncBalance,           "evIncBalance"          },
-    {   evDecBalance,           "evDecBalance"          },
-    {   evFName,                "evFName"               },
-    {   evMovieTime,            "evMovieTime"           },
-    {   evIncAudioBufDelay,     "evIncAudioBufDelay"    },
-    {   evDecAudioBufDelay,     "evDecAudioBufDelay"    },
-    {   evHelp,                 "evHelp"                }
+    {   evExit,                 "evExit"                }
 };
 
 static const int evBoxs = sizeof(evNames) / sizeof(evName);

Modified: trunk/gui/win32/skinload.h
==============================================================================
--- trunk/gui/win32/skinload.h	Thu Dec  8 20:41:28 2011	(r34413)
+++ trunk/gui/win32/skinload.h	Fri Dec  9 12:42:25 2011	(r34414)
@@ -180,13 +180,6 @@ skin_t *loadskin(char *skindir, int desk
 
 // --- Internal events ---
 
-#define evIncAudioBufDelay  33
-#define evDecAudioBufDelay  34
-#define evIncBalance        35
-#define evDecBalance        36
-
-#define evHelp              37
-
 #define evPlayNetwork       41
 #define evSetAudio          45
 #define evSetVideo          46
@@ -208,8 +201,6 @@ skin_t *loadskin(char *skindir, int desk
 #define evSubtitleLoaded  5011
 #define evSetVCDTrack     5012
 
-#define evFName           7000
-#define evMovieTime       7001
 #define evRedraw          7002
 #define evHideWindow      7003
 #define evShowWindow      7004


More information about the MPlayer-cvslog mailing list