pda_callbacks.h
上传用户:riyaled888
上传日期:2009-03-27
资源大小:7338k
文件大小:6k
源码类别:

多媒体

开发平台:

MultiPlatform

  1. /*****************************************************************************
  2.  * callbacks.h : pda plugin for vlc
  3.  *****************************************************************************
  4.  * Copyright (C) 2003 VideoLAN
  5.  * $Id: pda_callbacks.h 6961 2004-03-05 17:34:23Z sam $
  6.  *
  7.  * Authors: Jean-Paul Saman <jpsaman@wxs.nl>
  8.  *
  9.  * This program is free software; you can redistribute it and/or modify
  10.  * it under the terms of the GNU General Public License as published by
  11.  * the Free Software Foundation; either version 2 of the License, or
  12.  * (at your option) any later version.
  13.  *
  14.  * This program is distributed in the hope that it will be useful,
  15.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17.  * GNU General Public License for more details.
  18.  *
  19.  * You should have received a copy of the GNU General Public License
  20.  * along with this program; if not, write to the Free Software
  21.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  22.  *****************************************************************************/
  23. #include <gtk/gtk.h>
  24. #include <vlc/vlc.h>
  25. #include <vlc/intf.h>
  26. void ReadDirectory( intf_thread_t *p_intf, GtkListStore *p_list, char *psz_dir );
  27. void PlaylistRebuildListStore( GtkListStore *p_list, playlist_t * p_playlist );
  28. gboolean
  29. onPDADeleteEvent                       (GtkWidget       *widget,
  30.                                         GdkEvent        *event,
  31.                                         gpointer         user_data);
  32. void
  33. onRewind                               (GtkButton       *button,
  34.                                         gpointer         user_data);
  35. void
  36. onPause                                (GtkButton       *button,
  37.                                         gpointer         user_data);
  38. void
  39. onPlay                                 (GtkButton       *button,
  40.                                         gpointer         user_data);
  41. void
  42. onStop                                 (GtkButton       *button,
  43.                                         gpointer         user_data);
  44. void
  45. onForward                              (GtkButton       *button,
  46.                                         gpointer         user_data);
  47. void
  48. onAbout                                (GtkButton       *button,
  49.                                         gpointer         user_data);
  50. gboolean
  51. SliderRelease                          (GtkWidget       *widget,
  52.                                         GdkEventButton  *event,
  53.                                         gpointer         user_data);
  54. gboolean
  55. SliderPress                            (GtkWidget       *widget,
  56.                                         GdkEventButton  *event,
  57.                                         gpointer         user_data);
  58. void
  59. onFileListRow                          (GtkTreeView     *treeview,
  60.                                         GtkTreePath     *path,
  61.                                         GtkTreeViewColumn *column,
  62.                                         gpointer         user_data);
  63. void
  64. onAddFileToPlaylist                    (GtkButton       *button,
  65.                                         gpointer         user_data);
  66. void
  67. onAddNetworkPlaylist                   (GtkButton       *button,
  68.                                         gpointer         user_data);
  69. void
  70. onAddCameraToPlaylist                  (GtkButton       *button,
  71.                                         gpointer         user_data);
  72. gboolean
  73. PlaylistEvent                          (GtkWidget       *widget,
  74.                                         GdkEvent        *event,
  75.                                         gpointer         user_data);
  76. void
  77. onPlaylistColumnsChanged               (GtkTreeView     *treeview,
  78.                                         gpointer         user_data);
  79. gboolean
  80. onPlaylistRowSelected                  (GtkTreeView     *treeview,
  81.                                         gboolean         start_editing,
  82.                                         gpointer         user_data);
  83. void
  84. onPlaylistRow                          (GtkTreeView     *treeview,
  85.                                         GtkTreePath     *path,
  86.                                         GtkTreeViewColumn *column,
  87.                                         gpointer         user_data);
  88. void
  89. onUpdatePlaylist                       (GtkButton       *button,
  90.                                         gpointer         user_data);
  91. void
  92. onDeletePlaylist                       (GtkButton       *button,
  93.                                         gpointer         user_data);
  94. void
  95. onClearPlaylist                        (GtkButton       *button,
  96.                                         gpointer         user_data);
  97. void
  98. onPreferenceSave                       (GtkButton       *button,
  99.                                         gpointer         user_data);
  100. void
  101. onPreferenceApply                      (GtkButton       *button,
  102.                                         gpointer         user_data);
  103. void
  104. onPreferenceCancel                     (GtkButton       *button,
  105.                                         gpointer         user_data);
  106. void
  107. NetworkBuildMRL                        (GtkEditable     *editable,
  108.                                         gpointer         user_data);
  109. void
  110. onAddTranscodeToPlaylist               (GtkButton       *button,
  111.                                         gpointer         user_data);
  112. void
  113. onEntryStdAccessChanged                (GtkEditable     *editable,
  114.                                         gpointer         user_data);
  115. void
  116. SliderMove                             (GtkRange        *range,
  117.                                         GtkScrollType    scroll,
  118.                                         gpointer         user_data);