New template for autogenerated files

This commit is contained in:
Xavi Artigas 2013-04-30 11:19:04 +02:00
parent cd3cfb3e0d
commit d8c0c43ffb
6 changed files with 24 additions and 36 deletions

View file

@ -20,8 +20,7 @@
C67B40E8172EBEA3008359CC /* MainStoryboard_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C67B40E6172EBEA3008359CC /* MainStoryboard_iPhone.storyboard */; };
C67B40EB172EBEA3008359CC /* MainStoryboard_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C67B40E9172EBEA3008359CC /* MainStoryboard_iPad.storyboard */; };
C67B40EE172EBEA3008359CC /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C67B40ED172EBEA3008359CC /* ViewController.m */; };
C67B40F0172EBEA3008359CC /* gst_ios_backend.c in Sources */ = {isa = PBXBuildFile; fileRef = C67B40EF172EBEA3008359CC /* gst_ios_backend.c */; };
C67B40F3172EBEA3008359CC /* gst_ios_plugins.c in Sources */ = {isa = PBXBuildFile; fileRef = C67B40F2172EBEA3008359CC /* gst_ios_plugins.c */; };
C67B40F0172EBEA3008359CC /* gst_ios_init.c in Sources */ = {isa = PBXBuildFile; fileRef = C67B40EF172EBEA3008359CC /* gst_ios_init.c */; };
C67B40FA172EC27D008359CC /* GStreamerBackend.m in Sources */ = {isa = PBXBuildFile; fileRef = C67B40F9172EC27D008359CC /* GStreamerBackend.m */; };
/* End PBXBuildFile section */
@ -44,10 +43,8 @@
C67B40EA172EBEA3008359CC /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard_iPad.storyboard; sourceTree = "<group>"; };
C67B40EC172EBEA3008359CC /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
C67B40ED172EBEA3008359CC /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
C67B40EF172EBEA3008359CC /* gst_ios_backend.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = gst_ios_backend.c; sourceTree = "<group>"; };
C67B40F1172EBEA3008359CC /* gst_ios_backend.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = gst_ios_backend.h; sourceTree = "<group>"; };
C67B40F2172EBEA3008359CC /* gst_ios_plugins.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = gst_ios_plugins.c; sourceTree = "<group>"; };
C67B40F4172EBEA4008359CC /* gst_ios_plugins.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = gst_ios_plugins.h; sourceTree = "<group>"; };
C67B40EF172EBEA3008359CC /* gst_ios_init.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = gst_ios_init.c; sourceTree = "<group>"; };
C67B40F1172EBEA3008359CC /* gst_ios_init.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = gst_ios_init.h; sourceTree = "<group>"; };
C67B40F8172EC27D008359CC /* GStreamerBackend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GStreamerBackend.h; sourceTree = "<group>"; };
C67B40F9172EC27D008359CC /* GStreamerBackend.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GStreamerBackend.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -121,10 +118,8 @@
C67B40E0172EBEA3008359CC /* Default.png */,
C67B40E2172EBEA3008359CC /* Default@2x.png */,
C67B40E4172EBEA3008359CC /* Default-568h@2x.png */,
C67B40EF172EBEA3008359CC /* gst_ios_backend.c */,
C67B40F1172EBEA3008359CC /* gst_ios_backend.h */,
C67B40F2172EBEA3008359CC /* gst_ios_plugins.c */,
C67B40F4172EBEA4008359CC /* gst_ios_plugins.h */,
C67B40EF172EBEA3008359CC /* gst_ios_init.c */,
C67B40F1172EBEA3008359CC /* gst_ios_init.h */,
);
name = "Supporting Files";
sourceTree = "<group>";
@ -198,8 +193,7 @@
C67B40DB172EBEA3008359CC /* main.m in Sources */,
C67B40DF172EBEA3008359CC /* AppDelegate.m in Sources */,
C67B40EE172EBEA3008359CC /* ViewController.m in Sources */,
C67B40F0172EBEA3008359CC /* gst_ios_backend.c in Sources */,
C67B40F3172EBEA3008359CC /* gst_ios_plugins.c in Sources */,
C67B40F0172EBEA3008359CC /* gst_ios_init.c in Sources */,
C67B40FA172EC27D008359CC /* GStreamerBackend.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
@ -397,6 +391,7 @@
C67B40F6172EBEA4008359CC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};

View file

@ -1,9 +0,0 @@
#include "gst_ios_backend.h"
#include "gst_ios_plugins.h"
void
gst_backend_init (void)
{
gst_init (NULL, NULL);
gst_backend_register_plugins ();
}

View file

@ -1,8 +0,0 @@
#ifndef __GST_IOS_BACKEND_H__
#define __GST_IOS_BACKEND_H__
#include <gst/gst.h>
void gst_backend_init ();
#endif

View file

@ -1,7 +1,4 @@
#include <gst/gst.h>
#include "gst_ios_plugins.h"
#include "gst_ios_init.h"
#if defined(GST_IOS_PLUGIN_COREELEMENTS) || defined(GST_IOS_PLUGINS_CORE)
GST_PLUGIN_STATIC_DECLARE(coreelements);
@ -497,8 +494,10 @@ GST_PLUGIN_STATIC_DECLARE(sdp);
#endif
void
gst_backend_register_plugins (void)
gst_backend_init (void)
{
gst_init (NULL, NULL);
#if defined(GST_IOS_PLUGIN_COREELEMENTS) || defined(GST_IOS_PLUGINS_CORE)
GST_PLUGIN_STATIC_REGISTER(coreelements);
#endif

View file

@ -1,3 +1,11 @@
#ifndef __GST_IOS_INIT_H__
#define __GST_IOS_INIT_H__
#include <gst/gst.h>
/* Uncomment each line to enable the plugin categories that your application needs.
* You can also enable individual plugins. See gst_ios_init.c to see their names
*/
#define GST_IOS_PLUGINS_CORE
//#define GST_IOS_PLUGINS_CAPTURE
//#define GST_IOS_PLUGINS_CODECS_RESTRICTED
@ -11,4 +19,7 @@
//#define GST_IOS_PLUGINS_EFFECTS
//#define GST_IOS_PLUGINS_CODECS
//#define GST_IOS_PLUGINS_NET
void gst_backend_register_plugins (void);
void gst_backend_init ();
#endif

View file

@ -1,7 +1,7 @@
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#include "gst_ios_backend.h"
#include "gst_ios_init.h"
int main(int argc, char *argv[])
{