Skip to content

Commit

Permalink
frameworks support
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Puchka committed Aug 24, 2015
1 parent e389b02 commit 9bc0014
Show file tree
Hide file tree
Showing 6 changed files with 498 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/runtime/Framework/Bootstrap.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Protocol Buffers for Objective C
//
// Copyright 2010 Booyah Inc.
// Copyright 2008 Cyrus Najmabadi
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#import <ProtocolBuffers/ForwardDeclarations.h>

#import <ProtocolBuffers/CodedInputStream.h>
#import <ProtocolBuffers/CodedOutputStream.h>
#import <ProtocolBuffers/ExtendableMessage.h>
#import <ProtocolBuffers/ExtendableMessageBuilder.h>
#import <ProtocolBuffers/ExtensionRegistry.h>
#import <ProtocolBuffers/GeneratedMessage.h>
#import <ProtocolBuffers/GeneratedMessageBuilder.h>
#import <ProtocolBuffers/MessageBuilder.h>
#import <ProtocolBuffers/UnknownFieldSet.h>
#import <ProtocolBuffers/UnknownFieldSetBuilder.h>
#import <ProtocolBuffers/Utilities.h>

26 changes: 26 additions & 0 deletions src/runtime/Framework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.wire.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
43 changes: 43 additions & 0 deletions src/runtime/Framework/ProtocolBuffers.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
//
// ProtocolBuffers.framework.h
// ProtocolBuffers.framework
//
// Created by Ilya Puchka on 24/08/15.
//
//

#import <Foundation/Foundation.h>

//! Project version number for ProtocolBuffers.framework.
FOUNDATION_EXPORT double ProtocolBuffers_frameworkVersionNumber;

//! Project version string for ProtocolBuffers.framework.
FOUNDATION_EXPORT const unsigned char ProtocolBuffers_frameworkVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <ProtocolBuffers_framework/PublicHeader.h>

#import <ProtocolBuffers/Bootstrap.h>
#import <ProtocolBuffers/AbstractMessage.h>
#import <ProtocolBuffers/AbstractMessageBuilder.h>
#import <ProtocolBuffers/CodedInputStream.h>
#import <ProtocolBuffers/CodedOutputStream.h>
#import <ProtocolBuffers/ConcreteExtensionField.h>
#import <ProtocolBuffers/ExtendableMessage.h>
#import <ProtocolBuffers/ExtendableMessageBuilder.h>
#import <ProtocolBuffers/ExtensionField.h>
#import <ProtocolBuffers/ExtensionRegistry.h>
#import <ProtocolBuffers/Field.h>
#import <ProtocolBuffers/GeneratedMessage.h>
#import <ProtocolBuffers/GeneratedMessageBuilder.h>
#import <ProtocolBuffers/Message.h>
#import <ProtocolBuffers/MessageBuilder.h>
#import <ProtocolBuffers/MutableExtensionRegistry.h>
#import <ProtocolBuffers/MutableField.h>
#import <ProtocolBuffers/PBArray.h>
#import <ProtocolBuffers/UnknownFieldSet.h>
#import <ProtocolBuffers/UnknownFieldSetBuilder.h>
#import <ProtocolBuffers/Utilities.h>
#import <ProtocolBuffers/WireFormat.h>
#import <ProtocolBuffers/Descriptor.pb.h>
#import <ProtocolBuffers/ObjectivecDescriptor.pb.h>

8 changes: 8 additions & 0 deletions src/runtime/Framework/ProtocolBuffers_Prefix.pch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// Prefix header for all source files of the 'CocoaTouchStaticLibrary' target in the 'CocoaTouchStaticLibrary' project.
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <ProtocolBuffers/Bootstrap.h>
#endif
Loading

0 comments on commit 9bc0014

Please sign in to comment.