Advertisement
rotrevrep

Untitled

Dec 25th, 2015
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.69 KB | None | 0 0
  1. /* main.c generated by valac UNKNOWN, the Vala compiler
  2.  * generated from main.vala, do not modify */
  3.  
  4.  
  5. #include <glib.h>
  6. #include <glib-object.h>
  7. #include <gst/player/player.h>
  8. #include <gst/player/gstplayer-types.h>
  9. #include <stdlib.h>
  10. #include <string.h>
  11.  
  12.  
  13. #define TYPE_PLAYER_LIST (player_list_get_type ())
  14. #define PLAYER_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PLAYER_LIST, PlayerList))
  15. #define PLAYER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PLAYER_LIST, PlayerListClass))
  16. #define IS_PLAYER_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PLAYER_LIST))
  17. #define IS_PLAYER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PLAYER_LIST))
  18. #define PLAYER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PLAYER_LIST, PlayerListClass))
  19.  
  20. typedef struct _PlayerList PlayerList;
  21. typedef struct _PlayerListClass PlayerListClass;
  22. typedef struct _PlayerListPrivate PlayerListPrivate;
  23.  
  24. struct _PlayerList {
  25.     GstPlayer parent_instance;
  26.     PlayerListPrivate * priv;
  27. };
  28.  
  29. struct _PlayerListClass {
  30.     GstPlayerClass parent_class;
  31. };
  32.  
  33.  
  34. static gpointer player_list_parent_class = NULL;
  35.  
  36. GType player_list_get_type (void) G_GNUC_CONST;
  37. enum  {
  38.     PLAYER_LIST_DUMMY_PROPERTY
  39. };
  40. PlayerList* player_list_new (void);
  41. PlayerList* player_list_construct (GType object_type);
  42. void _vala_main (gchar** args, int args_length1);
  43.  
  44.  
  45. PlayerList* player_list_construct (GType object_type) {
  46.     PlayerList * self = NULL;
  47.     self = (PlayerList*) g_object_new (object_type, NULL);
  48.     return self;
  49. }
  50.  
  51.  
  52. PlayerList* player_list_new (void) {
  53.     return player_list_construct (TYPE_PLAYER_LIST);
  54. }
  55.  
  56.  
  57. static void player_list_class_init (PlayerListClass * klass) {
  58.     player_list_parent_class = g_type_class_peek_parent (klass);
  59. }
  60.  
  61.  
  62. static void player_list_instance_init (PlayerList * self) {
  63. }
  64.  
  65.  
  66. GType player_list_get_type (void) {
  67.     static volatile gsize player_list_type_id__volatile = 0;
  68.     if (g_once_init_enter (&player_list_type_id__volatile)) {
  69.         static const GTypeInfo g_define_type_info = { sizeof (PlayerListClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) player_list_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PlayerList), 0, (GInstanceInitFunc) player_list_instance_init, NULL };
  70.         GType player_list_type_id;
  71.         player_list_type_id = g_type_register_static (gst_player_get_type (), "PlayerList", &g_define_type_info, 0);
  72.         g_once_init_leave (&player_list_type_id__volatile, player_list_type_id);
  73.     }
  74.     return player_list_type_id__volatile;
  75. }
  76.  
  77.  
  78. void _vala_main (gchar** args, int args_length1) {
  79. }
  80.  
  81.  
  82. int main (int argc, char ** argv) {
  83. #if !GLIB_CHECK_VERSION (2,35,0)
  84.     g_type_init ();
  85. #endif
  86.     _vala_main (argv, argc);
  87.     return 0;
  88. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement