diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-01-02 22:00:00 +0100 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-01-02 22:00:00 +0100 |
commit | 4bf0ccf56eeacbeaf743f565d887c5dd8a647a41 (patch) | |
tree | db90db041fa9975f83199354fcd2dbc3ae886c9f /lib | |
parent | c568a5905a6779d0f8dbb31c03ca554c0dc3d66a (diff) |
[libUPnP][platinum] update to 1.2.0
Diffstat (limited to 'lib')
311 files changed, 2265 insertions, 46116 deletions
diff --git a/lib/libUPnP/Platinum/Build/Boot.scons b/lib/libUPnP/Platinum/Build/Boot.scons index 788a1cbc8f..9b15737da7 100644 --- a/lib/libUPnP/Platinum/Build/Boot.scons +++ b/lib/libUPnP/Platinum/Build/Boot.scons @@ -1,5 +1,6 @@ import sys import os +import platform EnsureSConsVersion(0,98,1) @@ -8,29 +9,46 @@ EnsureSConsVersion(0,98,1) ####################################################### # Platform to Target Map (specifies which default target to build on a platform) -PLATFORM_TO_TARGET_MAP = { - 'linux-i386' : 'x86-unknown-linux', - 'linux2' : 'x86-unknown-linux', - 'win32' : 'x86-microsoft-win32', - 'cygwin' : 'x86-unknown-cygwin', - 'darwin' : 'universal-apple-macosx' +PLATFORM_TO_TARGET_MAP = { + 'linux-i386' : 'x86-unknown-linux', + 'linux-x86_64': 'x86_64-unknown-linux', + 'linux-arm' : 'arm-unknown-linux', + 'linux2' : 'x86-unknown-linux', + 'win32' : 'x86-microsoft-win32', + 'cygwin' : 'x86-unknown-cygwin', + 'darwin' : 'universal-apple-macosx' } - -CROSS_PLATFORMS = ['ppu-sony-ps3', 'arm-unknown-linux', 'arm-gp2x-linux', 'arm-android-linux'] -SPECIAL_PLATFORMS = ['universal-apple-macosx-xcode'] - + +# list all target dirs +scons_root = Environment().GetBuildPath('#') +targets_dir = scons_root+'/Build/Targets' +targets_dirs = os.listdir(targets_dir) +TARGET_PLATFORMS = [x for x in targets_dirs if os.path.exists(targets_dir +'/'+x+'/Config.scons')] + def DefaultTarget(): - if PLATFORM_TO_TARGET_MAP.has_key(sys.platform): - return PLATFORM_TO_TARGET_MAP[sys.platform] + platform_id = sys.platform + if platform.system() == 'Linux': + if (platform.machine() == 'i386' or + platform.machine() == 'i486' or + platform.machine() == 'i586'or + platform.machine() == 'i686'): + platform_id = 'linux-i386' + if (platform.machine() == 'x86_64'): + platform_id = 'linux-x86_64' + if (platform.machine().startswith('arm')): + platform_id = 'linux-arm' + + if PLATFORM_TO_TARGET_MAP.has_key(platform_id): + return PLATFORM_TO_TARGET_MAP[platform_id] else: - return None - + return None + ####################################################### # Main Build ####################################################### options = Variables() options.AddVariables( - EnumVariable('target', 'build target', DefaultTarget(), allowed_values=PLATFORM_TO_TARGET_MAP.values()+CROSS_PLATFORMS+SPECIAL_PLATFORMS), + EnumVariable('target', 'Build Target', DefaultTarget(), allowed_values=TARGET_PLATFORMS), BoolVariable('stop_on_warning', 'Stop the build on warnings', False), ListVariable('build_config', 'build configurations', 'Debug', names=['Debug', 'Release']) ) @@ -38,40 +56,16 @@ options.AddVariables( env = Environment(variables=options) Help(options.GenerateHelpText(env)) -if 'CXX' in os.environ: - env['CXX'] = os.environ['CXX'] -if 'CC' in os.environ: - env['CC'] = os.environ['CC'] - -if not hasattr(env, 'Clone'): env.Clone = env.Copy ## old scons compatibility -base_env = env - -### special build for x86-microsoft-win32 -if env['target'] == 'x86-microsoft-win32': - import subprocess - for build_config in env['build_config']: - env = base_env.Clone() - env['build_config'] = build_config - print '********** Configuring Build Target =', env['target'], '/', build_config, '********' - retVal = subprocess.call(["python", "Build.py", "-r", "-s", "Platinum.sln", "-b", build_config], cwd=env.GetBuildPath('#/Build/Targets/x86-microsoft-win32-vs2005/')) - if (retVal != 0): - sys.exit(retVal) +if 'NPT_CONFIG_NO_SSL' in os.environ: + env['NPT_CONFIG_NO_SSL'] = os.environ['NPT_CONFIG_NO_SSL'] +if 'NPT_CONFIG_NO_ZIP' in os.environ: + env['NPT_CONFIG_NO_ZIP'] = os.environ['NPT_CONFIG_NO_ZIP'] +if 'NPT_CONFIG_NO_CRYPTO' in os.environ: + env['NPT_CONFIG_NO_CRYPTO'] = os.environ['NPT_CONFIG_NO_CRYPTO'] -### special build for universal-apple-macosx-xcode -elif env['target'] == 'universal-apple-macosx-xcode': - import subprocess - for build_config in env['build_config']: - env = base_env.Clone() - env['build_config'] = build_config - print '********** Configuring Build Target =', env['target'], '/', build_config, '********' - retVal = subprocess.call(["python", "../../Tools/Scripts/XCodeMake.py", "-p", "Platinum.xcodeproj", "-t", "All", "-s", "macosx", "-b", build_config], cwd=env.GetBuildPath('#/Build/Targets/universal-apple-macosx/')) - if (retVal != 0): - sys.exit(retVal) - -else: -### call the actual build script for each build config - for build_config in env['build_config']: - env = base_env.Clone() - env['build_config'] = build_config - print '********** Configuring Build Target =', env['target'], '/', build_config, '********' - SConscript('Build.scons', variant_dir='Targets/'+env['target']+'/'+build_config, exports='env', duplicate=0) +base_env = env +for build_config in env['build_config']: + env = base_env.Clone() + env['build_config'] = build_config + print '********** Configuring Build Target =', env['target'], '/', build_config, '********' + SConscript('Build.scons', variant_dir='Targets/'+env['target']+'/'+build_config, exports='env', duplicate=0) diff --git a/lib/libUPnP/Platinum/Build/Build.scons b/lib/libUPnP/Platinum/Build/Build.scons index 5d68814c51..ab9a95d35b 100644 --- a/lib/libUPnP/Platinum/Build/Build.scons +++ b/lib/libUPnP/Platinum/Build/Build.scons @@ -191,39 +191,50 @@ if os.path.exists(target_config_file): # module's implementation only. ####################################################### # Neptune -NPT_SOURCE_ROOT = '../Neptune' - -LibraryModule(name = 'Zlib', - source_root = NPT_SOURCE_ROOT, - build_source_dirs = ['ThirdParty/zlib-1.2.3']) - -LibraryModule(name = 'axTLS', - source_root = NPT_SOURCE_ROOT, - build_source_dirs = ['ThirdParty/axTLS/crypto', 'ThirdParty/axTLS/ssl', 'ThirdParty/axTLS/config/Generic']) +NPT_SOURCE_ROOT = 'ThirdParty/Neptune' extra_cpp_flags = [] +neptune_extra_linked_modules = [] if not env.has_key('NPT_CONFIG_NO_ZIP'): extra_cpp_flags = ['NPT_CONFIG_ENABLE_ZIP'] + neptune_extra_linked_modules += ['Zlib'] + + LibraryModule(name = 'Zlib', + source_root = NPT_SOURCE_ROOT, + build_source_dirs = ['ThirdParty/zlib-1.2.3']) if not env.has_key('NPT_CONFIG_NO_SSL'): extra_cpp_flags += ['NPT_CONFIG_ENABLE_TLS'] tls_data_dirs = ['Data/TLS'] tls_tests = ['Tls1'] + neptune_extra_linked_modules += ['axTLS'] + + LibraryModule(name = 'axTLS', + source_root = NPT_SOURCE_ROOT, + build_source_dirs = ['ThirdParty/axTLS/crypto', 'ThirdParty/axTLS/ssl', 'ThirdParty/axTLS/config/Generic']) else: tls_data_dirs = [] tls_tests = [] +if not env.has_key('NPT_CONFIG_NO_CRYPTO'): + extra_cpp_flags += ['NPT_CONFIG_ENABLE_CRYPTO'] + neptune_excluded_files = [] +else: + neptune_excluded_files = ['NptCrypto.cpp', 'NptDigest.cpp'] + LibraryModule(name = 'Neptune', build_source_dirs = ['Core']+tls_data_dirs, build_source_files = env['NPT_SYSTEM_SOURCES'], + excluded_files = neptune_excluded_files, extra_cpp_defines = extra_cpp_flags, - linked_modules = env['NPT_EXTRA_LIBS']+['Zlib']+['axTLS'], + linked_modules = env['NPT_EXTRA_LIBS']+neptune_extra_linked_modules, source_root = NPT_SOURCE_ROOT + '/Source') # Platinum LibraryModule(name = 'Platinum', build_source_dirs = ['Core', 'Extras'], build_include_dirs = ['Source/Platinum'], + extra_cpp_defines = extra_cpp_flags, included_modules = ['Neptune']) # Platinum MediaServer diff --git a/lib/libUPnP/Platinum/Build/Targets/arm-android-linux/Config.scons b/lib/libUPnP/Platinum/Build/Targets/arm-android-linux/Config.scons index 18b7da91c1..bdbf08d3e6 100644 --- a/lib/libUPnP/Platinum/Build/Targets/arm-android-linux/Config.scons +++ b/lib/libUPnP/Platinum/Build/Targets/arm-android-linux/Config.scons @@ -18,7 +18,7 @@ if not ANDROID_NDK_ROOT: if env.has_key('android_host_system') and env['android_host_system']: ANDROID_HOST_SYSTEM = env['android_host_system'] else: - PLATFORM_TO_TARGET_MAP = { + PLATFORM_TO_TARGET_MAP = { 'linux-i386' : 'linux-x86', 'linux2' : 'linux-x86', 'win32' : 'windows', @@ -46,7 +46,7 @@ if not os.path.exists(os.path.join(ANDROID_NDK_ROOT, 'toolchains', ANDROID_TOOLC ANDROID_CROSS_PREFIX = ANDROID_TOOLCHAIN[:suffix_pos] print "Auto-selecting toolchain:", ANDROID_TOOLCHAIN break - + # override defaults from command line args if ARGUMENTS.get('android_toolchain'): ANDROID_TOOLCHAIN=ARGUMENTS.get('android_toolchain') @@ -59,7 +59,7 @@ if ARGUMENTS.get('android_platform'): if ARGUMENTS.get('android_arch'): ANDROID_ARCH=ARGUMENTS.get('android_arch') - + print 'Building for Android: ' print 'ANDROID_HOST_SYSTEM =', ANDROID_HOST_SYSTEM print 'ANDROID_TOOLCHAIN =', ANDROID_TOOLCHAIN @@ -78,7 +78,7 @@ env['NPT_EXTRA_LIBS'] = ['gcc'] ### Load the tools LoadTool('gcc-generic', env, gcc_cross_prefix=ANDROID_CROSS_PREFIX, gcc_strict=False) -env.AppendUnique(CCFLAGS = ['-I'+ANDROID_NDK_ROOT+'/sources/cxx-stl/system/include' , +env.AppendUnique(CCFLAGS = ['-I'+ANDROID_NDK_ROOT+'/sources/cxx-stl/system/include' , '--sysroot', ANDROID_SYSROOT, '-msoft-float', '-fpic', @@ -90,18 +90,18 @@ env.AppendUnique(CCFLAGS = ['-I'+ANDROID_NDK_ROOT+'/sources/cxx-stl/system/inclu env.AppendUnique(CXXFLAGS = ['-fno-exceptions', '-fno-rtti']) env.AppendUnique(CPPDEFINES = ['ANDROID', 'NPT_CONFIG_HAVE_SYSTEM_LOG_CONFIG']) env.AppendUnique(LINKFLAGS = ['--sysroot', ANDROID_SYSROOT, - '-Wl,--no-undefined', + '-Wl,--no-undefined', '-Wl,-z,noexecstack', - '-L'+ANDROID_SYSROOT+'/usr/lib', - '-lc', - '-lstdc++', - '-lm', - '-llog', + '-L'+ANDROID_SYSROOT+'/usr/lib', + '-lc', + '-lstdc++', + '-lm', + '-llog', '-ldl']) ### Specific System choices env['NPT_SYSTEM_SOURCES']={'System/StdC':'NptStdc[!D]*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp', - 'System/Null':'NptNullSerialPort.cpp', + 'System/Null':['NptNullSerialPort.cpp', 'NptNullAutoreleasePool.cpp'], 'System/Android':'*.cpp'} diff --git a/lib/libUPnP/Platinum/Build/Targets/arm-gp2x-linux/Config.scons b/lib/libUPnP/Platinum/Build/Targets/arm-gp2x-linux/Config.scons index a31810061a..0d6a316b33 100644 --- a/lib/libUPnP/Platinum/Build/Targets/arm-gp2x-linux/Config.scons +++ b/lib/libUPnP/Platinum/Build/Targets/arm-gp2x-linux/Config.scons @@ -4,6 +4,6 @@ LoadTool('gcc-generic', env, gcc_cross_prefix='arm-linux') env['PROGSUFFIX'] = '.gpe' ### Neptune System Files -env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp'} +env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp', 'System/Null':'NptNullAutoreleasePool.cpp'} env['NPT_EXTRA_LIBS']=['pthread'] diff --git a/lib/libUPnP/Platinum/Build/Targets/arm-unknown-linux/Config.scons b/lib/libUPnP/Platinum/Build/Targets/arm-unknown-linux/Config.scons index 6e46a0bcb9..8e9c4f153a 100644 --- a/lib/libUPnP/Platinum/Build/Targets/arm-unknown-linux/Config.scons +++ b/lib/libUPnP/Platinum/Build/Targets/arm-unknown-linux/Config.scons @@ -1,7 +1,7 @@ LoadTool('gcc-generic', env, gcc_cross_prefix='arm-linux') ### Neptune System Files -env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp'} +env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp', 'System/Null':'NptNullAutoreleasePool.cpp'} env['NPT_EXTRA_LIBS']=['pthread'] env['STRIP'] = '' diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Config.scons b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Config.scons deleted file mode 100644 index 05b9b64856..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Config.scons +++ /dev/null @@ -1,9 +0,0 @@ -LoadTool('gcc-generic', env) - -### Special for the MAC: universal flags -universal_flags = [('-arch', 'x86_64'), ('-arch', 'i386'), ('-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk'), '-mmacosx-version-min=10.5'] -#env.AppendUnique(CCFLAGS = universal_flags + ['-fno-common', '-fno-stack-protector']) -env.AppendUnique(LINKFLAGS = [('-framework', 'SystemConfiguration'), ('-framework', 'Cocoa'), '-mmacosx-version-min=10.5']) - -### Neptune System Files -env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp', 'System/Null':'NptNullSerialPort.cpp', '/System/Apple':'*.mm'} diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/MobileMediaServer-Info.plist b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/MobileMediaServer-Info.plist new file mode 100644 index 0000000000..b0de486188 --- /dev/null +++ b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/MobileMediaServer-Info.plist @@ -0,0 +1,37 @@ +<?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>English</string> + <key>CFBundleExecutable</key> + <string>$(EXECUTABLE_NAME)</string> + <key>CFBundleIdentifier</key> + <string>com.plutinosoft.$(PRODUCT_NAME:rfc1034identifier)</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>$(PRODUCT_NAME)</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1</string> + <key>LSRequiresIPhoneOS</key> + <true/> + <key>UILaunchStoryboardName</key> + <string>LaunchScreen</string> + <key>UIMainStoryboardFile</key> + <string>Main</string> + <key>UISupportedInterfaceOrientations~ipad</key> + <array> + <string>UIInterfaceOrientationPortrait</string> + <string>UIInterfaceOrientationPortraitUpsideDown</string> + <string>UIInterfaceOrientationLandscapeLeft</string> + <string>UIInterfaceOrientationLandscapeRight</string> + </array> +</dict> +</plist> diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/project.pbxproj b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/project.pbxproj index a380fa8b9b..bebf72e7eb 100644 --- a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/project.pbxproj +++ b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/project.pbxproj @@ -7,17 +7,6 @@ objects = { /* Begin PBXAggregateTarget section */ - E4165909162C8E1C005A306E /* Platinum-iPhone-Static-Universal */ = { - isa = PBXAggregateTarget; - buildConfigurationList = E416590B162C8E1C005A306E /* Build configuration list for PBXAggregateTarget "Platinum-iPhone-Static-Universal" */; - buildPhases = ( - E416590A162C8E1C005A306E /* ShellScript */, - ); - dependencies = ( - ); - name = "Platinum-iPhone-Static-Universal"; - productName = "Platinum-iPhone-Framework-Universal"; - }; E42D3B040FDC890A0045379C /* Apps */ = { isa = PBXAggregateTarget; buildConfigurationList = E42D3B170FDC894C0045379C /* Build configuration list for PBXAggregateTarget "Apps" */; @@ -54,8 +43,7 @@ buildPhases = ( ); dependencies = ( - E445E4D914497BFA00F221B3 /* PBXTargetDependency */, - E488DDA31447EF93005E84BD /* PBXTargetDependency */, + E44E2BD91AE775600092347B /* PBXTargetDependency */, E42D3B770FDC8A290045379C /* PBXTargetDependency */, E42D3B790FDC8A290045379C /* PBXTargetDependency */, E459CC2811F82C7F00621896 /* PBXTargetDependency */, @@ -63,17 +51,17 @@ name = All; productName = All; }; - E445E4C814497B8F00F221B3 /* All-iPhone */ = { + E44E2BD01AE775510092347B /* Frameworks */ = { isa = PBXAggregateTarget; - buildConfigurationList = E445E4C914497B8F00F221B3 /* Build configuration list for PBXAggregateTarget "All-iPhone" */; + buildConfigurationList = E44E2BD11AE775510092347B /* Build configuration list for PBXAggregateTarget "Frameworks" */; buildPhases = ( - E445E4DC14497C8D00F221B3 /* ShellScript */, ); dependencies = ( - E445E4CF14497BC400F221B3 /* PBXTargetDependency */, + E44E2BD51AE7755C0092347B /* PBXTargetDependency */, + E44E2BD71AE7755C0092347B /* PBXTargetDependency */, ); - name = "All-iPhone"; - productName = "All-iPhone"; + name = Frameworks; + productName = Frameworks; }; E459CC2111F82C3F00621896 /* Help */ = { isa = PBXAggregateTarget; @@ -86,31 +74,109 @@ name = Help; productName = Help; }; - E46E0E51144830AB00CE9E65 /* Platinum-iPhone-Framework-Universal */ = { - isa = PBXAggregateTarget; - buildConfigurationList = E46E0E52144830AB00CE9E65 /* Build configuration list for PBXAggregateTarget "Platinum-iPhone-Framework-Universal" */; - buildPhases = ( - E46E0E55144830B600CE9E65 /* Run Script */, - ); - dependencies = ( - ); - name = "Platinum-iPhone-Framework-Universal"; - productName = "Platinum-iPhone-Framework-Universal"; - }; /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ - E40F7503176C5F4900023CDC /* NptAutomaticCleaner.h in Headers */ = {isa = PBXBuildFile; fileRef = E4A6CA9A1724AC8C003A8778 /* NptAutomaticCleaner.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E40F7504176C5F5B00023CDC /* NptAutomaticCleaner.h in Headers */ = {isa = PBXBuildFile; fileRef = E4A6CA9A1724AC8C003A8778 /* NptAutomaticCleaner.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E40F7505176C5F6000023CDC /* NptAutomaticCleaner.h in Headers */ = {isa = PBXBuildFile; fileRef = E4A6CA9A1724AC8C003A8778 /* NptAutomaticCleaner.h */; }; - E40F7506176C5F6100023CDC /* NptAutomaticCleaner.h in Headers */ = {isa = PBXBuildFile; fileRef = E4A6CA9A1724AC8C003A8778 /* NptAutomaticCleaner.h */; }; - E40F7507176C5F6200023CDC /* NptAutomaticCleaner.h in Headers */ = {isa = PBXBuildFile; fileRef = E4A6CA9A1724AC8C003A8778 /* NptAutomaticCleaner.h */; }; - E423F36118415DC500E24E39 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E423F36218415DC500E24E39 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E423F36318415DC500E24E39 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; + E410161A1ACFA761000E994F /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = E41016181ACFA761000E994F /* LaunchScreen.xib */; }; + E410161B1ACFA761000E994F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E41016191ACFA761000E994F /* Main.storyboard */; }; + E41016261ACFA826000E994F /* Platinum.h in Headers */ = {isa = PBXBuildFile; fileRef = E41016251ACFA826000E994F /* Platinum.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016381ACFA826000E994F /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E41016211ACFA826000E994F /* Platinum.framework */; }; + E41016391ACFA826000E994F /* Platinum.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E41016211ACFA826000E994F /* Platinum.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + E41016411ACFA858000E994F /* PltAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43154FE0D6FFDEB00899579 /* PltAction.cpp */; }; + E41016421ACFA858000E994F /* PltAction.h in Headers */ = {isa = PBXBuildFile; fileRef = E43154FF0D6FFDEB00899579 /* PltAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016431ACFA858000E994F /* PltArgument.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155000D6FFDEB00899579 /* PltArgument.cpp */; }; + E41016441ACFA858000E994F /* PltArgument.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155010D6FFDEB00899579 /* PltArgument.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016451ACFA858000E994F /* PltConstants.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4BA7CBC0FE2200700A4D16B /* PltConstants.cpp */; }; + E41016461ACFA858000E994F /* PltConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E4BA7CBB0FE2200700A4D16B /* PltConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016471ACFA858000E994F /* PltCtrlPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155020D6FFDEB00899579 /* PltCtrlPoint.cpp */; }; + E41016481ACFA858000E994F /* PltCtrlPoint.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155030D6FFDEB00899579 /* PltCtrlPoint.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016491ACFA858000E994F /* PltCtrlPointTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155040D6FFDEB00899579 /* PltCtrlPointTask.cpp */; }; + E410164A1ACFA858000E994F /* PltCtrlPointTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155050D6FFDEB00899579 /* PltCtrlPointTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410164B1ACFA858000E994F /* PltDatagramStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155060D6FFDEB00899579 /* PltDatagramStream.cpp */; }; + E410164C1ACFA858000E994F /* PltDatagramStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155070D6FFDEB00899579 /* PltDatagramStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410164D1ACFA858000E994F /* PltDeviceData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155080D6FFDEB00899579 /* PltDeviceData.cpp */; }; + E410164E1ACFA858000E994F /* PltDeviceData.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155090D6FFDEB00899579 /* PltDeviceData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410164F1ACFA858000E994F /* PltDeviceHost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550A0D6FFDEB00899579 /* PltDeviceHost.cpp */; }; + E41016501ACFA858000E994F /* PltDeviceHost.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550B0D6FFDEB00899579 /* PltDeviceHost.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016511ACFA858000E994F /* PltEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550E0D6FFDEB00899579 /* PltEvent.cpp */; }; + E41016521ACFA858000E994F /* PltEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550F0D6FFDEB00899579 /* PltEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016531ACFA858000E994F /* PltHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155100D6FFDEB00899579 /* PltHttp.cpp */; }; + E41016541ACFA858000E994F /* PltHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155110D6FFDEB00899579 /* PltHttp.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016551ACFA858000E994F /* PltHttpClientTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155120D6FFDEB00899579 /* PltHttpClientTask.cpp */; }; + E41016561ACFA858000E994F /* PltHttpClientTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155130D6FFDEB00899579 /* PltHttpClientTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016571ACFA858000E994F /* PltHttpServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155140D6FFDEB00899579 /* PltHttpServer.cpp */; }; + E41016581ACFA858000E994F /* PltHttpServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155150D6FFDEB00899579 /* PltHttpServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016591ACFA858000E994F /* PltHttpServerTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155170D6FFDEB00899579 /* PltHttpServerTask.cpp */; }; + E410165A1ACFA858000E994F /* PltHttpServerTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155180D6FFDEB00899579 /* PltHttpServerTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410165B1ACFA858000E994F /* PltIconsData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4F7E9060FE4B12A00BEDFA6 /* PltIconsData.cpp */; }; + E410165C1ACFA858000E994F /* PltMimeType.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4DA613B51CB600359E06 /* PltMimeType.cpp */; }; + E410165D1ACFA858000E994F /* PltMimeType.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4DA713B51CB600359E06 /* PltMimeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410165E1ACFA858000E994F /* PltProtocolInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4D8F13B51BAC00359E06 /* PltProtocolInfo.cpp */; }; + E410165F1ACFA858000E994F /* PltProtocolInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4D9013B51BAC00359E06 /* PltProtocolInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016601ACFA858000E994F /* PltService.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155210D6FFDEB00899579 /* PltService.cpp */; }; + E41016611ACFA858000E994F /* PltService.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155220D6FFDEB00899579 /* PltService.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016621ACFA858000E994F /* PltSsdp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155230D6FFDEB00899579 /* PltSsdp.cpp */; }; + E41016631ACFA858000E994F /* PltSsdp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155240D6FFDEB00899579 /* PltSsdp.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016641ACFA858000E994F /* PltStateVariable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155260D6FFDEB00899579 /* PltStateVariable.cpp */; }; + E41016651ACFA858000E994F /* PltStateVariable.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155270D6FFDEB00899579 /* PltStateVariable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016661ACFA858000E994F /* PltTaskManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552A0D6FFDEB00899579 /* PltTaskManager.cpp */; }; + E41016671ACFA858000E994F /* PltTaskManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552B0D6FFDEB00899579 /* PltTaskManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016681ACFA858000E994F /* PltThreadTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552C0D6FFDEB00899579 /* PltThreadTask.cpp */; }; + E41016691ACFA858000E994F /* PltThreadTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552D0D6FFDEB00899579 /* PltThreadTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410166A1ACFA858000E994F /* PltUPnP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552E0D6FFDEB00899579 /* PltUPnP.cpp */; }; + E410166B1ACFA858000E994F /* PltUPnP.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552F0D6FFDEB00899579 /* PltUPnP.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410166C1ACFA858000E994F /* PltUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155320D6FFDEB00899579 /* PltUtilities.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410166D1ACFA887000E994F /* PltXbox360.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E426B3271130DF9500C58542 /* PltXbox360.cpp */; }; + E410166E1ACFA887000E994F /* PltXbox360.h in Headers */ = {isa = PBXBuildFile; fileRef = E426B3281130DF9500C58542 /* PltXbox360.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410166F1ACFA887000E994F /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB7F108596C800E6ADE2 /* X_MS_MediaReceiverRegistrarSCPD.cpp */; }; + E41016701ACFA887000E994F /* PltMediaConnect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155960D6FFE4C00899579 /* PltMediaConnect.cpp */; }; + E41016711ACFA887000E994F /* PltMediaConnect.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155970D6FFE4C00899579 /* PltMediaConnect.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016721ACFA893000E994F /* AVTransportSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB76108596B900E6ADE2 /* AVTransportSCPD.cpp */; }; + E41016731ACFA893000E994F /* RdrConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB77108596B900E6ADE2 /* RdrConnectionManagerSCPD.cpp */; }; + E41016741ACFA893000E994F /* RenderingControlSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB78108596B900E6ADE2 /* RenderingControlSCPD.cpp */; }; + E41016751ACFA893000E994F /* PltMediaController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431559D0D6FFE4C00899579 /* PltMediaController.cpp */; }; + E41016761ACFA893000E994F /* PltMediaController.h in Headers */ = {isa = PBXBuildFile; fileRef = E431559E0D6FFE4C00899579 /* PltMediaController.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016771ACFA893000E994F /* PltMediaRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A00D6FFE4C00899579 /* PltMediaRenderer.cpp */; }; + E41016781ACFA893000E994F /* PltMediaRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A10D6FFE4C00899579 /* PltMediaRenderer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016791ACFA8A1000E994F /* ContentDirectorySCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E402C7541297CECB00565B76 /* ContentDirectorySCPD.cpp */; }; + E410167A1ACFA8A1000E994F /* ConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB82108596E400E6ADE2 /* ConnectionManagerSCPD.cpp */; }; + E410167B1ACFA8A1000E994F /* ContentDirectorywSearchSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB83108596E400E6ADE2 /* ContentDirectorywSearchSCPD.cpp */; }; + E410167C1ACFA8A1000E994F /* PltDidl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A80D6FFE4C00899579 /* PltDidl.cpp */; }; + E410167D1ACFA8A1000E994F /* PltDidl.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A90D6FFE4C00899579 /* PltDidl.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410167E1ACFA8A1000E994F /* PltFileMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AA0D6FFE4C00899579 /* PltFileMediaServer.cpp */; }; + E410167F1ACFA8A1000E994F /* PltFileMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AB0D6FFE4C00899579 /* PltFileMediaServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016801ACFA8A1000E994F /* PltMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AC0D6FFE4C00899579 /* PltMediaBrowser.cpp */; }; + E41016811ACFA8A1000E994F /* PltMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AD0D6FFE4C00899579 /* PltMediaBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016821ACFA8A1000E994F /* PltMediaCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AF0D6FFE4C00899579 /* PltMediaCache.cpp */; }; + E41016831ACFA8A1000E994F /* PltMediaCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B00D6FFE4C00899579 /* PltMediaCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016841ACFA8A1000E994F /* PltMediaItem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B10D6FFE4C00899579 /* PltMediaItem.cpp */; }; + E41016851ACFA8A1000E994F /* PltMediaItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B20D6FFE4C00899579 /* PltMediaItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016861ACFA8A1000E994F /* PltMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B50D6FFE4C00899579 /* PltMediaServer.cpp */; }; + E41016871ACFA8A1000E994F /* PltMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B60D6FFE4C00899579 /* PltMediaServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016881ACFA8A1000E994F /* PltSyncMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B80D6FFE4C00899579 /* PltSyncMediaBrowser.cpp */; }; + E41016891ACFA8A1000E994F /* PltSyncMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B90D6FFE4C00899579 /* PltSyncMediaBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410168A1ACFA8B9000E994F /* PltMediaServerObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1512417AA800000109 /* PltMediaServerObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410168B1ACFA8B9000E994F /* PltMediaServerObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1612417AA800000109 /* PltMediaServerObject.mm */; }; + E410168C1ACFA8B9000E994F /* PltUPnPObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1712417AA800000109 /* PltUPnPObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410168D1ACFA8B9000E994F /* PltUPnPObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1812417AA800000109 /* PltUPnPObject.mm */; }; + E410168E1ACFA8B9000E994F /* PltDownloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E211E6F0D90024CAD4 /* PltDownloader.cpp */; }; + E410168F1ACFA8B9000E994F /* PltDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E311E6F0D90024CAD4 /* PltDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016901ACFA8B9000E994F /* PltStreamPump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E411E6F0D90024CAD4 /* PltStreamPump.cpp */; }; + E41016911ACFA8B9000E994F /* PltStreamPump.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E511E6F0D90024CAD4 /* PltStreamPump.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016921ACFA8B9000E994F /* PltFrameBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C699E11E6ED710024CAD4 /* PltFrameBuffer.cpp */; }; + E41016931ACFA8B9000E994F /* PltFrameBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C699F11E6ED710024CAD4 /* PltFrameBuffer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016941ACFA8B9000E994F /* PltFrameServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A011E6ED710024CAD4 /* PltFrameServer.cpp */; }; + E41016951ACFA8B9000E994F /* PltFrameServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A111E6ED710024CAD4 /* PltFrameServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016961ACFA8B9000E994F /* PltFrameStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A211E6ED710024CAD4 /* PltFrameStream.cpp */; }; + E41016971ACFA8B9000E994F /* PltFrameStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A311E6ED710024CAD4 /* PltFrameStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E41016981ACFA8B9000E994F /* PltLeaks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A411E6ED710024CAD4 /* PltLeaks.cpp */; }; + E41016991ACFA8B9000E994F /* PltLeaks.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A511E6ED710024CAD4 /* PltLeaks.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410169A1ACFA8B9000E994F /* PltMetadataHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A611E6ED710024CAD4 /* PltMetadataHandler.cpp */; }; + E410169B1ACFA8B9000E994F /* PltMetadataHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A711E6ED710024CAD4 /* PltMetadataHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410169C1ACFA8B9000E994F /* PltRingBufferStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A811E6ED710024CAD4 /* PltRingBufferStream.cpp */; }; + E410169D1ACFA8B9000E994F /* PltRingBufferStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A911E6ED710024CAD4 /* PltRingBufferStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E410169F1ACFA8CC000E994F /* PltVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFF101E1AEF007A9CE7 /* PltVersion.h */; settings = {ATTRIBUTES = (Public, ); }; }; E423F36918415DF900E24E39 /* SsdpTest1.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E423F35A18415DA800E24E39 /* SsdpTest1.cpp */; }; - E42C42141457D0AD003798F5 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4374268123FFF5B00000109 /* Cocoa.framework */; }; - E42C42151457D172003798F5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; E42D3AC40FDC87300045379C /* MediaCrawler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E42D3A980FDC85E70045379C /* MediaCrawler.cpp */; }; E42D3AC50FDC87310045379C /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E42D3A970FDC85E70045379C /* main.cpp */; }; E42D3B110FDC89200045379C /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E42D3A950FDC85E70045379C /* main.cpp */; }; @@ -129,1183 +195,148 @@ E437424E123FFE9100000109 /* main.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374246123FFE9100000109 /* main.mm */; }; E4374250123FFE9100000109 /* MediaServerCocoaTest_AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374249123FFE9100000109 /* MediaServerCocoaTest_AppDelegate.mm */; }; E4374251123FFE9100000109 /* MediaServerCocoaTest_DataModel.xcdatamodel in Sources */ = {isa = PBXBuildFile; fileRef = E437424A123FFE9100000109 /* MediaServerCocoaTest_DataModel.xcdatamodel */; }; - E4374269123FFF5B00000109 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4374268123FFF5B00000109 /* Cocoa.framework */; }; - E43E5F65163FAC6C008A39D8 /* PltAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43154FE0D6FFDEB00899579 /* PltAction.cpp */; }; - E43E5F67163FAC6C008A39D8 /* PltArgument.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155000D6FFDEB00899579 /* PltArgument.cpp */; }; - E43E5F69163FAC6C008A39D8 /* PltConstants.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4BA7CBC0FE2200700A4D16B /* PltConstants.cpp */; }; - E43E5F6B163FAC6C008A39D8 /* PltCtrlPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155020D6FFDEB00899579 /* PltCtrlPoint.cpp */; }; - E43E5F6D163FAC6C008A39D8 /* PltCtrlPointTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155040D6FFDEB00899579 /* PltCtrlPointTask.cpp */; }; - E43E5F6F163FAC6C008A39D8 /* PltDatagramStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155060D6FFDEB00899579 /* PltDatagramStream.cpp */; }; - E43E5F71163FAC6C008A39D8 /* PltDeviceData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155080D6FFDEB00899579 /* PltDeviceData.cpp */; }; - E43E5F73163FAC6D008A39D8 /* PltDeviceHost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550A0D6FFDEB00899579 /* PltDeviceHost.cpp */; }; - E43E5F75163FAC6D008A39D8 /* PltEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550E0D6FFDEB00899579 /* PltEvent.cpp */; }; - E43E5F77163FAC6D008A39D8 /* PltHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155100D6FFDEB00899579 /* PltHttp.cpp */; }; - E43E5F79163FAC6D008A39D8 /* PltHttpClientTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155120D6FFDEB00899579 /* PltHttpClientTask.cpp */; }; - E43E5F7B163FAC6D008A39D8 /* PltHttpServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155140D6FFDEB00899579 /* PltHttpServer.cpp */; }; - E43E5F7D163FAC6D008A39D8 /* PltHttpServerTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155170D6FFDEB00899579 /* PltHttpServerTask.cpp */; }; - E43E5F7F163FAC6D008A39D8 /* PltIconsData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4F7E9060FE4B12A00BEDFA6 /* PltIconsData.cpp */; }; - E43E5F80163FAC6D008A39D8 /* PltMimeType.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4DA613B51CB600359E06 /* PltMimeType.cpp */; }; - E43E5F82163FAC6D008A39D8 /* PltProtocolInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4D8F13B51BAC00359E06 /* PltProtocolInfo.cpp */; }; - E43E5F84163FAC6D008A39D8 /* PltService.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155210D6FFDEB00899579 /* PltService.cpp */; }; - E43E5F86163FAC6D008A39D8 /* PltSsdp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155230D6FFDEB00899579 /* PltSsdp.cpp */; }; - E43E5F88163FAC6D008A39D8 /* PltStateVariable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155260D6FFDEB00899579 /* PltStateVariable.cpp */; }; - E43E5F8A163FAC6D008A39D8 /* PltTaskManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552A0D6FFDEB00899579 /* PltTaskManager.cpp */; }; - E43E5F8C163FAC6D008A39D8 /* PltThreadTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552C0D6FFDEB00899579 /* PltThreadTask.cpp */; }; - E43E5F8E163FAC6D008A39D8 /* PltUPnP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552E0D6FFDEB00899579 /* PltUPnP.cpp */; }; - E43E5F91163FACE6008A39D8 /* PltXbox360.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E426B3271130DF9500C58542 /* PltXbox360.cpp */; }; - E43E5F92163FACE6008A39D8 /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB7F108596C800E6ADE2 /* X_MS_MediaReceiverRegistrarSCPD.cpp */; }; - E43E5F93163FACE6008A39D8 /* PltMediaConnect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155960D6FFE4C00899579 /* PltMediaConnect.cpp */; }; - E43E5F94163FACE6008A39D8 /* AVTransportSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB76108596B900E6ADE2 /* AVTransportSCPD.cpp */; }; - E43E5F95163FACE6008A39D8 /* RdrConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB77108596B900E6ADE2 /* RdrConnectionManagerSCPD.cpp */; }; - E43E5F96163FACE6008A39D8 /* RenderingControlSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB78108596B900E6ADE2 /* RenderingControlSCPD.cpp */; }; - E43E5F97163FACE6008A39D8 /* PltMediaController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431559D0D6FFE4C00899579 /* PltMediaController.cpp */; }; - E43E5F98163FACE6008A39D8 /* PltMediaRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A00D6FFE4C00899579 /* PltMediaRenderer.cpp */; }; - E43E5F99163FACE6008A39D8 /* ContentDirectorySCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E402C7541297CECB00565B76 /* ContentDirectorySCPD.cpp */; }; - E43E5F9A163FACE6008A39D8 /* ConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB82108596E400E6ADE2 /* ConnectionManagerSCPD.cpp */; }; - E43E5F9B163FACE6008A39D8 /* ContentDirectorywSearchSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB83108596E400E6ADE2 /* ContentDirectorywSearchSCPD.cpp */; }; - E43E5F9C163FACE6008A39D8 /* PltDidl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A80D6FFE4C00899579 /* PltDidl.cpp */; }; - E43E5F9D163FACE6008A39D8 /* PltFileMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AA0D6FFE4C00899579 /* PltFileMediaServer.cpp */; }; - E43E5F9E163FACE6008A39D8 /* PltMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AC0D6FFE4C00899579 /* PltMediaBrowser.cpp */; }; - E43E5F9F163FACE6008A39D8 /* PltMediaCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AF0D6FFE4C00899579 /* PltMediaCache.cpp */; }; - E43E5FA0163FACE6008A39D8 /* PltMediaItem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B10D6FFE4C00899579 /* PltMediaItem.cpp */; }; - E43E5FA1163FACE6008A39D8 /* PltMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B50D6FFE4C00899579 /* PltMediaServer.cpp */; }; - E43E5FA2163FACE6008A39D8 /* PltSyncMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B80D6FFE4C00899579 /* PltSyncMediaBrowser.cpp */; }; - E43E5FA3163FACE6008A39D8 /* PltMediaServerObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1612417AA800000109 /* PltMediaServerObject.mm */; }; - E43E5FA4163FACE6008A39D8 /* PltUPnPObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1812417AA800000109 /* PltUPnPObject.mm */; }; - E43E5FA5163FACE6008A39D8 /* PltDownloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E211E6F0D90024CAD4 /* PltDownloader.cpp */; }; - E43E5FA6163FACE6008A39D8 /* PltStreamPump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E411E6F0D90024CAD4 /* PltStreamPump.cpp */; }; - E43E5FA7163FACE6008A39D8 /* PltFrameBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C699E11E6ED710024CAD4 /* PltFrameBuffer.cpp */; }; - E43E5FA8163FACE6008A39D8 /* PltFrameServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A011E6ED710024CAD4 /* PltFrameServer.cpp */; }; - E43E5FA9163FACE6008A39D8 /* PltFrameStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A211E6ED710024CAD4 /* PltFrameStream.cpp */; }; - E43E5FAA163FACE6008A39D8 /* PltLeaks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A411E6ED710024CAD4 /* PltLeaks.cpp */; }; - E43E5FAB163FACE6008A39D8 /* PltMetadataHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A611E6ED710024CAD4 /* PltMetadataHandler.cpp */; }; - E43E5FAC163FACE6008A39D8 /* PltRingBufferStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A811E6ED710024CAD4 /* PltRingBufferStream.cpp */; }; - E43E5FAD163FAD47008A39D8 /* aes.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD71144AA4A000C34B69 /* aes.c */; }; - E43E5FAE163FAD47008A39D8 /* bigint.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD72144AA4A000C34B69 /* bigint.c */; }; - E43E5FAF163FAD47008A39D8 /* crypto_misc.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD76144AA4A000C34B69 /* crypto_misc.c */; }; - E43E5FB0163FAD47008A39D8 /* hmac.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD77144AA4A000C34B69 /* hmac.c */; }; - E43E5FB1163FAD47008A39D8 /* md2.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD78144AA4A000C34B69 /* md2.c */; }; - E43E5FB2163FAD47008A39D8 /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD79144AA4A000C34B69 /* md5.c */; }; - E43E5FB3163FAD47008A39D8 /* rc4.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7A144AA4A000C34B69 /* rc4.c */; }; - E43E5FB4163FAD47008A39D8 /* rsa.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7B144AA4A000C34B69 /* rsa.c */; }; - E43E5FB5163FAD47008A39D8 /* sha1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7C144AA4A000C34B69 /* sha1.c */; }; - E43E5FB6163FAD47008A39D8 /* asn1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7D144AA4A000C34B69 /* asn1.c */; }; - E43E5FB7163FAD47008A39D8 /* gen_cert.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD80144AA4A000C34B69 /* gen_cert.c */; }; - E43E5FB8163FAD47008A39D8 /* loader.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD81144AA4A000C34B69 /* loader.c */; }; - E43E5FB9163FAD47008A39D8 /* p12.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD83144AA4A000C34B69 /* p12.c */; }; - E43E5FBA163FAD47008A39D8 /* tls1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD85144AA4A000C34B69 /* tls1.c */; }; - E43E5FBB163FAD47008A39D8 /* tls1_clnt.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD87144AA4A000C34B69 /* tls1_clnt.c */; }; - E43E5FBC163FAD47008A39D8 /* tls1_svr.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD88144AA4A000C34B69 /* tls1_svr.c */; }; - E43E5FBD163FAD47008A39D8 /* x509.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8A144AA4A000C34B69 /* x509.c */; }; - E43E5FBE163FAD47008A39D8 /* compress.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8B144AA4A000C34B69 /* compress.c */; }; - E43E5FBF163FAD47008A39D8 /* adler32.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8C144AA4A000C34B69 /* adler32.c */; }; - E43E5FC0163FAD47008A39D8 /* crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8D144AA4A000C34B69 /* crc32.c */; }; - E43E5FC1163FAD47008A39D8 /* deflate.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8F144AA4A000C34B69 /* deflate.c */; }; - E43E5FC2163FAD47008A39D8 /* infback.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD91144AA4A000C34B69 /* infback.c */; }; - E43E5FC3163FAD47008A39D8 /* inffast.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD92144AA4A000C34B69 /* inffast.c */; }; - E43E5FC4163FAD47008A39D8 /* inflate.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD95144AA4A000C34B69 /* inflate.c */; }; - E43E5FC5163FAD47008A39D8 /* inftrees.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD97144AA4A000C34B69 /* inftrees.c */; }; - E43E5FC6163FAD47008A39D8 /* trees.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD99144AA4A000C34B69 /* trees.c */; }; - E43E5FC7163FAD47008A39D8 /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD9D144AA4A000C34B69 /* zutil.c */; }; - E43E5FC8163FAD47008A39D8 /* NptAppleAutoreleasePool.mm in Sources */ = {isa = PBXBuildFile; fileRef = E448216815100D3A0069F573 /* NptAppleAutoreleasePool.mm */; }; - E43E5FC9163FAD47008A39D8 /* NptAppleLogConfig.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD15144AA49500C34B69 /* NptAppleLogConfig.mm */; }; - E43E5FCA163FAD47008A39D8 /* NptCocoaEnviroment.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD16144AA49500C34B69 /* NptCocoaEnviroment.mm */; }; - E43E5FCB163FAD47008A39D8 /* NptCocoaConsole.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD17144AA49500C34B69 /* NptCocoaConsole.mm */; }; - E43E5FCC163FAD47008A39D8 /* NptCocoaMessageQueue.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD19144AA49500C34B69 /* NptCocoaMessageQueue.mm */; }; - E43E5FCD163FAD47008A39D8 /* NptBsdResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1B144AA49500C34B69 /* NptBsdResolver.cpp */; }; - E43E5FCE163FAD47008A39D8 /* NptBsdNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1C144AA49500C34B69 /* NptBsdNetwork.cpp */; }; - E43E5FCF163FAD47008A39D8 /* NptBsdSockets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1D144AA49500C34B69 /* NptBsdSockets.cpp */; }; - E43E5FD1163FAD47008A39D8 /* NptPosixTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1E144AA49500C34B69 /* NptPosixTime.cpp */; }; - E43E5FD2163FAD47008A39D8 /* NptPosixDynamicLibraries.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1F144AA49500C34B69 /* NptPosixDynamicLibraries.cpp */; }; - E43E5FD3163FAD47008A39D8 /* NptPosixNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD20144AA49500C34B69 /* NptPosixNetwork.cpp */; }; - E43E5FD4163FAD47008A39D8 /* NptPosixFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD21144AA49500C34B69 /* NptPosixFile.cpp */; }; - E43E5FD5163FAD47008A39D8 /* NptPosixQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD22144AA49500C34B69 /* NptPosixQueue.cpp */; }; - E43E5FD6163FAD47008A39D8 /* NptPosixSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD23144AA49500C34B69 /* NptPosixSystem.cpp */; }; - E43E5FD7163FAD47008A39D8 /* NptPosixThreads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD24144AA49500C34B69 /* NptPosixThreads.cpp */; }; - E43E5FD8163FAD47008A39D8 /* NptSelectableMessageQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD25144AA49500C34B69 /* NptSelectableMessageQueue.cpp */; }; - E43E5FD9163FAD47008A39D8 /* NptStdcDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD27144AA49500C34B69 /* NptStdcDebug.cpp */; }; - E43E5FDA163FAD47008A39D8 /* NptStdcFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD29144AA49500C34B69 /* NptStdcFile.cpp */; }; - E43E5FDB163FAD74008A39D8 /* Neptune.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE7144AA48D00C34B69 /* Neptune.cpp */; }; - E43E5FDC163FAD74008A39D8 /* NptBase64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEA144AA48D00C34B69 /* NptBase64.cpp */; }; - E43E5FDD163FAD74008A39D8 /* NptBufferedStreams.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEC144AA48D00C34B69 /* NptBufferedStreams.cpp */; }; - E43E5FDE163FAD74008A39D8 /* NptCommon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEE144AA48D00C34B69 /* NptCommon.cpp */; }; - E43E5FDF163FAD74008A39D8 /* NptConsole.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF1144AA48D00C34B69 /* NptConsole.cpp */; }; - E43E5FE0163FAD74008A39D8 /* NptCrypto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDC144AA48D00C34B69 /* NptCrypto.cpp */; }; - E43E5FE1163FAD74008A39D8 /* NptDataBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF4144AA48D00C34B69 /* NptDataBuffer.cpp */; }; - E43E5FE2163FAD74008A39D8 /* NptDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF6144AA48D00C34B69 /* NptDebug.cpp */; }; - E43E5FE3163FAD74008A39D8 /* NptDigest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDE144AA48D00C34B69 /* NptDigest.cpp */; }; - E43E5FE4163FAD74008A39D8 /* NptDynamicLibraries.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE4144AA48D00C34B69 /* NptDynamicLibraries.cpp */; }; - E43E5FE5163FAD74008A39D8 /* NptFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF9144AA48D00C34B69 /* NptFile.cpp */; }; - E43E5FE6163FAD74008A39D8 /* NptHash.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDA144AA48D00C34B69 /* NptHash.cpp */; }; - E43E5FE7163FAD74008A39D8 /* NptHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABFB144AA48D00C34B69 /* NptHttp.cpp */; }; - E43E5FE8163FAD74008A39D8 /* NptList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABFE144AA48D00C34B69 /* NptList.cpp */; }; - E43E5FE9163FAD74008A39D8 /* NptLogging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC00144AA48D00C34B69 /* NptLogging.cpp */; }; - E43E5FEA163FAD74008A39D8 /* NptMessaging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC03144AA48D00C34B69 /* NptMessaging.cpp */; }; - E43E5FEB163FAD74008A39D8 /* NptNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC05144AA48D00C34B69 /* NptNetwork.cpp */; }; - E43E5FEC163FAD74008A39D8 /* NptQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC07144AA48D00C34B69 /* NptQueue.cpp */; }; - E43E5FED163FAD74008A39D8 /* NptResults.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE1144AA48D00C34B69 /* NptResults.cpp */; }; - E43E5FEE163FAD74008A39D8 /* NptRingBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC0B144AA48D00C34B69 /* NptRingBuffer.cpp */; }; - E43E5FEF163FAD74008A39D8 /* NptSimpleMessageQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC0E144AA48D00C34B69 /* NptSimpleMessageQueue.cpp */; }; - E43E5FF0163FAD74008A39D8 /* NptSockets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC10144AA48D00C34B69 /* NptSockets.cpp */; }; - E43E5FF1163FAD74008A39D8 /* NptStreams.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC13144AA48D00C34B69 /* NptStreams.cpp */; }; - E43E5FF2163FAD74008A39D8 /* NptStrings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC15144AA48D00C34B69 /* NptStrings.cpp */; }; - E43E5FF3163FAD74008A39D8 /* NptSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC17144AA48D00C34B69 /* NptSystem.cpp */; }; - E43E5FF4163FAD74008A39D8 /* NptThreads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC19144AA48D00C34B69 /* NptThreads.cpp */; }; - E43E5FF5163FAD74008A39D8 /* NptTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC1B144AA48D00C34B69 /* NptTime.cpp */; }; - E43E5FF6163FAD74008A39D8 /* NptTls.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE2144AA48D00C34B69 /* NptTls.cpp */; }; - E43E5FF7163FAD74008A39D8 /* NptUri.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC1E144AA48D00C34B69 /* NptUri.cpp */; }; - E43E5FF8163FAD74008A39D8 /* NptUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC20144AA48D00C34B69 /* NptUtils.cpp */; }; - E43E5FF9163FAD74008A39D8 /* NptXml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC23144AA48D00C34B69 /* NptXml.cpp */; }; - E43E5FFA163FAD74008A39D8 /* NptZip.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC26144AA48D00C34B69 /* NptZip.cpp */; }; - E43E5FFB163FAD74008A39D8 /* NptTlsDefaultTrustAnchorsBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABD1144AA48100C34B69 /* NptTlsDefaultTrustAnchorsBase.cpp */; }; - E43E5FFC163FAD74008A39D8 /* NptTlsDefaultTrustAnchorsExtended.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABD2144AA48100C34B69 /* NptTlsDefaultTrustAnchorsExtended.cpp */; }; - E43E5FFD163FAEF1008A39D8 /* NptStdcEnvironment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD28144AA49500C34B69 /* NptStdcEnvironment.cpp */; }; - E43E5FFF163FAFBC008A39D8 /* NptAppleLogConfig.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD15144AA49500C34B69 /* NptAppleLogConfig.mm */; }; - E43E6000163FAFC7008A39D8 /* NptAppleLogConfig.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD15144AA49500C34B69 /* NptAppleLogConfig.mm */; }; - E43E6001163FAFE7008A39D8 /* NptAppleAutoreleasePool.mm in Sources */ = {isa = PBXBuildFile; fileRef = E448216815100D3A0069F573 /* NptAppleAutoreleasePool.mm */; }; - E43E6002163FAFE7008A39D8 /* NptAppleLogConfig.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD15144AA49500C34B69 /* NptAppleLogConfig.mm */; }; - E43E6003163FAFE7008A39D8 /* NptCocoaEnviroment.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD16144AA49500C34B69 /* NptCocoaEnviroment.mm */; }; - E43E6004163FAFE7008A39D8 /* NptCocoaConsole.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD17144AA49500C34B69 /* NptCocoaConsole.mm */; }; E43F6BC910F1B78400C97612 /* TimeTest1.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43F6BC810F1B78400C97612 /* TimeTest1.cpp */; }; E4446FAB12C3168900E01480 /* MediaServerCocoaTestController.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4446FAA12C3168900E01480 /* MediaServerCocoaTestController.mm */; }; - E445E515144989DE00F221B3 /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4B95ECC1446575700DBBF49 /* Platinum.framework */; }; - E445E51614498A7300F221B3 /* Platinum.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = E4B95ECC1446575700DBBF49 /* Platinum.framework */; }; - E448216B151011270069F573 /* NptAppleAutoreleasePool.mm in Sources */ = {isa = PBXBuildFile; fileRef = E448216815100D3A0069F573 /* NptAppleAutoreleasePool.mm */; }; - E457ABD3144AA48100C34B69 /* NptTlsDefaultTrustAnchorsBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABD1144AA48100C34B69 /* NptTlsDefaultTrustAnchorsBase.cpp */; }; - E457ABD6144AA48100C34B69 /* NptTlsDefaultTrustAnchorsExtended.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABD2144AA48100C34B69 /* NptTlsDefaultTrustAnchorsExtended.cpp */; }; - E457AC27144AA48D00C34B69 /* NptHash.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDA144AA48D00C34B69 /* NptHash.cpp */; }; - E457AC2A144AA48D00C34B69 /* NptHash.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDB144AA48D00C34B69 /* NptHash.h */; }; - E457AC2B144AA48D00C34B69 /* NptHash.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDB144AA48D00C34B69 /* NptHash.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC2C144AA48D00C34B69 /* NptHash.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDB144AA48D00C34B69 /* NptHash.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC2D144AA48D00C34B69 /* NptCrypto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDC144AA48D00C34B69 /* NptCrypto.cpp */; }; - E457AC2F144AA48D00C34B69 /* NptCrypto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDC144AA48D00C34B69 /* NptCrypto.cpp */; }; - E457AC30144AA48D00C34B69 /* NptCrypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDD144AA48D00C34B69 /* NptCrypto.h */; }; - E457AC31144AA48D00C34B69 /* NptCrypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDD144AA48D00C34B69 /* NptCrypto.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC32144AA48D00C34B69 /* NptCrypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDD144AA48D00C34B69 /* NptCrypto.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC33144AA48D00C34B69 /* NptDigest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDE144AA48D00C34B69 /* NptDigest.cpp */; }; - E457AC36144AA48D00C34B69 /* NptDigest.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDF144AA48D00C34B69 /* NptDigest.h */; }; - E457AC37144AA48D00C34B69 /* NptDigest.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDF144AA48D00C34B69 /* NptDigest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC38144AA48D00C34B69 /* NptDigest.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDF144AA48D00C34B69 /* NptDigest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC39144AA48D00C34B69 /* NptDynamicCast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE0144AA48D00C34B69 /* NptDynamicCast.h */; }; - E457AC3A144AA48D00C34B69 /* NptDynamicCast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE0144AA48D00C34B69 /* NptDynamicCast.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC3B144AA48D00C34B69 /* NptDynamicCast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE0144AA48D00C34B69 /* NptDynamicCast.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC3C144AA48D00C34B69 /* NptResults.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE1144AA48D00C34B69 /* NptResults.cpp */; }; - E457AC3F144AA48D00C34B69 /* NptTls.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE2144AA48D00C34B69 /* NptTls.cpp */; }; - E457AC42144AA48D00C34B69 /* NptTls.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE3144AA48D00C34B69 /* NptTls.h */; }; - E457AC43144AA48D00C34B69 /* NptTls.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE3144AA48D00C34B69 /* NptTls.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC44144AA48D00C34B69 /* NptTls.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE3144AA48D00C34B69 /* NptTls.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC45144AA48D00C34B69 /* NptDynamicLibraries.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE4144AA48D00C34B69 /* NptDynamicLibraries.cpp */; }; - E457AC48144AA48D00C34B69 /* NptDynamicLibraries.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE5144AA48D00C34B69 /* NptDynamicLibraries.h */; }; - E457AC49144AA48D00C34B69 /* NptDynamicLibraries.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE5144AA48D00C34B69 /* NptDynamicLibraries.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC4A144AA48D00C34B69 /* NptDynamicLibraries.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE5144AA48D00C34B69 /* NptDynamicLibraries.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC4B144AA48D00C34B69 /* NptSerialPort.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE6144AA48D00C34B69 /* NptSerialPort.h */; }; - E457AC4C144AA48D00C34B69 /* NptSerialPort.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE6144AA48D00C34B69 /* NptSerialPort.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC4D144AA48D00C34B69 /* NptSerialPort.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE6144AA48D00C34B69 /* NptSerialPort.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC4E144AA48D00C34B69 /* Neptune.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE7144AA48D00C34B69 /* Neptune.cpp */; }; - E457AC51144AA48D00C34B69 /* Neptune.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE8144AA48D00C34B69 /* Neptune.h */; }; - E457AC52144AA48D00C34B69 /* Neptune.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE8144AA48D00C34B69 /* Neptune.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC53144AA48D00C34B69 /* Neptune.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE8144AA48D00C34B69 /* Neptune.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC54144AA48D00C34B69 /* NptArray.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE9144AA48D00C34B69 /* NptArray.h */; }; - E457AC55144AA48D00C34B69 /* NptArray.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE9144AA48D00C34B69 /* NptArray.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC56144AA48D00C34B69 /* NptArray.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE9144AA48D00C34B69 /* NptArray.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC57144AA48D00C34B69 /* NptBase64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEA144AA48D00C34B69 /* NptBase64.cpp */; }; - E457AC5A144AA48D00C34B69 /* NptBase64.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEB144AA48D00C34B69 /* NptBase64.h */; }; - E457AC5B144AA48D00C34B69 /* NptBase64.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEB144AA48D00C34B69 /* NptBase64.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC5C144AA48D00C34B69 /* NptBase64.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEB144AA48D00C34B69 /* NptBase64.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC5D144AA48D00C34B69 /* NptBufferedStreams.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEC144AA48D00C34B69 /* NptBufferedStreams.cpp */; }; - E457AC60144AA48D00C34B69 /* NptBufferedStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABED144AA48D00C34B69 /* NptBufferedStreams.h */; }; - E457AC61144AA48D00C34B69 /* NptBufferedStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABED144AA48D00C34B69 /* NptBufferedStreams.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC62144AA48D00C34B69 /* NptBufferedStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABED144AA48D00C34B69 /* NptBufferedStreams.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC63144AA48D00C34B69 /* NptCommon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEE144AA48D00C34B69 /* NptCommon.cpp */; }; - E457AC66144AA48D00C34B69 /* NptCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEF144AA48D00C34B69 /* NptCommon.h */; }; - E457AC67144AA48D00C34B69 /* NptCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEF144AA48D00C34B69 /* NptCommon.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC68144AA48D00C34B69 /* NptCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEF144AA48D00C34B69 /* NptCommon.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC69144AA48D00C34B69 /* NptConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF0144AA48D00C34B69 /* NptConfig.h */; }; - E457AC6A144AA48D00C34B69 /* NptConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF0144AA48D00C34B69 /* NptConfig.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC6B144AA48D00C34B69 /* NptConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF0144AA48D00C34B69 /* NptConfig.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC6C144AA48D00C34B69 /* NptConsole.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF1144AA48D00C34B69 /* NptConsole.cpp */; }; - E457AC6F144AA48D00C34B69 /* NptConsole.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF2144AA48D00C34B69 /* NptConsole.h */; }; - E457AC70144AA48D00C34B69 /* NptConsole.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF2144AA48D00C34B69 /* NptConsole.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC71144AA48D00C34B69 /* NptConsole.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF2144AA48D00C34B69 /* NptConsole.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC72144AA48D00C34B69 /* NptConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF3144AA48D00C34B69 /* NptConstants.h */; }; - E457AC73144AA48D00C34B69 /* NptConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF3144AA48D00C34B69 /* NptConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC74144AA48D00C34B69 /* NptConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF3144AA48D00C34B69 /* NptConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC75144AA48D00C34B69 /* NptDataBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF4144AA48D00C34B69 /* NptDataBuffer.cpp */; }; - E457AC78144AA48D00C34B69 /* NptDataBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF5144AA48D00C34B69 /* NptDataBuffer.h */; }; - E457AC79144AA48D00C34B69 /* NptDataBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF5144AA48D00C34B69 /* NptDataBuffer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC7A144AA48D00C34B69 /* NptDataBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF5144AA48D00C34B69 /* NptDataBuffer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC7B144AA48D00C34B69 /* NptDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF6144AA48D00C34B69 /* NptDebug.cpp */; }; - E457AC7E144AA48D00C34B69 /* NptDebug.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF7144AA48D00C34B69 /* NptDebug.h */; }; - E457AC7F144AA48D00C34B69 /* NptDebug.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF7144AA48D00C34B69 /* NptDebug.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC80144AA48D00C34B69 /* NptDebug.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF7144AA48D00C34B69 /* NptDebug.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC81144AA48D00C34B69 /* NptDefs.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF8144AA48D00C34B69 /* NptDefs.h */; }; - E457AC82144AA48D00C34B69 /* NptDefs.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF8144AA48D00C34B69 /* NptDefs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC83144AA48D00C34B69 /* NptDefs.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF8144AA48D00C34B69 /* NptDefs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC84144AA48D00C34B69 /* NptFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF9144AA48D00C34B69 /* NptFile.cpp */; }; - E457AC87144AA48D00C34B69 /* NptFile.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFA144AA48D00C34B69 /* NptFile.h */; }; - E457AC88144AA48D00C34B69 /* NptFile.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFA144AA48D00C34B69 /* NptFile.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC89144AA48D00C34B69 /* NptFile.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFA144AA48D00C34B69 /* NptFile.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC8A144AA48D00C34B69 /* NptHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABFB144AA48D00C34B69 /* NptHttp.cpp */; }; - E457AC8D144AA48D00C34B69 /* NptHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFC144AA48D00C34B69 /* NptHttp.h */; }; - E457AC8E144AA48D00C34B69 /* NptHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFC144AA48D00C34B69 /* NptHttp.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC8F144AA48D00C34B69 /* NptHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFC144AA48D00C34B69 /* NptHttp.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC90144AA48D00C34B69 /* NptInterfaces.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFD144AA48D00C34B69 /* NptInterfaces.h */; }; - E457AC91144AA48D00C34B69 /* NptInterfaces.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFD144AA48D00C34B69 /* NptInterfaces.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC92144AA48D00C34B69 /* NptInterfaces.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFD144AA48D00C34B69 /* NptInterfaces.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC93144AA48D00C34B69 /* NptList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABFE144AA48D00C34B69 /* NptList.cpp */; }; - E457AC96144AA48D00C34B69 /* NptList.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFF144AA48D00C34B69 /* NptList.h */; }; - E457AC97144AA48D00C34B69 /* NptList.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFF144AA48D00C34B69 /* NptList.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC98144AA48D00C34B69 /* NptList.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFF144AA48D00C34B69 /* NptList.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC99144AA48D00C34B69 /* NptLogging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC00144AA48D00C34B69 /* NptLogging.cpp */; }; - E457AC9C144AA48D00C34B69 /* NptLogging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC01144AA48D00C34B69 /* NptLogging.h */; }; - E457AC9D144AA48D00C34B69 /* NptLogging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC01144AA48D00C34B69 /* NptLogging.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC9E144AA48D00C34B69 /* NptLogging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC01144AA48D00C34B69 /* NptLogging.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AC9F144AA48D00C34B69 /* NptMap.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC02144AA48D00C34B69 /* NptMap.h */; }; - E457ACA0144AA48D00C34B69 /* NptMap.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC02144AA48D00C34B69 /* NptMap.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACA1144AA48D00C34B69 /* NptMap.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC02144AA48D00C34B69 /* NptMap.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACA2144AA48D00C34B69 /* NptMessaging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC03144AA48D00C34B69 /* NptMessaging.cpp */; }; - E457ACA5144AA48D00C34B69 /* NptMessaging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC04144AA48D00C34B69 /* NptMessaging.h */; }; - E457ACA6144AA48D00C34B69 /* NptMessaging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC04144AA48D00C34B69 /* NptMessaging.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACA7144AA48D00C34B69 /* NptMessaging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC04144AA48D00C34B69 /* NptMessaging.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACA8144AA48D00C34B69 /* NptNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC05144AA48D00C34B69 /* NptNetwork.cpp */; }; - E457ACAB144AA48D00C34B69 /* NptNetwork.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC06144AA48D00C34B69 /* NptNetwork.h */; }; - E457ACAC144AA48D00C34B69 /* NptNetwork.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC06144AA48D00C34B69 /* NptNetwork.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACAD144AA48E00C34B69 /* NptNetwork.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC06144AA48D00C34B69 /* NptNetwork.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACAE144AA48E00C34B69 /* NptQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC07144AA48D00C34B69 /* NptQueue.cpp */; }; - E457ACB1144AA48E00C34B69 /* NptQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC08144AA48D00C34B69 /* NptQueue.h */; }; - E457ACB2144AA48E00C34B69 /* NptQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC08144AA48D00C34B69 /* NptQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACB3144AA48E00C34B69 /* NptQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC08144AA48D00C34B69 /* NptQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACB4144AA48E00C34B69 /* NptReferences.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC09144AA48D00C34B69 /* NptReferences.h */; }; - E457ACB5144AA48E00C34B69 /* NptReferences.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC09144AA48D00C34B69 /* NptReferences.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACB6144AA48E00C34B69 /* NptReferences.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC09144AA48D00C34B69 /* NptReferences.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACB7144AA48E00C34B69 /* NptResults.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0A144AA48D00C34B69 /* NptResults.h */; }; - E457ACB8144AA48E00C34B69 /* NptResults.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0A144AA48D00C34B69 /* NptResults.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACB9144AA48E00C34B69 /* NptResults.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0A144AA48D00C34B69 /* NptResults.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACBA144AA48E00C34B69 /* NptRingBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC0B144AA48D00C34B69 /* NptRingBuffer.cpp */; }; - E457ACBD144AA48E00C34B69 /* NptRingBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0C144AA48D00C34B69 /* NptRingBuffer.h */; }; - E457ACBE144AA48E00C34B69 /* NptRingBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0C144AA48D00C34B69 /* NptRingBuffer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACBF144AA48E00C34B69 /* NptRingBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0C144AA48D00C34B69 /* NptRingBuffer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACC0144AA48E00C34B69 /* NptSelectableMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0D144AA48D00C34B69 /* NptSelectableMessageQueue.h */; }; - E457ACC1144AA48E00C34B69 /* NptSelectableMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0D144AA48D00C34B69 /* NptSelectableMessageQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACC2144AA48E00C34B69 /* NptSelectableMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0D144AA48D00C34B69 /* NptSelectableMessageQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACC3144AA48E00C34B69 /* NptSimpleMessageQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC0E144AA48D00C34B69 /* NptSimpleMessageQueue.cpp */; }; - E457ACC6144AA48E00C34B69 /* NptSimpleMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0F144AA48D00C34B69 /* NptSimpleMessageQueue.h */; }; - E457ACC7144AA48E00C34B69 /* NptSimpleMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0F144AA48D00C34B69 /* NptSimpleMessageQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACC8144AA48E00C34B69 /* NptSimpleMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0F144AA48D00C34B69 /* NptSimpleMessageQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACC9144AA48E00C34B69 /* NptSockets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC10144AA48D00C34B69 /* NptSockets.cpp */; }; - E457ACCC144AA48E00C34B69 /* NptSockets.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC11144AA48D00C34B69 /* NptSockets.h */; }; - E457ACCD144AA48E00C34B69 /* NptSockets.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC11144AA48D00C34B69 /* NptSockets.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACCE144AA48E00C34B69 /* NptSockets.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC11144AA48D00C34B69 /* NptSockets.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACCF144AA48E00C34B69 /* NptStack.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC12144AA48D00C34B69 /* NptStack.h */; }; - E457ACD0144AA48E00C34B69 /* NptStack.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC12144AA48D00C34B69 /* NptStack.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACD1144AA48E00C34B69 /* NptStack.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC12144AA48D00C34B69 /* NptStack.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACD2144AA48E00C34B69 /* NptStreams.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC13144AA48D00C34B69 /* NptStreams.cpp */; }; - E457ACD5144AA48E00C34B69 /* NptStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC14144AA48D00C34B69 /* NptStreams.h */; }; - E457ACD6144AA48E00C34B69 /* NptStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC14144AA48D00C34B69 /* NptStreams.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACD7144AA48E00C34B69 /* NptStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC14144AA48D00C34B69 /* NptStreams.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACD8144AA48E00C34B69 /* NptStrings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC15144AA48D00C34B69 /* NptStrings.cpp */; }; - E457ACDB144AA48E00C34B69 /* NptStrings.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC16144AA48D00C34B69 /* NptStrings.h */; }; - E457ACDC144AA48E00C34B69 /* NptStrings.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC16144AA48D00C34B69 /* NptStrings.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACDD144AA48E00C34B69 /* NptStrings.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC16144AA48D00C34B69 /* NptStrings.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACDE144AA48E00C34B69 /* NptSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC17144AA48D00C34B69 /* NptSystem.cpp */; }; - E457ACE1144AA48E00C34B69 /* NptSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC18144AA48D00C34B69 /* NptSystem.h */; }; - E457ACE2144AA48E00C34B69 /* NptSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC18144AA48D00C34B69 /* NptSystem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACE3144AA48E00C34B69 /* NptSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC18144AA48D00C34B69 /* NptSystem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACE4144AA48E00C34B69 /* NptThreads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC19144AA48D00C34B69 /* NptThreads.cpp */; }; - E457ACE7144AA48E00C34B69 /* NptThreads.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1A144AA48D00C34B69 /* NptThreads.h */; }; - E457ACE8144AA48E00C34B69 /* NptThreads.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1A144AA48D00C34B69 /* NptThreads.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACE9144AA48E00C34B69 /* NptThreads.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1A144AA48D00C34B69 /* NptThreads.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACEA144AA48E00C34B69 /* NptTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC1B144AA48D00C34B69 /* NptTime.cpp */; }; - E457ACED144AA48E00C34B69 /* NptTime.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1C144AA48D00C34B69 /* NptTime.h */; }; - E457ACEE144AA48E00C34B69 /* NptTime.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1C144AA48D00C34B69 /* NptTime.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACEF144AA48E00C34B69 /* NptTime.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1C144AA48D00C34B69 /* NptTime.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACF0144AA48E00C34B69 /* NptTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1D144AA48D00C34B69 /* NptTypes.h */; }; - E457ACF1144AA48E00C34B69 /* NptTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1D144AA48D00C34B69 /* NptTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACF2144AA48E00C34B69 /* NptTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1D144AA48D00C34B69 /* NptTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACF3144AA48E00C34B69 /* NptUri.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC1E144AA48D00C34B69 /* NptUri.cpp */; }; - E457ACF6144AA48E00C34B69 /* NptUri.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1F144AA48D00C34B69 /* NptUri.h */; }; - E457ACF7144AA48E00C34B69 /* NptUri.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1F144AA48D00C34B69 /* NptUri.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACF8144AA48E00C34B69 /* NptUri.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1F144AA48D00C34B69 /* NptUri.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACF9144AA48E00C34B69 /* NptUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC20144AA48D00C34B69 /* NptUtils.cpp */; }; - E457ACFC144AA48E00C34B69 /* NptUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC21144AA48D00C34B69 /* NptUtils.h */; }; - E457ACFD144AA48E00C34B69 /* NptUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC21144AA48D00C34B69 /* NptUtils.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACFE144AA48E00C34B69 /* NptUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC21144AA48D00C34B69 /* NptUtils.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457ACFF144AA48E00C34B69 /* NptVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC22144AA48D00C34B69 /* NptVersion.h */; }; - E457AD00144AA48E00C34B69 /* NptVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC22144AA48D00C34B69 /* NptVersion.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AD01144AA48E00C34B69 /* NptVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC22144AA48D00C34B69 /* NptVersion.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AD02144AA48E00C34B69 /* NptXml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC23144AA48D00C34B69 /* NptXml.cpp */; }; - E457AD05144AA48E00C34B69 /* NptXml.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC24144AA48D00C34B69 /* NptXml.h */; }; - E457AD06144AA48E00C34B69 /* NptXml.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC24144AA48D00C34B69 /* NptXml.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AD07144AA48E00C34B69 /* NptXml.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC24144AA48D00C34B69 /* NptXml.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AD08144AA48E00C34B69 /* NptZip.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC25144AA48D00C34B69 /* NptZip.h */; }; - E457AD09144AA48E00C34B69 /* NptZip.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC25144AA48D00C34B69 /* NptZip.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AD0A144AA48E00C34B69 /* NptZip.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC25144AA48D00C34B69 /* NptZip.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AD0B144AA48E00C34B69 /* NptZip.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC26144AA48D00C34B69 /* NptZip.cpp */; }; - E457AD33144AA49500C34B69 /* NptCocoaMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD18144AA49500C34B69 /* NptCocoaMessageQueue.h */; }; - E457AD34144AA49500C34B69 /* NptCocoaMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD18144AA49500C34B69 /* NptCocoaMessageQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AD35144AA49500C34B69 /* NptCocoaMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD18144AA49500C34B69 /* NptCocoaMessageQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AD36144AA49500C34B69 /* NptCocoaMessageQueue.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD19144AA49500C34B69 /* NptCocoaMessageQueue.mm */; }; - E457AD39144AA49500C34B69 /* NptNullSerialPort.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1A144AA49500C34B69 /* NptNullSerialPort.cpp */; }; - E457AD3C144AA49500C34B69 /* NptBsdResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1B144AA49500C34B69 /* NptBsdResolver.cpp */; }; - E457AD3F144AA49500C34B69 /* NptBsdNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1C144AA49500C34B69 /* NptBsdNetwork.cpp */; }; - E457AD42144AA49500C34B69 /* NptBsdSockets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1D144AA49500C34B69 /* NptBsdSockets.cpp */; }; - E457AD45144AA49500C34B69 /* NptPosixTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1E144AA49500C34B69 /* NptPosixTime.cpp */; }; - E457AD48144AA49500C34B69 /* NptPosixDynamicLibraries.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1F144AA49500C34B69 /* NptPosixDynamicLibraries.cpp */; }; - E457AD4B144AA49500C34B69 /* NptPosixNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD20144AA49500C34B69 /* NptPosixNetwork.cpp */; }; - E457AD4E144AA49500C34B69 /* NptPosixFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD21144AA49500C34B69 /* NptPosixFile.cpp */; }; - E457AD51144AA49500C34B69 /* NptPosixQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD22144AA49500C34B69 /* NptPosixQueue.cpp */; }; - E457AD54144AA49500C34B69 /* NptPosixSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD23144AA49500C34B69 /* NptPosixSystem.cpp */; }; - E457AD57144AA49500C34B69 /* NptPosixThreads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD24144AA49500C34B69 /* NptPosixThreads.cpp */; }; - E457AD5A144AA49500C34B69 /* NptSelectableMessageQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD25144AA49500C34B69 /* NptSelectableMessageQueue.cpp */; }; - E457AD60144AA49500C34B69 /* NptStdcDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD27144AA49500C34B69 /* NptStdcDebug.cpp */; }; - E457AD63144AA49500C34B69 /* NptStdcEnvironment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD28144AA49500C34B69 /* NptStdcEnvironment.cpp */; }; - E457AD66144AA49500C34B69 /* NptStdcFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD29144AA49500C34B69 /* NptStdcFile.cpp */; }; - E457AD9F144AA4A000C34B69 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD70144AA4A000C34B69 /* config.h */; }; - E457ADA0144AA4A000C34B69 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD70144AA4A000C34B69 /* config.h */; }; - E457ADA1144AA4A000C34B69 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD70144AA4A000C34B69 /* config.h */; settings = {ATTRIBUTES = (); }; }; - E457ADA2144AA4A000C34B69 /* aes.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD71144AA4A000C34B69 /* aes.c */; }; - E457ADA4144AA4A000C34B69 /* aes.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD71144AA4A000C34B69 /* aes.c */; }; - E457ADA5144AA4A000C34B69 /* bigint.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD72144AA4A000C34B69 /* bigint.c */; }; - E457ADA7144AA4A000C34B69 /* bigint.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD72144AA4A000C34B69 /* bigint.c */; }; - E457ADA8144AA4A000C34B69 /* bigint.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD73144AA4A000C34B69 /* bigint.h */; }; - E457ADA9144AA4A000C34B69 /* bigint.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD73144AA4A000C34B69 /* bigint.h */; }; - E457ADAA144AA4A000C34B69 /* bigint.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD73144AA4A000C34B69 /* bigint.h */; settings = {ATTRIBUTES = (); }; }; - E457ADAB144AA4A000C34B69 /* bigint_impl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD74144AA4A000C34B69 /* bigint_impl.h */; }; - E457ADAC144AA4A000C34B69 /* bigint_impl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD74144AA4A000C34B69 /* bigint_impl.h */; }; - E457ADAD144AA4A000C34B69 /* bigint_impl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD74144AA4A000C34B69 /* bigint_impl.h */; settings = {ATTRIBUTES = (); }; }; - E457ADAE144AA4A000C34B69 /* crypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD75144AA4A000C34B69 /* crypto.h */; }; - E457ADAF144AA4A000C34B69 /* crypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD75144AA4A000C34B69 /* crypto.h */; }; - E457ADB0144AA4A000C34B69 /* crypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD75144AA4A000C34B69 /* crypto.h */; settings = {ATTRIBUTES = (); }; }; - E457ADB1144AA4A000C34B69 /* crypto_misc.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD76144AA4A000C34B69 /* crypto_misc.c */; }; - E457ADB3144AA4A000C34B69 /* crypto_misc.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD76144AA4A000C34B69 /* crypto_misc.c */; }; - E457ADB4144AA4A000C34B69 /* hmac.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD77144AA4A000C34B69 /* hmac.c */; }; - E457ADB6144AA4A000C34B69 /* hmac.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD77144AA4A000C34B69 /* hmac.c */; }; - E457ADB7144AA4A000C34B69 /* md2.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD78144AA4A000C34B69 /* md2.c */; }; - E457ADB9144AA4A000C34B69 /* md2.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD78144AA4A000C34B69 /* md2.c */; }; - E457ADBA144AA4A000C34B69 /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD79144AA4A000C34B69 /* md5.c */; }; - E457ADBC144AA4A000C34B69 /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD79144AA4A000C34B69 /* md5.c */; }; - E457ADBD144AA4A000C34B69 /* rc4.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7A144AA4A000C34B69 /* rc4.c */; }; - E457ADBF144AA4A000C34B69 /* rc4.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7A144AA4A000C34B69 /* rc4.c */; }; - E457ADC0144AA4A000C34B69 /* rsa.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7B144AA4A000C34B69 /* rsa.c */; }; - E457ADC2144AA4A000C34B69 /* rsa.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7B144AA4A000C34B69 /* rsa.c */; }; - E457ADC3144AA4A000C34B69 /* sha1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7C144AA4A000C34B69 /* sha1.c */; }; - E457ADC5144AA4A000C34B69 /* sha1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7C144AA4A000C34B69 /* sha1.c */; }; - E457ADC6144AA4A000C34B69 /* asn1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7D144AA4A000C34B69 /* asn1.c */; }; - E457ADC8144AA4A000C34B69 /* asn1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7D144AA4A000C34B69 /* asn1.c */; }; - E457ADC9144AA4A000C34B69 /* cert.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7E144AA4A000C34B69 /* cert.h */; }; - E457ADCA144AA4A000C34B69 /* cert.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7E144AA4A000C34B69 /* cert.h */; }; - E457ADCB144AA4A000C34B69 /* cert.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7E144AA4A000C34B69 /* cert.h */; settings = {ATTRIBUTES = (); }; }; - E457ADCC144AA4A000C34B69 /* crypto_misc.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7F144AA4A000C34B69 /* crypto_misc.h */; }; - E457ADCD144AA4A000C34B69 /* crypto_misc.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7F144AA4A000C34B69 /* crypto_misc.h */; }; - E457ADCE144AA4A000C34B69 /* crypto_misc.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7F144AA4A000C34B69 /* crypto_misc.h */; settings = {ATTRIBUTES = (); }; }; - E457ADCF144AA4A000C34B69 /* gen_cert.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD80144AA4A000C34B69 /* gen_cert.c */; }; - E457ADD1144AA4A000C34B69 /* gen_cert.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD80144AA4A000C34B69 /* gen_cert.c */; }; - E457ADD2144AA4A000C34B69 /* loader.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD81144AA4A000C34B69 /* loader.c */; }; - E457ADD4144AA4A000C34B69 /* loader.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD81144AA4A000C34B69 /* loader.c */; }; - E457ADD5144AA4A000C34B69 /* os_port.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD82144AA4A000C34B69 /* os_port.h */; }; - E457ADD6144AA4A000C34B69 /* os_port.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD82144AA4A000C34B69 /* os_port.h */; }; - E457ADD7144AA4A000C34B69 /* os_port.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD82144AA4A000C34B69 /* os_port.h */; settings = {ATTRIBUTES = (); }; }; - E457ADD8144AA4A000C34B69 /* p12.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD83144AA4A000C34B69 /* p12.c */; }; - E457ADDA144AA4A000C34B69 /* p12.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD83144AA4A000C34B69 /* p12.c */; }; - E457ADDB144AA4A000C34B69 /* ssl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD84144AA4A000C34B69 /* ssl.h */; }; - E457ADDC144AA4A000C34B69 /* ssl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD84144AA4A000C34B69 /* ssl.h */; }; - E457ADDD144AA4A000C34B69 /* ssl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD84144AA4A000C34B69 /* ssl.h */; settings = {ATTRIBUTES = (); }; }; - E457ADDE144AA4A000C34B69 /* tls1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD85144AA4A000C34B69 /* tls1.c */; }; - E457ADE0144AA4A000C34B69 /* tls1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD85144AA4A000C34B69 /* tls1.c */; }; - E457ADE1144AA4A000C34B69 /* tls1.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD86144AA4A000C34B69 /* tls1.h */; }; - E457ADE2144AA4A000C34B69 /* tls1.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD86144AA4A000C34B69 /* tls1.h */; }; - E457ADE3144AA4A000C34B69 /* tls1.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD86144AA4A000C34B69 /* tls1.h */; settings = {ATTRIBUTES = (); }; }; - E457ADE4144AA4A000C34B69 /* tls1_clnt.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD87144AA4A000C34B69 /* tls1_clnt.c */; }; - E457ADE6144AA4A000C34B69 /* tls1_clnt.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD87144AA4A000C34B69 /* tls1_clnt.c */; }; - E457ADE7144AA4A000C34B69 /* tls1_svr.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD88144AA4A000C34B69 /* tls1_svr.c */; }; - E457ADE9144AA4A000C34B69 /* tls1_svr.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD88144AA4A000C34B69 /* tls1_svr.c */; }; - E457ADEA144AA4A000C34B69 /* version.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD89144AA4A000C34B69 /* version.h */; }; - E457ADEB144AA4A000C34B69 /* version.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD89144AA4A000C34B69 /* version.h */; }; - E457ADEC144AA4A000C34B69 /* version.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD89144AA4A000C34B69 /* version.h */; settings = {ATTRIBUTES = (); }; }; - E457ADED144AA4A000C34B69 /* x509.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8A144AA4A000C34B69 /* x509.c */; }; - E457ADEF144AA4A000C34B69 /* x509.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8A144AA4A000C34B69 /* x509.c */; }; - E457ADF0144AA4A000C34B69 /* compress.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8B144AA4A000C34B69 /* compress.c */; }; - E457ADF3144AA4A000C34B69 /* adler32.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8C144AA4A000C34B69 /* adler32.c */; }; - E457ADF6144AA4A000C34B69 /* crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8D144AA4A000C34B69 /* crc32.c */; }; - E457ADF9144AA4A000C34B69 /* crc32.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD8E144AA4A000C34B69 /* crc32.h */; }; - E457ADFA144AA4A000C34B69 /* crc32.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD8E144AA4A000C34B69 /* crc32.h */; }; - E457ADFB144AA4A000C34B69 /* crc32.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD8E144AA4A000C34B69 /* crc32.h */; settings = {ATTRIBUTES = (); }; }; - E457ADFC144AA4A000C34B69 /* deflate.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8F144AA4A000C34B69 /* deflate.c */; }; - E457ADFF144AA4A000C34B69 /* deflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD90144AA4A000C34B69 /* deflate.h */; }; - E457AE00144AA4A000C34B69 /* deflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD90144AA4A000C34B69 /* deflate.h */; }; - E457AE01144AA4A000C34B69 /* deflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD90144AA4A000C34B69 /* deflate.h */; settings = {ATTRIBUTES = (); }; }; - E457AE02144AA4A000C34B69 /* infback.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD91144AA4A000C34B69 /* infback.c */; }; - E457AE05144AA4A000C34B69 /* inffast.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD92144AA4A000C34B69 /* inffast.c */; }; - E457AE08144AA4A000C34B69 /* inffast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD93144AA4A000C34B69 /* inffast.h */; }; - E457AE09144AA4A000C34B69 /* inffast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD93144AA4A000C34B69 /* inffast.h */; }; - E457AE0A144AA4A000C34B69 /* inffast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD93144AA4A000C34B69 /* inffast.h */; settings = {ATTRIBUTES = (); }; }; - E457AE0B144AA4A000C34B69 /* inffixed.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD94144AA4A000C34B69 /* inffixed.h */; }; - E457AE0C144AA4A000C34B69 /* inffixed.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD94144AA4A000C34B69 /* inffixed.h */; }; - E457AE0D144AA4A000C34B69 /* inffixed.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD94144AA4A000C34B69 /* inffixed.h */; settings = {ATTRIBUTES = (); }; }; - E457AE0E144AA4A000C34B69 /* inflate.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD95144AA4A000C34B69 /* inflate.c */; }; - E457AE11144AA4A000C34B69 /* inflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD96144AA4A000C34B69 /* inflate.h */; }; - E457AE12144AA4A000C34B69 /* inflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD96144AA4A000C34B69 /* inflate.h */; }; - E457AE13144AA4A000C34B69 /* inflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD96144AA4A000C34B69 /* inflate.h */; settings = {ATTRIBUTES = (); }; }; - E457AE14144AA4A000C34B69 /* inftrees.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD97144AA4A000C34B69 /* inftrees.c */; }; - E457AE17144AA4A000C34B69 /* inftrees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD98144AA4A000C34B69 /* inftrees.h */; }; - E457AE18144AA4A000C34B69 /* inftrees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD98144AA4A000C34B69 /* inftrees.h */; }; - E457AE19144AA4A100C34B69 /* inftrees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD98144AA4A000C34B69 /* inftrees.h */; settings = {ATTRIBUTES = (); }; }; - E457AE1A144AA4A100C34B69 /* trees.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD99144AA4A000C34B69 /* trees.c */; }; - E457AE1D144AA4A100C34B69 /* trees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9A144AA4A000C34B69 /* trees.h */; }; - E457AE1E144AA4A100C34B69 /* trees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9A144AA4A000C34B69 /* trees.h */; }; - E457AE1F144AA4A100C34B69 /* trees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9A144AA4A000C34B69 /* trees.h */; settings = {ATTRIBUTES = (); }; }; - E457AE20144AA4A100C34B69 /* zconf.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9B144AA4A000C34B69 /* zconf.h */; }; - E457AE21144AA4A100C34B69 /* zconf.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9B144AA4A000C34B69 /* zconf.h */; }; - E457AE22144AA4A100C34B69 /* zconf.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9B144AA4A000C34B69 /* zconf.h */; settings = {ATTRIBUTES = (); }; }; - E457AE23144AA4A100C34B69 /* zlib.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9C144AA4A000C34B69 /* zlib.h */; }; - E457AE24144AA4A100C34B69 /* zlib.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9C144AA4A000C34B69 /* zlib.h */; }; - E457AE25144AA4A100C34B69 /* zlib.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9C144AA4A000C34B69 /* zlib.h */; settings = {ATTRIBUTES = (); }; }; - E457AE26144AA4A100C34B69 /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD9D144AA4A000C34B69 /* zutil.c */; }; - E457AE29144AA4A100C34B69 /* zutil.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9E144AA4A000C34B69 /* zutil.h */; }; - E457AE2A144AA4A100C34B69 /* zutil.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9E144AA4A000C34B69 /* zutil.h */; }; - E457AE2B144AA4A100C34B69 /* zutil.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9E144AA4A000C34B69 /* zutil.h */; settings = {ATTRIBUTES = (); }; }; - E457AEFD144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFB144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h */; }; - E457AEFE144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFB144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AEFF144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFB144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AF00144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFC144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h */; }; - E457AF01144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFC144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E457AF02144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFC144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E1B14482FCB00CE9E65 /* PltDeviceData.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155090D6FFDEB00899579 /* PltDeviceData.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E1C14482FCB00CE9E65 /* PltDeviceHost.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550B0D6FFDEB00899579 /* PltDeviceHost.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E1D14482FCB00CE9E65 /* PltEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550F0D6FFDEB00899579 /* PltEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E1E14482FCB00CE9E65 /* PltHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155110D6FFDEB00899579 /* PltHttp.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E1F14482FCB00CE9E65 /* PltHttpClientTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155130D6FFDEB00899579 /* PltHttpClientTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2014482FCB00CE9E65 /* PltHttpServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155150D6FFDEB00899579 /* PltHttpServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2114482FCB00CE9E65 /* PltHttpServerTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155180D6FFDEB00899579 /* PltHttpServerTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2214482FCB00CE9E65 /* PltService.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155220D6FFDEB00899579 /* PltService.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2314482FCB00CE9E65 /* PltSsdp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155240D6FFDEB00899579 /* PltSsdp.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2414482FCB00CE9E65 /* PltStateVariable.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155270D6FFDEB00899579 /* PltStateVariable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2514482FCB00CE9E65 /* PltTaskManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552B0D6FFDEB00899579 /* PltTaskManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2614482FCB00CE9E65 /* PltThreadTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552D0D6FFDEB00899579 /* PltThreadTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2714482FCB00CE9E65 /* PltUPnP.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552F0D6FFDEB00899579 /* PltUPnP.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2814482FCB00CE9E65 /* PltUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155320D6FFDEB00899579 /* PltUtilities.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2914482FCB00CE9E65 /* PltXbox360.h in Headers */ = {isa = PBXBuildFile; fileRef = E426B3281130DF9500C58542 /* PltXbox360.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2A14482FCB00CE9E65 /* PltMediaConnect.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155970D6FFE4C00899579 /* PltMediaConnect.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2B14482FCB00CE9E65 /* PltMediaController.h in Headers */ = {isa = PBXBuildFile; fileRef = E431559E0D6FFE4C00899579 /* PltMediaController.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2C14482FCB00CE9E65 /* PltMediaRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A10D6FFE4C00899579 /* PltMediaRenderer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2D14482FCB00CE9E65 /* PltDidl.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A90D6FFE4C00899579 /* PltDidl.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2E14482FCB00CE9E65 /* PltFileMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AB0D6FFE4C00899579 /* PltFileMediaServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E2F14482FCB00CE9E65 /* PltMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AD0D6FFE4C00899579 /* PltMediaBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3014482FCB00CE9E65 /* PltMediaCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B00D6FFE4C00899579 /* PltMediaCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3114482FCB00CE9E65 /* PltMediaItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B20D6FFE4C00899579 /* PltMediaItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3214482FCB00CE9E65 /* PltMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B60D6FFE4C00899579 /* PltMediaServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3314482FCB00CE9E65 /* PltSyncMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B90D6FFE4C00899579 /* PltSyncMediaBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3414482FCB00CE9E65 /* PltMediaServerObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1512417AA800000109 /* PltMediaServerObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3514482FCB00CE9E65 /* PltUPnPObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1712417AA800000109 /* PltUPnPObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3614482FCB00CE9E65 /* PltDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E311E6F0D90024CAD4 /* PltDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3714482FCB00CE9E65 /* PltStreamPump.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E511E6F0D90024CAD4 /* PltStreamPump.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3814482FCB00CE9E65 /* PltFrameBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C699F11E6ED710024CAD4 /* PltFrameBuffer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3914482FCB00CE9E65 /* PltFrameServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A111E6ED710024CAD4 /* PltFrameServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3A14482FCB00CE9E65 /* PltFrameStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A311E6ED710024CAD4 /* PltFrameStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3B14482FCB00CE9E65 /* PltLeaks.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A511E6ED710024CAD4 /* PltLeaks.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3C14482FCB00CE9E65 /* PltMetadataHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A711E6ED710024CAD4 /* PltMetadataHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3D14482FCB00CE9E65 /* PltRingBufferStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A911E6ED710024CAD4 /* PltRingBufferStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E3E14482FCB00CE9E65 /* Platinum.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFD101E1AEF007A9CE7 /* Platinum.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E4014482FCB00CE9E65 /* PltVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFF101E1AEF007A9CE7 /* PltVersion.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E4114482FCB00CE9E65 /* PltMimeType.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4DA713B51CB600359E06 /* PltMimeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E4214482FCB00CE9E65 /* PltProtocolInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4D9013B51BAC00359E06 /* PltProtocolInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E4314482FCB00CE9E65 /* PltAction.h in Headers */ = {isa = PBXBuildFile; fileRef = E43154FF0D6FFDEB00899579 /* PltAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E4414482FCB00CE9E65 /* PltArgument.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155010D6FFDEB00899579 /* PltArgument.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E4514482FCB00CE9E65 /* PltConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E4BA7CBB0FE2200700A4D16B /* PltConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E4614482FCB00CE9E65 /* PltCtrlPoint.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155030D6FFDEB00899579 /* PltCtrlPoint.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E4714482FCB00CE9E65 /* PltCtrlPointTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155050D6FFDEB00899579 /* PltCtrlPointTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E0E4814482FCB00CE9E65 /* PltDatagramStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155070D6FFDEB00899579 /* PltDatagramStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E95B5153F92F100ED95D5 /* NptNullAutoreleasePool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E46E95B4153F92F100ED95D5 /* NptNullAutoreleasePool.cpp */; }; - E46E95B8153F9D2100ED95D5 /* NptCocoaEnviroment.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD16144AA49500C34B69 /* NptCocoaEnviroment.mm */; }; - E46E95BC153F9D3800ED95D5 /* NptStdcConsole.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E46E95BB153F9D3800ED95D5 /* NptStdcConsole.cpp */; }; - E46E95BE153F9E1400ED95D5 /* NptAutoreleasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = E46E95BD153F9E1400ED95D5 /* NptAutoreleasePool.h */; }; - E46E95BF153F9E1400ED95D5 /* NptAutoreleasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = E46E95BD153F9E1400ED95D5 /* NptAutoreleasePool.h */; }; - E46E95C0153F9E1400ED95D5 /* NptAutoreleasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = E46E95BD153F9E1400ED95D5 /* NptAutoreleasePool.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E46E95C1153F9E1400ED95D5 /* NptAutoreleasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = E46E95BD153F9E1400ED95D5 /* NptAutoreleasePool.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E48F89831632007E009E46A5 /* PltAction.h in Headers */ = {isa = PBXBuildFile; fileRef = E43154FF0D6FFDEB00899579 /* PltAction.h */; }; - E48F89841632007E009E46A5 /* PltArgument.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155010D6FFDEB00899579 /* PltArgument.h */; }; - E48F89851632007E009E46A5 /* PltCtrlPoint.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155030D6FFDEB00899579 /* PltCtrlPoint.h */; }; - E48F89861632007E009E46A5 /* PltCtrlPointTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155050D6FFDEB00899579 /* PltCtrlPointTask.h */; }; - E48F89871632007E009E46A5 /* PltDatagramStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155070D6FFDEB00899579 /* PltDatagramStream.h */; }; - E48F89881632007E009E46A5 /* PltDeviceData.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155090D6FFDEB00899579 /* PltDeviceData.h */; }; - E48F89891632007E009E46A5 /* PltDeviceHost.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550B0D6FFDEB00899579 /* PltDeviceHost.h */; }; - E48F898A1632007E009E46A5 /* PltEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550F0D6FFDEB00899579 /* PltEvent.h */; }; - E48F898B1632007E009E46A5 /* PltHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155110D6FFDEB00899579 /* PltHttp.h */; }; - E48F898C1632007E009E46A5 /* PltHttpClientTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155130D6FFDEB00899579 /* PltHttpClientTask.h */; }; - E48F898D1632007E009E46A5 /* PltHttpServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155150D6FFDEB00899579 /* PltHttpServer.h */; }; - E48F898E1632007E009E46A5 /* PltHttpServerTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155180D6FFDEB00899579 /* PltHttpServerTask.h */; }; - E48F898F1632007E009E46A5 /* PltService.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155220D6FFDEB00899579 /* PltService.h */; }; - E48F89901632007E009E46A5 /* PltSsdp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155240D6FFDEB00899579 /* PltSsdp.h */; }; - E48F89911632007E009E46A5 /* PltStateVariable.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155270D6FFDEB00899579 /* PltStateVariable.h */; }; - E48F89921632007E009E46A5 /* PltTaskManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552B0D6FFDEB00899579 /* PltTaskManager.h */; }; - E48F89931632007E009E46A5 /* PltThreadTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552D0D6FFDEB00899579 /* PltThreadTask.h */; }; - E48F89941632007E009E46A5 /* PltUPnP.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552F0D6FFDEB00899579 /* PltUPnP.h */; }; - E48F89951632007E009E46A5 /* PltUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155320D6FFDEB00899579 /* PltUtilities.h */; }; - E48F89961632007E009E46A5 /* PltMediaController.h in Headers */ = {isa = PBXBuildFile; fileRef = E431559E0D6FFE4C00899579 /* PltMediaController.h */; }; - E48F89971632007E009E46A5 /* PltMediaRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A10D6FFE4C00899579 /* PltMediaRenderer.h */; }; - E48F89981632007E009E46A5 /* PltDidl.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A90D6FFE4C00899579 /* PltDidl.h */; }; - E48F89991632007E009E46A5 /* PltFileMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AB0D6FFE4C00899579 /* PltFileMediaServer.h */; }; - E48F899A1632007E009E46A5 /* PltMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AD0D6FFE4C00899579 /* PltMediaBrowser.h */; }; - E48F899B1632007E009E46A5 /* PltMediaCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B00D6FFE4C00899579 /* PltMediaCache.h */; }; - E48F899C1632007E009E46A5 /* PltMediaItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B20D6FFE4C00899579 /* PltMediaItem.h */; }; - E48F899D1632007E009E46A5 /* PltMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B60D6FFE4C00899579 /* PltMediaServer.h */; }; - E48F899E1632007E009E46A5 /* PltSyncMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B90D6FFE4C00899579 /* PltSyncMediaBrowser.h */; }; - E48F899F1632007E009E46A5 /* PltConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E4BA7CBB0FE2200700A4D16B /* PltConstants.h */; }; - E48F89A01632007E009E46A5 /* Platinum.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFD101E1AEF007A9CE7 /* Platinum.h */; }; - E48F89A11632007E009E46A5 /* PltVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFF101E1AEF007A9CE7 /* PltVersion.h */; }; - E48F89A21632007E009E46A5 /* PltXbox360.h in Headers */ = {isa = PBXBuildFile; fileRef = E426B3281130DF9500C58542 /* PltXbox360.h */; }; - E48F89A31632007E009E46A5 /* PltMediaConnect.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155970D6FFE4C00899579 /* PltMediaConnect.h */; }; - E48F89A41632007E009E46A5 /* PltFrameBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C699F11E6ED710024CAD4 /* PltFrameBuffer.h */; }; - E48F89A51632007E009E46A5 /* PltFrameServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A111E6ED710024CAD4 /* PltFrameServer.h */; }; - E48F89A61632007E009E46A5 /* PltFrameStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A311E6ED710024CAD4 /* PltFrameStream.h */; }; - E48F89A71632007E009E46A5 /* PltLeaks.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A511E6ED710024CAD4 /* PltLeaks.h */; }; - E48F89A81632007E009E46A5 /* PltMetadataHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A711E6ED710024CAD4 /* PltMetadataHandler.h */; }; - E48F89A91632007E009E46A5 /* PltRingBufferStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A911E6ED710024CAD4 /* PltRingBufferStream.h */; }; - E48F89AA1632007E009E46A5 /* PltDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E311E6F0D90024CAD4 /* PltDownloader.h */; }; - E48F89AB1632007E009E46A5 /* PltStreamPump.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E511E6F0D90024CAD4 /* PltStreamPump.h */; }; - E48F89AC1632007E009E46A5 /* PltMediaServerObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1512417AA800000109 /* PltMediaServerObject.h */; }; - E48F89AD1632007E009E46A5 /* PltUPnPObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1712417AA800000109 /* PltUPnPObject.h */; }; - E48F89AE1632007E009E46A5 /* PltProtocolInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4D9013B51BAC00359E06 /* PltProtocolInfo.h */; }; - E48F89AF1632007E009E46A5 /* PltMimeType.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4DA713B51CB600359E06 /* PltMimeType.h */; }; - E48F89B01632007E009E46A5 /* NptHash.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDB144AA48D00C34B69 /* NptHash.h */; }; - E48F89B11632007E009E46A5 /* NptCrypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDD144AA48D00C34B69 /* NptCrypto.h */; }; - E48F89B21632007E009E46A5 /* NptDigest.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDF144AA48D00C34B69 /* NptDigest.h */; }; - E48F89B31632007E009E46A5 /* NptDynamicCast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE0144AA48D00C34B69 /* NptDynamicCast.h */; }; - E48F89B41632007E009E46A5 /* NptTls.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE3144AA48D00C34B69 /* NptTls.h */; }; - E48F89B51632007E009E46A5 /* NptDynamicLibraries.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE5144AA48D00C34B69 /* NptDynamicLibraries.h */; }; - E48F89B61632007E009E46A5 /* NptSerialPort.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE6144AA48D00C34B69 /* NptSerialPort.h */; }; - E48F89B71632007E009E46A5 /* Neptune.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE8144AA48D00C34B69 /* Neptune.h */; }; - E48F89B81632007E009E46A5 /* NptArray.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE9144AA48D00C34B69 /* NptArray.h */; }; - E48F89B91632007E009E46A5 /* NptBase64.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEB144AA48D00C34B69 /* NptBase64.h */; }; - E48F89BA1632007E009E46A5 /* NptBufferedStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABED144AA48D00C34B69 /* NptBufferedStreams.h */; }; - E48F89BB1632007E009E46A5 /* NptCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEF144AA48D00C34B69 /* NptCommon.h */; }; - E48F89BC1632007E009E46A5 /* NptConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF0144AA48D00C34B69 /* NptConfig.h */; }; - E48F89BD1632007E009E46A5 /* NptConsole.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF2144AA48D00C34B69 /* NptConsole.h */; }; - E48F89BE1632007E009E46A5 /* NptConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF3144AA48D00C34B69 /* NptConstants.h */; }; - E48F89BF1632007E009E46A5 /* NptDataBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF5144AA48D00C34B69 /* NptDataBuffer.h */; }; - E48F89C01632007E009E46A5 /* NptDebug.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF7144AA48D00C34B69 /* NptDebug.h */; }; - E48F89C11632007E009E46A5 /* NptDefs.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF8144AA48D00C34B69 /* NptDefs.h */; }; - E48F89C21632007E009E46A5 /* NptFile.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFA144AA48D00C34B69 /* NptFile.h */; }; - E48F89C31632007E009E46A5 /* NptHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFC144AA48D00C34B69 /* NptHttp.h */; }; - E48F89C41632007E009E46A5 /* NptInterfaces.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFD144AA48D00C34B69 /* NptInterfaces.h */; }; - E48F89C51632007E009E46A5 /* NptList.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFF144AA48D00C34B69 /* NptList.h */; }; - E48F89C61632007E009E46A5 /* NptLogging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC01144AA48D00C34B69 /* NptLogging.h */; }; - E48F89C71632007E009E46A5 /* NptMap.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC02144AA48D00C34B69 /* NptMap.h */; }; - E48F89C81632007E009E46A5 /* NptMessaging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC04144AA48D00C34B69 /* NptMessaging.h */; }; - E48F89C91632007E009E46A5 /* NptNetwork.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC06144AA48D00C34B69 /* NptNetwork.h */; }; - E48F89CA1632007E009E46A5 /* NptQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC08144AA48D00C34B69 /* NptQueue.h */; }; - E48F89CB1632007E009E46A5 /* NptReferences.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC09144AA48D00C34B69 /* NptReferences.h */; }; - E48F89CC1632007E009E46A5 /* NptResults.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0A144AA48D00C34B69 /* NptResults.h */; }; - E48F89CD1632007E009E46A5 /* NptRingBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0C144AA48D00C34B69 /* NptRingBuffer.h */; }; - E48F89CE1632007E009E46A5 /* NptSelectableMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0D144AA48D00C34B69 /* NptSelectableMessageQueue.h */; }; - E48F89CF1632007E009E46A5 /* NptSimpleMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0F144AA48D00C34B69 /* NptSimpleMessageQueue.h */; }; - E48F89D01632007E009E46A5 /* NptSockets.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC11144AA48D00C34B69 /* NptSockets.h */; }; - E48F89D11632007E009E46A5 /* NptStack.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC12144AA48D00C34B69 /* NptStack.h */; }; - E48F89D21632007E009E46A5 /* NptStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC14144AA48D00C34B69 /* NptStreams.h */; }; - E48F89D31632007E009E46A5 /* NptStrings.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC16144AA48D00C34B69 /* NptStrings.h */; }; - E48F89D41632007E009E46A5 /* NptSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC18144AA48D00C34B69 /* NptSystem.h */; }; - E48F89D51632007E009E46A5 /* NptThreads.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1A144AA48D00C34B69 /* NptThreads.h */; }; - E48F89D61632007E009E46A5 /* NptTime.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1C144AA48D00C34B69 /* NptTime.h */; }; - E48F89D71632007E009E46A5 /* NptTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1D144AA48D00C34B69 /* NptTypes.h */; }; - E48F89D81632007E009E46A5 /* NptUri.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1F144AA48D00C34B69 /* NptUri.h */; }; - E48F89D91632007E009E46A5 /* NptUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC21144AA48D00C34B69 /* NptUtils.h */; }; - E48F89DA1632007E009E46A5 /* NptVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC22144AA48D00C34B69 /* NptVersion.h */; }; - E48F89DB1632007E009E46A5 /* NptXml.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC24144AA48D00C34B69 /* NptXml.h */; }; - E48F89DC1632007E009E46A5 /* NptZip.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC25144AA48D00C34B69 /* NptZip.h */; }; - E48F89DD1632007E009E46A5 /* NptCocoaMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD18144AA49500C34B69 /* NptCocoaMessageQueue.h */; }; - E48F89DE1632007E009E46A5 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD70144AA4A000C34B69 /* config.h */; }; - E48F89DF1632007E009E46A5 /* bigint.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD73144AA4A000C34B69 /* bigint.h */; }; - E48F89E01632007E009E46A5 /* bigint_impl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD74144AA4A000C34B69 /* bigint_impl.h */; }; - E48F89E11632007E009E46A5 /* crypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD75144AA4A000C34B69 /* crypto.h */; }; - E48F89E21632007E009E46A5 /* cert.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7E144AA4A000C34B69 /* cert.h */; }; - E48F89E31632007E009E46A5 /* crypto_misc.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7F144AA4A000C34B69 /* crypto_misc.h */; }; - E48F89E41632007E009E46A5 /* os_port.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD82144AA4A000C34B69 /* os_port.h */; }; - E48F89E51632007E009E46A5 /* ssl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD84144AA4A000C34B69 /* ssl.h */; }; - E48F89E61632007E009E46A5 /* tls1.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD86144AA4A000C34B69 /* tls1.h */; }; - E48F89E71632007E009E46A5 /* version.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD89144AA4A000C34B69 /* version.h */; }; - E48F89E81632007E009E46A5 /* crc32.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD8E144AA4A000C34B69 /* crc32.h */; }; - E48F89E91632007E009E46A5 /* deflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD90144AA4A000C34B69 /* deflate.h */; }; - E48F89EA1632007E009E46A5 /* inffast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD93144AA4A000C34B69 /* inffast.h */; }; - E48F89EB1632007E009E46A5 /* inffixed.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD94144AA4A000C34B69 /* inffixed.h */; }; - E48F89EC1632007E009E46A5 /* inflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD96144AA4A000C34B69 /* inflate.h */; }; - E48F89ED1632007E009E46A5 /* inftrees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD98144AA4A000C34B69 /* inftrees.h */; }; - E48F89EE1632007E009E46A5 /* trees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9A144AA4A000C34B69 /* trees.h */; }; - E48F89EF1632007E009E46A5 /* zconf.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9B144AA4A000C34B69 /* zconf.h */; }; - E48F89F01632007E009E46A5 /* zlib.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9C144AA4A000C34B69 /* zlib.h */; }; - E48F89F11632007E009E46A5 /* zutil.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9E144AA4A000C34B69 /* zutil.h */; }; - E48F89F21632007E009E46A5 /* NptTlsDefaultTrustAnchorsBase.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFB144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h */; }; - E48F89F31632007E009E46A5 /* NptTlsDefaultTrustAnchorsExtended.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFC144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h */; }; - E48F89F41632007E009E46A5 /* NptAutoreleasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = E46E95BD153F9E1400ED95D5 /* NptAutoreleasePool.h */; }; - E48F89F61632007E009E46A5 /* PltAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43154FE0D6FFDEB00899579 /* PltAction.cpp */; }; - E48F89F71632007E009E46A5 /* PltArgument.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155000D6FFDEB00899579 /* PltArgument.cpp */; }; - E48F89F81632007E009E46A5 /* PltConstants.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4BA7CBC0FE2200700A4D16B /* PltConstants.cpp */; }; - E48F89F91632007E009E46A5 /* PltCtrlPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155020D6FFDEB00899579 /* PltCtrlPoint.cpp */; }; - E48F89FA1632007E009E46A5 /* PltCtrlPointTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155040D6FFDEB00899579 /* PltCtrlPointTask.cpp */; }; - E48F89FB1632007E009E46A5 /* PltDatagramStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155060D6FFDEB00899579 /* PltDatagramStream.cpp */; }; - E48F89FC1632007E009E46A5 /* PltDeviceData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155080D6FFDEB00899579 /* PltDeviceData.cpp */; }; - E48F89FD1632007E009E46A5 /* PltDeviceHost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550A0D6FFDEB00899579 /* PltDeviceHost.cpp */; }; - E48F89FE1632007E009E46A5 /* PltDidl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A80D6FFE4C00899579 /* PltDidl.cpp */; }; - E48F89FF1632007E009E46A5 /* PltEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550E0D6FFDEB00899579 /* PltEvent.cpp */; }; - E48F8A001632007E009E46A5 /* PltFileMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AA0D6FFE4C00899579 /* PltFileMediaServer.cpp */; }; - E48F8A011632007E009E46A5 /* PltHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155100D6FFDEB00899579 /* PltHttp.cpp */; }; - E48F8A021632007E009E46A5 /* PltHttpClientTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155120D6FFDEB00899579 /* PltHttpClientTask.cpp */; }; - E48F8A031632007E009E46A5 /* PltHttpServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155140D6FFDEB00899579 /* PltHttpServer.cpp */; }; - E48F8A041632007E009E46A5 /* PltHttpServerTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155170D6FFDEB00899579 /* PltHttpServerTask.cpp */; }; - E48F8A051632007E009E46A5 /* PltIconsData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4F7E9060FE4B12A00BEDFA6 /* PltIconsData.cpp */; }; - E48F8A061632007E009E46A5 /* PltMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AC0D6FFE4C00899579 /* PltMediaBrowser.cpp */; }; - E48F8A071632007E009E46A5 /* PltMediaCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AF0D6FFE4C00899579 /* PltMediaCache.cpp */; }; - E48F8A081632007E009E46A5 /* PltMediaController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431559D0D6FFE4C00899579 /* PltMediaController.cpp */; }; - E48F8A091632007E009E46A5 /* PltMediaItem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B10D6FFE4C00899579 /* PltMediaItem.cpp */; }; - E48F8A0A1632007E009E46A5 /* PltMediaRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A00D6FFE4C00899579 /* PltMediaRenderer.cpp */; }; - E48F8A0B1632007E009E46A5 /* PltMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B50D6FFE4C00899579 /* PltMediaServer.cpp */; }; - E48F8A0C1632007E009E46A5 /* PltService.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155210D6FFDEB00899579 /* PltService.cpp */; }; - E48F8A0D1632007E009E46A5 /* PltSsdp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155230D6FFDEB00899579 /* PltSsdp.cpp */; }; - E48F8A0E1632007E009E46A5 /* PltStateVariable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155260D6FFDEB00899579 /* PltStateVariable.cpp */; }; - E48F8A0F1632007E009E46A5 /* PltSyncMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B80D6FFE4C00899579 /* PltSyncMediaBrowser.cpp */; }; - E48F8A101632007E009E46A5 /* PltTaskManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552A0D6FFDEB00899579 /* PltTaskManager.cpp */; }; - E48F8A111632007E009E46A5 /* PltThreadTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552C0D6FFDEB00899579 /* PltThreadTask.cpp */; }; - E48F8A121632007E009E46A5 /* PltUPnP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552E0D6FFDEB00899579 /* PltUPnP.cpp */; }; - E48F8A131632007E009E46A5 /* AVTransportSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB76108596B900E6ADE2 /* AVTransportSCPD.cpp */; }; - E48F8A141632007E009E46A5 /* RdrConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB77108596B900E6ADE2 /* RdrConnectionManagerSCPD.cpp */; }; - E48F8A151632007E009E46A5 /* RenderingControlSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB78108596B900E6ADE2 /* RenderingControlSCPD.cpp */; }; - E48F8A161632007E009E46A5 /* ConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB82108596E400E6ADE2 /* ConnectionManagerSCPD.cpp */; }; - E48F8A171632007E009E46A5 /* ContentDirectorywSearchSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB83108596E400E6ADE2 /* ContentDirectorywSearchSCPD.cpp */; }; - E48F8A181632007E009E46A5 /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB7F108596C800E6ADE2 /* X_MS_MediaReceiverRegistrarSCPD.cpp */; }; - E48F8A191632007E009E46A5 /* PltXbox360.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E426B3271130DF9500C58542 /* PltXbox360.cpp */; }; - E48F8A1A1632007E009E46A5 /* PltMediaConnect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155960D6FFE4C00899579 /* PltMediaConnect.cpp */; }; - E48F8A1B1632007E009E46A5 /* PltFrameBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C699E11E6ED710024CAD4 /* PltFrameBuffer.cpp */; }; - E48F8A1C1632007E009E46A5 /* PltFrameServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A011E6ED710024CAD4 /* PltFrameServer.cpp */; }; - E48F8A1D1632007E009E46A5 /* PltFrameStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A211E6ED710024CAD4 /* PltFrameStream.cpp */; }; - E48F8A1E1632007E009E46A5 /* PltLeaks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A411E6ED710024CAD4 /* PltLeaks.cpp */; }; - E48F8A1F1632007E009E46A5 /* PltMetadataHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A611E6ED710024CAD4 /* PltMetadataHandler.cpp */; }; - E48F8A201632007E009E46A5 /* PltRingBufferStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A811E6ED710024CAD4 /* PltRingBufferStream.cpp */; }; - E48F8A211632007E009E46A5 /* PltDownloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E211E6F0D90024CAD4 /* PltDownloader.cpp */; }; - E48F8A221632007E009E46A5 /* PltStreamPump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E411E6F0D90024CAD4 /* PltStreamPump.cpp */; }; - E48F8A231632007E009E46A5 /* PltMediaServerObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1612417AA800000109 /* PltMediaServerObject.mm */; }; - E48F8A241632007E009E46A5 /* PltUPnPObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1812417AA800000109 /* PltUPnPObject.mm */; }; - E48F8A251632007E009E46A5 /* ContentDirectorySCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E402C7541297CECB00565B76 /* ContentDirectorySCPD.cpp */; }; - E48F8A261632007E009E46A5 /* PltProtocolInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4D8F13B51BAC00359E06 /* PltProtocolInfo.cpp */; }; - E48F8A271632007E009E46A5 /* PltMimeType.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4DA613B51CB600359E06 /* PltMimeType.cpp */; }; - E48F8A281632007E009E46A5 /* NptTlsDefaultTrustAnchorsBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABD1144AA48100C34B69 /* NptTlsDefaultTrustAnchorsBase.cpp */; }; - E48F8A291632007E009E46A5 /* NptTlsDefaultTrustAnchorsExtended.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABD2144AA48100C34B69 /* NptTlsDefaultTrustAnchorsExtended.cpp */; }; - E48F8A2A1632007E009E46A5 /* NptHash.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDA144AA48D00C34B69 /* NptHash.cpp */; }; - E48F8A2B1632007E009E46A5 /* NptCrypto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDC144AA48D00C34B69 /* NptCrypto.cpp */; }; - E48F8A2C1632007E009E46A5 /* NptDigest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDE144AA48D00C34B69 /* NptDigest.cpp */; }; - E48F8A2D1632007E009E46A5 /* NptResults.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE1144AA48D00C34B69 /* NptResults.cpp */; }; - E48F8A2E1632007E009E46A5 /* NptTls.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE2144AA48D00C34B69 /* NptTls.cpp */; }; - E48F8A2F1632007E009E46A5 /* NptDynamicLibraries.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE4144AA48D00C34B69 /* NptDynamicLibraries.cpp */; }; - E48F8A301632007E009E46A5 /* Neptune.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE7144AA48D00C34B69 /* Neptune.cpp */; }; - E48F8A311632007E009E46A5 /* NptBase64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEA144AA48D00C34B69 /* NptBase64.cpp */; }; - E48F8A321632007E009E46A5 /* NptBufferedStreams.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEC144AA48D00C34B69 /* NptBufferedStreams.cpp */; }; - E48F8A331632007E009E46A5 /* NptCommon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEE144AA48D00C34B69 /* NptCommon.cpp */; }; - E48F8A341632007E009E46A5 /* NptConsole.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF1144AA48D00C34B69 /* NptConsole.cpp */; }; - E48F8A351632007E009E46A5 /* NptDataBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF4144AA48D00C34B69 /* NptDataBuffer.cpp */; }; - E48F8A361632007E009E46A5 /* NptDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF6144AA48D00C34B69 /* NptDebug.cpp */; }; - E48F8A371632007E009E46A5 /* NptFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF9144AA48D00C34B69 /* NptFile.cpp */; }; - E48F8A381632007E009E46A5 /* NptHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABFB144AA48D00C34B69 /* NptHttp.cpp */; }; - E48F8A391632007E009E46A5 /* NptList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABFE144AA48D00C34B69 /* NptList.cpp */; }; - E48F8A3A1632007E009E46A5 /* NptLogging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC00144AA48D00C34B69 /* NptLogging.cpp */; }; - E48F8A3B1632007E009E46A5 /* NptMessaging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC03144AA48D00C34B69 /* NptMessaging.cpp */; }; - E48F8A3C1632007E009E46A5 /* NptNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC05144AA48D00C34B69 /* NptNetwork.cpp */; }; - E48F8A3D1632007E009E46A5 /* NptQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC07144AA48D00C34B69 /* NptQueue.cpp */; }; - E48F8A3E1632007E009E46A5 /* NptRingBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC0B144AA48D00C34B69 /* NptRingBuffer.cpp */; }; - E48F8A3F1632007E009E46A5 /* NptSimpleMessageQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC0E144AA48D00C34B69 /* NptSimpleMessageQueue.cpp */; }; - E48F8A401632007E009E46A5 /* NptSockets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC10144AA48D00C34B69 /* NptSockets.cpp */; }; - E48F8A411632007E009E46A5 /* NptStreams.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC13144AA48D00C34B69 /* NptStreams.cpp */; }; - E48F8A421632007E009E46A5 /* NptStrings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC15144AA48D00C34B69 /* NptStrings.cpp */; }; - E48F8A431632007E009E46A5 /* NptSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC17144AA48D00C34B69 /* NptSystem.cpp */; }; - E48F8A441632007E009E46A5 /* NptThreads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC19144AA48D00C34B69 /* NptThreads.cpp */; }; - E48F8A451632007E009E46A5 /* NptTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC1B144AA48D00C34B69 /* NptTime.cpp */; }; - E48F8A461632007E009E46A5 /* NptUri.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC1E144AA48D00C34B69 /* NptUri.cpp */; }; - E48F8A471632007E009E46A5 /* NptUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC20144AA48D00C34B69 /* NptUtils.cpp */; }; - E48F8A481632007E009E46A5 /* NptXml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC23144AA48D00C34B69 /* NptXml.cpp */; }; - E48F8A491632007E009E46A5 /* NptZip.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC26144AA48D00C34B69 /* NptZip.cpp */; }; - E48F8A4A1632007E009E46A5 /* NptCocoaConsole.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD17144AA49500C34B69 /* NptCocoaConsole.mm */; }; - E48F8A4B1632007E009E46A5 /* NptCocoaMessageQueue.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD19144AA49500C34B69 /* NptCocoaMessageQueue.mm */; }; - E48F8A4C1632007E009E46A5 /* NptNullSerialPort.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1A144AA49500C34B69 /* NptNullSerialPort.cpp */; }; - E48F8A4D1632007E009E46A5 /* NptBsdResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1B144AA49500C34B69 /* NptBsdResolver.cpp */; }; - E48F8A4E1632007E009E46A5 /* NptBsdNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1C144AA49500C34B69 /* NptBsdNetwork.cpp */; }; - E48F8A4F1632007E009E46A5 /* NptBsdSockets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1D144AA49500C34B69 /* NptBsdSockets.cpp */; }; - E48F8A501632007E009E46A5 /* NptPosixTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1E144AA49500C34B69 /* NptPosixTime.cpp */; }; - E48F8A511632007E009E46A5 /* NptPosixDynamicLibraries.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1F144AA49500C34B69 /* NptPosixDynamicLibraries.cpp */; }; - E48F8A521632007E009E46A5 /* NptPosixNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD20144AA49500C34B69 /* NptPosixNetwork.cpp */; }; - E48F8A531632007E009E46A5 /* NptPosixFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD21144AA49500C34B69 /* NptPosixFile.cpp */; }; - E48F8A541632007E009E46A5 /* NptPosixQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD22144AA49500C34B69 /* NptPosixQueue.cpp */; }; - E48F8A551632007E009E46A5 /* NptPosixSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD23144AA49500C34B69 /* NptPosixSystem.cpp */; }; - E48F8A561632007E009E46A5 /* NptPosixThreads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD24144AA49500C34B69 /* NptPosixThreads.cpp */; }; - E48F8A571632007E009E46A5 /* NptSelectableMessageQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD25144AA49500C34B69 /* NptSelectableMessageQueue.cpp */; }; - E48F8A581632007E009E46A5 /* NptStdcDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD27144AA49500C34B69 /* NptStdcDebug.cpp */; }; - E48F8A591632007E009E46A5 /* NptStdcEnvironment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD28144AA49500C34B69 /* NptStdcEnvironment.cpp */; }; - E48F8A5A1632007E009E46A5 /* NptStdcFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD29144AA49500C34B69 /* NptStdcFile.cpp */; }; - E48F8A5B1632007E009E46A5 /* aes.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD71144AA4A000C34B69 /* aes.c */; }; - E48F8A5C1632007E009E46A5 /* bigint.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD72144AA4A000C34B69 /* bigint.c */; }; - E48F8A5D1632007E009E46A5 /* crypto_misc.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD76144AA4A000C34B69 /* crypto_misc.c */; }; - E48F8A5E1632007E009E46A5 /* hmac.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD77144AA4A000C34B69 /* hmac.c */; }; - E48F8A5F1632007E009E46A5 /* md2.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD78144AA4A000C34B69 /* md2.c */; }; - E48F8A601632007E009E46A5 /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD79144AA4A000C34B69 /* md5.c */; }; - E48F8A611632007E009E46A5 /* rc4.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7A144AA4A000C34B69 /* rc4.c */; }; - E48F8A621632007E009E46A5 /* rsa.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7B144AA4A000C34B69 /* rsa.c */; }; - E48F8A631632007E009E46A5 /* sha1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7C144AA4A000C34B69 /* sha1.c */; }; - E48F8A641632007E009E46A5 /* asn1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7D144AA4A000C34B69 /* asn1.c */; }; - E48F8A651632007E009E46A5 /* gen_cert.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD80144AA4A000C34B69 /* gen_cert.c */; }; - E48F8A661632007E009E46A5 /* loader.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD81144AA4A000C34B69 /* loader.c */; }; - E48F8A671632007E009E46A5 /* p12.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD83144AA4A000C34B69 /* p12.c */; }; - E48F8A681632007E009E46A5 /* tls1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD85144AA4A000C34B69 /* tls1.c */; }; - E48F8A691632007E009E46A5 /* tls1_clnt.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD87144AA4A000C34B69 /* tls1_clnt.c */; }; - E48F8A6A1632007E009E46A5 /* tls1_svr.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD88144AA4A000C34B69 /* tls1_svr.c */; }; - E48F8A6B1632007E009E46A5 /* x509.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8A144AA4A000C34B69 /* x509.c */; }; - E48F8A6C1632007E009E46A5 /* compress.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8B144AA4A000C34B69 /* compress.c */; }; - E48F8A6D1632007E009E46A5 /* adler32.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8C144AA4A000C34B69 /* adler32.c */; }; - E48F8A6E1632007E009E46A5 /* crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8D144AA4A000C34B69 /* crc32.c */; }; - E48F8A6F1632007E009E46A5 /* deflate.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8F144AA4A000C34B69 /* deflate.c */; }; - E48F8A701632007E009E46A5 /* infback.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD91144AA4A000C34B69 /* infback.c */; }; - E48F8A711632007E009E46A5 /* inffast.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD92144AA4A000C34B69 /* inffast.c */; }; - E48F8A721632007E009E46A5 /* inflate.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD95144AA4A000C34B69 /* inflate.c */; }; - E48F8A731632007E009E46A5 /* inftrees.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD97144AA4A000C34B69 /* inftrees.c */; }; - E48F8A741632007E009E46A5 /* trees.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD99144AA4A000C34B69 /* trees.c */; }; - E48F8A751632007E009E46A5 /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD9D144AA4A000C34B69 /* zutil.c */; }; - E48F8A761632007E009E46A5 /* NptAppleAutoreleasePool.mm in Sources */ = {isa = PBXBuildFile; fileRef = E448216815100D3A0069F573 /* NptAppleAutoreleasePool.mm */; }; - E48F8A771632007E009E46A5 /* NptCocoaEnviroment.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD16144AA49500C34B69 /* NptCocoaEnviroment.mm */; }; - E48F8A80163200FE009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8A8316320114009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8A8616320122009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8A891632012E009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8A8C1632013C009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8A8F1632014A009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8A9216320156009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8A9516320163009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8A981632016D009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8A9B16320178009E46A5 /* libPlatinum.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; }; - E48F8AA1163202AB009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AA2163202C2009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AA3163202C2009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E48F8AA4163202D2009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AA5163202D2009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E48F8AA7163202FF009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E48F8AA816320310009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E48F8AA916320316009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AAA16320320009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E48F8AAB16320324009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AAC1632032A009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AAD1632032F009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E48F8AAE16320334009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AAF1632033C009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E48F8AB016320342009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AB116320346009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E48F8AB21632034D009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AB316320351009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E48F8AB416320358009E46A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E48F8A9E1632026F009E46A5 /* Foundation.framework */; }; - E48F8AB51632035B009E46A5 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E496A916146A4D320034BBAE /* PltAction.h in Headers */ = {isa = PBXBuildFile; fileRef = E43154FF0D6FFDEB00899579 /* PltAction.h */; }; - E496A917146A4D320034BBAE /* PltArgument.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155010D6FFDEB00899579 /* PltArgument.h */; }; - E496A918146A4D320034BBAE /* PltCtrlPoint.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155030D6FFDEB00899579 /* PltCtrlPoint.h */; }; - E496A919146A4D320034BBAE /* PltCtrlPointTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155050D6FFDEB00899579 /* PltCtrlPointTask.h */; }; - E496A91A146A4D320034BBAE /* PltDatagramStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155070D6FFDEB00899579 /* PltDatagramStream.h */; }; - E496A91B146A4D320034BBAE /* PltDeviceData.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155090D6FFDEB00899579 /* PltDeviceData.h */; }; - E496A91C146A4D320034BBAE /* PltDeviceHost.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550B0D6FFDEB00899579 /* PltDeviceHost.h */; }; - E496A91D146A4D320034BBAE /* PltEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550F0D6FFDEB00899579 /* PltEvent.h */; }; - E496A91E146A4D320034BBAE /* PltHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155110D6FFDEB00899579 /* PltHttp.h */; }; - E496A91F146A4D320034BBAE /* PltHttpClientTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155130D6FFDEB00899579 /* PltHttpClientTask.h */; }; - E496A920146A4D320034BBAE /* PltHttpServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155150D6FFDEB00899579 /* PltHttpServer.h */; }; - E496A921146A4D320034BBAE /* PltHttpServerTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155180D6FFDEB00899579 /* PltHttpServerTask.h */; }; - E496A922146A4D320034BBAE /* PltService.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155220D6FFDEB00899579 /* PltService.h */; }; - E496A923146A4D320034BBAE /* PltSsdp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155240D6FFDEB00899579 /* PltSsdp.h */; }; - E496A924146A4D320034BBAE /* PltStateVariable.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155270D6FFDEB00899579 /* PltStateVariable.h */; }; - E496A925146A4D320034BBAE /* PltTaskManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552B0D6FFDEB00899579 /* PltTaskManager.h */; }; - E496A926146A4D320034BBAE /* PltThreadTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552D0D6FFDEB00899579 /* PltThreadTask.h */; }; - E496A927146A4D320034BBAE /* PltUPnP.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552F0D6FFDEB00899579 /* PltUPnP.h */; }; - E496A929146A4D320034BBAE /* PltUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155320D6FFDEB00899579 /* PltUtilities.h */; }; - E496A92A146A4D320034BBAE /* PltMediaController.h in Headers */ = {isa = PBXBuildFile; fileRef = E431559E0D6FFE4C00899579 /* PltMediaController.h */; }; - E496A92B146A4D320034BBAE /* PltMediaRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A10D6FFE4C00899579 /* PltMediaRenderer.h */; }; - E496A92C146A4D320034BBAE /* PltDidl.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A90D6FFE4C00899579 /* PltDidl.h */; }; - E496A92D146A4D320034BBAE /* PltFileMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AB0D6FFE4C00899579 /* PltFileMediaServer.h */; }; - E496A92E146A4D320034BBAE /* PltMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AD0D6FFE4C00899579 /* PltMediaBrowser.h */; }; - E496A92F146A4D320034BBAE /* PltMediaCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B00D6FFE4C00899579 /* PltMediaCache.h */; }; - E496A930146A4D320034BBAE /* PltMediaItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B20D6FFE4C00899579 /* PltMediaItem.h */; }; - E496A931146A4D320034BBAE /* PltMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B60D6FFE4C00899579 /* PltMediaServer.h */; }; - E496A932146A4D320034BBAE /* PltSyncMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B90D6FFE4C00899579 /* PltSyncMediaBrowser.h */; }; - E496A933146A4D320034BBAE /* PltConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E4BA7CBB0FE2200700A4D16B /* PltConstants.h */; }; - E496A934146A4D320034BBAE /* Platinum.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFD101E1AEF007A9CE7 /* Platinum.h */; }; - E496A936146A4D320034BBAE /* PltVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFF101E1AEF007A9CE7 /* PltVersion.h */; }; - E496A937146A4D320034BBAE /* PltXbox360.h in Headers */ = {isa = PBXBuildFile; fileRef = E426B3281130DF9500C58542 /* PltXbox360.h */; }; - E496A938146A4D320034BBAE /* PltMediaConnect.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155970D6FFE4C00899579 /* PltMediaConnect.h */; }; - E496A939146A4D320034BBAE /* PltFrameBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C699F11E6ED710024CAD4 /* PltFrameBuffer.h */; }; - E496A93A146A4D320034BBAE /* PltFrameServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A111E6ED710024CAD4 /* PltFrameServer.h */; }; - E496A93B146A4D320034BBAE /* PltFrameStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A311E6ED710024CAD4 /* PltFrameStream.h */; }; - E496A93C146A4D320034BBAE /* PltLeaks.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A511E6ED710024CAD4 /* PltLeaks.h */; }; - E496A93D146A4D320034BBAE /* PltMetadataHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A711E6ED710024CAD4 /* PltMetadataHandler.h */; }; - E496A93E146A4D320034BBAE /* PltRingBufferStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A911E6ED710024CAD4 /* PltRingBufferStream.h */; }; - E496A93F146A4D320034BBAE /* PltDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E311E6F0D90024CAD4 /* PltDownloader.h */; }; - E496A940146A4D320034BBAE /* PltStreamPump.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E511E6F0D90024CAD4 /* PltStreamPump.h */; }; - E496A941146A4D320034BBAE /* PltMediaServerObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1512417AA800000109 /* PltMediaServerObject.h */; }; - E496A942146A4D320034BBAE /* PltUPnPObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1712417AA800000109 /* PltUPnPObject.h */; }; - E496A943146A4D320034BBAE /* PltProtocolInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4D9013B51BAC00359E06 /* PltProtocolInfo.h */; }; - E496A944146A4D320034BBAE /* PltMimeType.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4DA713B51CB600359E06 /* PltMimeType.h */; }; - E496A945146A4D320034BBAE /* NptHash.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDB144AA48D00C34B69 /* NptHash.h */; }; - E496A946146A4D320034BBAE /* NptCrypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDD144AA48D00C34B69 /* NptCrypto.h */; }; - E496A947146A4D320034BBAE /* NptDigest.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABDF144AA48D00C34B69 /* NptDigest.h */; }; - E496A948146A4D320034BBAE /* NptDynamicCast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE0144AA48D00C34B69 /* NptDynamicCast.h */; }; - E496A949146A4D320034BBAE /* NptTls.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE3144AA48D00C34B69 /* NptTls.h */; }; - E496A94A146A4D320034BBAE /* NptDynamicLibraries.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE5144AA48D00C34B69 /* NptDynamicLibraries.h */; }; - E496A94B146A4D320034BBAE /* NptSerialPort.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE6144AA48D00C34B69 /* NptSerialPort.h */; }; - E496A94C146A4D320034BBAE /* Neptune.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE8144AA48D00C34B69 /* Neptune.h */; }; - E496A94D146A4D320034BBAE /* NptArray.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABE9144AA48D00C34B69 /* NptArray.h */; }; - E496A94E146A4D320034BBAE /* NptBase64.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEB144AA48D00C34B69 /* NptBase64.h */; }; - E496A94F146A4D320034BBAE /* NptBufferedStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABED144AA48D00C34B69 /* NptBufferedStreams.h */; }; - E496A950146A4D320034BBAE /* NptCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABEF144AA48D00C34B69 /* NptCommon.h */; }; - E496A951146A4D320034BBAE /* NptConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF0144AA48D00C34B69 /* NptConfig.h */; }; - E496A952146A4D320034BBAE /* NptConsole.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF2144AA48D00C34B69 /* NptConsole.h */; }; - E496A953146A4D320034BBAE /* NptConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF3144AA48D00C34B69 /* NptConstants.h */; }; - E496A954146A4D320034BBAE /* NptDataBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF5144AA48D00C34B69 /* NptDataBuffer.h */; }; - E496A955146A4D320034BBAE /* NptDebug.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF7144AA48D00C34B69 /* NptDebug.h */; }; - E496A956146A4D320034BBAE /* NptDefs.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABF8144AA48D00C34B69 /* NptDefs.h */; }; - E496A957146A4D320034BBAE /* NptFile.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFA144AA48D00C34B69 /* NptFile.h */; }; - E496A958146A4D320034BBAE /* NptHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFC144AA48D00C34B69 /* NptHttp.h */; }; - E496A959146A4D320034BBAE /* NptInterfaces.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFD144AA48D00C34B69 /* NptInterfaces.h */; }; - E496A95A146A4D320034BBAE /* NptList.h in Headers */ = {isa = PBXBuildFile; fileRef = E457ABFF144AA48D00C34B69 /* NptList.h */; }; - E496A95B146A4D320034BBAE /* NptLogging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC01144AA48D00C34B69 /* NptLogging.h */; }; - E496A95C146A4D320034BBAE /* NptMap.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC02144AA48D00C34B69 /* NptMap.h */; }; - E496A95D146A4D320034BBAE /* NptMessaging.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC04144AA48D00C34B69 /* NptMessaging.h */; }; - E496A95E146A4D320034BBAE /* NptNetwork.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC06144AA48D00C34B69 /* NptNetwork.h */; }; - E496A95F146A4D320034BBAE /* NptQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC08144AA48D00C34B69 /* NptQueue.h */; }; - E496A960146A4D320034BBAE /* NptReferences.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC09144AA48D00C34B69 /* NptReferences.h */; }; - E496A961146A4D320034BBAE /* NptResults.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0A144AA48D00C34B69 /* NptResults.h */; }; - E496A962146A4D320034BBAE /* NptRingBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0C144AA48D00C34B69 /* NptRingBuffer.h */; }; - E496A963146A4D320034BBAE /* NptSelectableMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0D144AA48D00C34B69 /* NptSelectableMessageQueue.h */; }; - E496A964146A4D320034BBAE /* NptSimpleMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC0F144AA48D00C34B69 /* NptSimpleMessageQueue.h */; }; - E496A965146A4D320034BBAE /* NptSockets.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC11144AA48D00C34B69 /* NptSockets.h */; }; - E496A966146A4D320034BBAE /* NptStack.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC12144AA48D00C34B69 /* NptStack.h */; }; - E496A967146A4D320034BBAE /* NptStreams.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC14144AA48D00C34B69 /* NptStreams.h */; }; - E496A968146A4D320034BBAE /* NptStrings.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC16144AA48D00C34B69 /* NptStrings.h */; }; - E496A969146A4D320034BBAE /* NptSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC18144AA48D00C34B69 /* NptSystem.h */; }; - E496A96A146A4D320034BBAE /* NptThreads.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1A144AA48D00C34B69 /* NptThreads.h */; }; - E496A96B146A4D320034BBAE /* NptTime.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1C144AA48D00C34B69 /* NptTime.h */; }; - E496A96C146A4D320034BBAE /* NptTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1D144AA48D00C34B69 /* NptTypes.h */; }; - E496A96D146A4D320034BBAE /* NptUri.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC1F144AA48D00C34B69 /* NptUri.h */; }; - E496A96E146A4D320034BBAE /* NptUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC21144AA48D00C34B69 /* NptUtils.h */; }; - E496A96F146A4D320034BBAE /* NptVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC22144AA48D00C34B69 /* NptVersion.h */; }; - E496A970146A4D320034BBAE /* NptXml.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC24144AA48D00C34B69 /* NptXml.h */; }; - E496A971146A4D320034BBAE /* NptZip.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AC25144AA48D00C34B69 /* NptZip.h */; }; - E496A972146A4D320034BBAE /* NptCocoaMessageQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD18144AA49500C34B69 /* NptCocoaMessageQueue.h */; }; - E496A973146A4D320034BBAE /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD70144AA4A000C34B69 /* config.h */; }; - E496A974146A4D320034BBAE /* bigint.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD73144AA4A000C34B69 /* bigint.h */; }; - E496A975146A4D320034BBAE /* bigint_impl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD74144AA4A000C34B69 /* bigint_impl.h */; }; - E496A976146A4D320034BBAE /* crypto.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD75144AA4A000C34B69 /* crypto.h */; }; - E496A977146A4D320034BBAE /* cert.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7E144AA4A000C34B69 /* cert.h */; }; - E496A978146A4D320034BBAE /* crypto_misc.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD7F144AA4A000C34B69 /* crypto_misc.h */; }; - E496A979146A4D320034BBAE /* os_port.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD82144AA4A000C34B69 /* os_port.h */; }; - E496A97A146A4D320034BBAE /* ssl.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD84144AA4A000C34B69 /* ssl.h */; }; - E496A97B146A4D320034BBAE /* tls1.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD86144AA4A000C34B69 /* tls1.h */; }; - E496A97C146A4D320034BBAE /* version.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD89144AA4A000C34B69 /* version.h */; }; - E496A97D146A4D320034BBAE /* crc32.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD8E144AA4A000C34B69 /* crc32.h */; }; - E496A97E146A4D320034BBAE /* deflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD90144AA4A000C34B69 /* deflate.h */; }; - E496A97F146A4D320034BBAE /* inffast.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD93144AA4A000C34B69 /* inffast.h */; }; - E496A980146A4D320034BBAE /* inffixed.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD94144AA4A000C34B69 /* inffixed.h */; }; - E496A981146A4D320034BBAE /* inflate.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD96144AA4A000C34B69 /* inflate.h */; }; - E496A982146A4D320034BBAE /* inftrees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD98144AA4A000C34B69 /* inftrees.h */; }; - E496A983146A4D320034BBAE /* trees.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9A144AA4A000C34B69 /* trees.h */; }; - E496A984146A4D320034BBAE /* zconf.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9B144AA4A000C34B69 /* zconf.h */; }; - E496A985146A4D320034BBAE /* zlib.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9C144AA4A000C34B69 /* zlib.h */; }; - E496A986146A4D320034BBAE /* zutil.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AD9E144AA4A000C34B69 /* zutil.h */; }; - E496A987146A4D320034BBAE /* NptTlsDefaultTrustAnchorsBase.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFB144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h */; }; - E496A988146A4D320034BBAE /* NptTlsDefaultTrustAnchorsExtended.h in Headers */ = {isa = PBXBuildFile; fileRef = E457AEFC144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h */; }; - E496A98A146A4D320034BBAE /* PltAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43154FE0D6FFDEB00899579 /* PltAction.cpp */; }; - E496A98B146A4D320034BBAE /* PltArgument.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155000D6FFDEB00899579 /* PltArgument.cpp */; }; - E496A98C146A4D320034BBAE /* PltConstants.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4BA7CBC0FE2200700A4D16B /* PltConstants.cpp */; }; - E496A98D146A4D320034BBAE /* PltCtrlPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155020D6FFDEB00899579 /* PltCtrlPoint.cpp */; }; - E496A98E146A4D320034BBAE /* PltCtrlPointTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155040D6FFDEB00899579 /* PltCtrlPointTask.cpp */; }; - E496A98F146A4D320034BBAE /* PltDatagramStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155060D6FFDEB00899579 /* PltDatagramStream.cpp */; }; - E496A990146A4D320034BBAE /* PltDeviceData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155080D6FFDEB00899579 /* PltDeviceData.cpp */; }; - E496A991146A4D320034BBAE /* PltDeviceHost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550A0D6FFDEB00899579 /* PltDeviceHost.cpp */; }; - E496A992146A4D320034BBAE /* PltDidl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A80D6FFE4C00899579 /* PltDidl.cpp */; }; - E496A993146A4D320034BBAE /* PltEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550E0D6FFDEB00899579 /* PltEvent.cpp */; }; - E496A994146A4D320034BBAE /* PltFileMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AA0D6FFE4C00899579 /* PltFileMediaServer.cpp */; }; - E496A995146A4D320034BBAE /* PltHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155100D6FFDEB00899579 /* PltHttp.cpp */; }; - E496A996146A4D320034BBAE /* PltHttpClientTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155120D6FFDEB00899579 /* PltHttpClientTask.cpp */; }; - E496A997146A4D320034BBAE /* PltHttpServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155140D6FFDEB00899579 /* PltHttpServer.cpp */; }; - E496A998146A4D320034BBAE /* PltHttpServerTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155170D6FFDEB00899579 /* PltHttpServerTask.cpp */; }; - E496A999146A4D320034BBAE /* PltIconsData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4F7E9060FE4B12A00BEDFA6 /* PltIconsData.cpp */; }; - E496A99A146A4D320034BBAE /* PltMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AC0D6FFE4C00899579 /* PltMediaBrowser.cpp */; }; - E496A99B146A4D320034BBAE /* PltMediaCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AF0D6FFE4C00899579 /* PltMediaCache.cpp */; }; - E496A99C146A4D320034BBAE /* PltMediaController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431559D0D6FFE4C00899579 /* PltMediaController.cpp */; }; - E496A99D146A4D320034BBAE /* PltMediaItem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B10D6FFE4C00899579 /* PltMediaItem.cpp */; }; - E496A99E146A4D320034BBAE /* PltMediaRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A00D6FFE4C00899579 /* PltMediaRenderer.cpp */; }; - E496A99F146A4D320034BBAE /* PltMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B50D6FFE4C00899579 /* PltMediaServer.cpp */; }; - E496A9A0146A4D320034BBAE /* PltService.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155210D6FFDEB00899579 /* PltService.cpp */; }; - E496A9A1146A4D320034BBAE /* PltSsdp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155230D6FFDEB00899579 /* PltSsdp.cpp */; }; - E496A9A2146A4D320034BBAE /* PltStateVariable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155260D6FFDEB00899579 /* PltStateVariable.cpp */; }; - E496A9A3146A4D320034BBAE /* PltSyncMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B80D6FFE4C00899579 /* PltSyncMediaBrowser.cpp */; }; - E496A9A4146A4D320034BBAE /* PltTaskManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552A0D6FFDEB00899579 /* PltTaskManager.cpp */; }; - E496A9A5146A4D320034BBAE /* PltThreadTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552C0D6FFDEB00899579 /* PltThreadTask.cpp */; }; - E496A9A6146A4D320034BBAE /* PltUPnP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552E0D6FFDEB00899579 /* PltUPnP.cpp */; }; - E496A9A7146A4D320034BBAE /* AVTransportSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB76108596B900E6ADE2 /* AVTransportSCPD.cpp */; }; - E496A9A8146A4D320034BBAE /* RdrConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB77108596B900E6ADE2 /* RdrConnectionManagerSCPD.cpp */; }; - E496A9A9146A4D320034BBAE /* RenderingControlSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB78108596B900E6ADE2 /* RenderingControlSCPD.cpp */; }; - E496A9AA146A4D320034BBAE /* ConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB82108596E400E6ADE2 /* ConnectionManagerSCPD.cpp */; }; - E496A9AB146A4D320034BBAE /* ContentDirectorywSearchSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB83108596E400E6ADE2 /* ContentDirectorywSearchSCPD.cpp */; }; - E496A9AC146A4D320034BBAE /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB7F108596C800E6ADE2 /* X_MS_MediaReceiverRegistrarSCPD.cpp */; }; - E496A9AD146A4D320034BBAE /* PltXbox360.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E426B3271130DF9500C58542 /* PltXbox360.cpp */; }; - E496A9AE146A4D320034BBAE /* PltMediaConnect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155960D6FFE4C00899579 /* PltMediaConnect.cpp */; }; - E496A9AF146A4D320034BBAE /* PltFrameBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C699E11E6ED710024CAD4 /* PltFrameBuffer.cpp */; }; - E496A9B0146A4D320034BBAE /* PltFrameServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A011E6ED710024CAD4 /* PltFrameServer.cpp */; }; - E496A9B1146A4D320034BBAE /* PltFrameStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A211E6ED710024CAD4 /* PltFrameStream.cpp */; }; - E496A9B2146A4D320034BBAE /* PltLeaks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A411E6ED710024CAD4 /* PltLeaks.cpp */; }; - E496A9B3146A4D320034BBAE /* PltMetadataHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A611E6ED710024CAD4 /* PltMetadataHandler.cpp */; }; - E496A9B4146A4D320034BBAE /* PltRingBufferStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A811E6ED710024CAD4 /* PltRingBufferStream.cpp */; }; - E496A9B5146A4D320034BBAE /* PltDownloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E211E6F0D90024CAD4 /* PltDownloader.cpp */; }; - E496A9B6146A4D320034BBAE /* PltStreamPump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E411E6F0D90024CAD4 /* PltStreamPump.cpp */; }; - E496A9B7146A4D320034BBAE /* PltMediaServerObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1612417AA800000109 /* PltMediaServerObject.mm */; }; - E496A9B8146A4D320034BBAE /* PltUPnPObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1812417AA800000109 /* PltUPnPObject.mm */; }; - E496A9B9146A4D320034BBAE /* ContentDirectorySCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E402C7541297CECB00565B76 /* ContentDirectorySCPD.cpp */; }; - E496A9BA146A4D320034BBAE /* PltProtocolInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4D8F13B51BAC00359E06 /* PltProtocolInfo.cpp */; }; - E496A9BB146A4D320034BBAE /* PltMimeType.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4DA613B51CB600359E06 /* PltMimeType.cpp */; }; - E496A9BC146A4D320034BBAE /* NptTlsDefaultTrustAnchorsBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABD1144AA48100C34B69 /* NptTlsDefaultTrustAnchorsBase.cpp */; }; - E496A9BD146A4D320034BBAE /* NptTlsDefaultTrustAnchorsExtended.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABD2144AA48100C34B69 /* NptTlsDefaultTrustAnchorsExtended.cpp */; }; - E496A9BE146A4D320034BBAE /* NptHash.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDA144AA48D00C34B69 /* NptHash.cpp */; }; - E496A9BF146A4D320034BBAE /* NptCrypto.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDC144AA48D00C34B69 /* NptCrypto.cpp */; }; - E496A9C0146A4D320034BBAE /* NptDigest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABDE144AA48D00C34B69 /* NptDigest.cpp */; }; - E496A9C1146A4D320034BBAE /* NptResults.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE1144AA48D00C34B69 /* NptResults.cpp */; }; - E496A9C2146A4D320034BBAE /* NptTls.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE2144AA48D00C34B69 /* NptTls.cpp */; }; - E496A9C3146A4D320034BBAE /* NptDynamicLibraries.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE4144AA48D00C34B69 /* NptDynamicLibraries.cpp */; }; - E496A9C4146A4D320034BBAE /* Neptune.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABE7144AA48D00C34B69 /* Neptune.cpp */; }; - E496A9C5146A4D320034BBAE /* NptBase64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEA144AA48D00C34B69 /* NptBase64.cpp */; }; - E496A9C6146A4D320034BBAE /* NptBufferedStreams.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEC144AA48D00C34B69 /* NptBufferedStreams.cpp */; }; - E496A9C7146A4D320034BBAE /* NptCommon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABEE144AA48D00C34B69 /* NptCommon.cpp */; }; - E496A9C8146A4D320034BBAE /* NptConsole.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF1144AA48D00C34B69 /* NptConsole.cpp */; }; - E496A9C9146A4D320034BBAE /* NptDataBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF4144AA48D00C34B69 /* NptDataBuffer.cpp */; }; - E496A9CA146A4D320034BBAE /* NptDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF6144AA48D00C34B69 /* NptDebug.cpp */; }; - E496A9CB146A4D320034BBAE /* NptFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABF9144AA48D00C34B69 /* NptFile.cpp */; }; - E496A9CC146A4D320034BBAE /* NptHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABFB144AA48D00C34B69 /* NptHttp.cpp */; }; - E496A9CD146A4D320034BBAE /* NptList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457ABFE144AA48D00C34B69 /* NptList.cpp */; }; - E496A9CE146A4D320034BBAE /* NptLogging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC00144AA48D00C34B69 /* NptLogging.cpp */; }; - E496A9CF146A4D320034BBAE /* NptMessaging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC03144AA48D00C34B69 /* NptMessaging.cpp */; }; - E496A9D0146A4D320034BBAE /* NptNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC05144AA48D00C34B69 /* NptNetwork.cpp */; }; - E496A9D1146A4D320034BBAE /* NptQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC07144AA48D00C34B69 /* NptQueue.cpp */; }; - E496A9D2146A4D320034BBAE /* NptRingBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC0B144AA48D00C34B69 /* NptRingBuffer.cpp */; }; - E496A9D3146A4D320034BBAE /* NptSimpleMessageQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC0E144AA48D00C34B69 /* NptSimpleMessageQueue.cpp */; }; - E496A9D4146A4D320034BBAE /* NptSockets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC10144AA48D00C34B69 /* NptSockets.cpp */; }; - E496A9D5146A4D320034BBAE /* NptStreams.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC13144AA48D00C34B69 /* NptStreams.cpp */; }; - E496A9D6146A4D320034BBAE /* NptStrings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC15144AA48D00C34B69 /* NptStrings.cpp */; }; - E496A9D7146A4D320034BBAE /* NptSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC17144AA48D00C34B69 /* NptSystem.cpp */; }; - E496A9D8146A4D320034BBAE /* NptThreads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC19144AA48D00C34B69 /* NptThreads.cpp */; }; - E496A9D9146A4D320034BBAE /* NptTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC1B144AA48D00C34B69 /* NptTime.cpp */; }; - E496A9DA146A4D320034BBAE /* NptUri.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC1E144AA48D00C34B69 /* NptUri.cpp */; }; - E496A9DB146A4D320034BBAE /* NptUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC20144AA48D00C34B69 /* NptUtils.cpp */; }; - E496A9DC146A4D320034BBAE /* NptXml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC23144AA48D00C34B69 /* NptXml.cpp */; }; - E496A9DD146A4D320034BBAE /* NptZip.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AC26144AA48D00C34B69 /* NptZip.cpp */; }; - E496A9E0146A4D320034BBAE /* NptCocoaConsole.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD17144AA49500C34B69 /* NptCocoaConsole.mm */; }; - E496A9E1146A4D320034BBAE /* NptCocoaMessageQueue.mm in Sources */ = {isa = PBXBuildFile; fileRef = E457AD19144AA49500C34B69 /* NptCocoaMessageQueue.mm */; }; - E496A9E2146A4D320034BBAE /* NptNullSerialPort.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1A144AA49500C34B69 /* NptNullSerialPort.cpp */; }; - E496A9E3146A4D320034BBAE /* NptBsdResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1B144AA49500C34B69 /* NptBsdResolver.cpp */; }; - E496A9E4146A4D320034BBAE /* NptBsdNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1C144AA49500C34B69 /* NptBsdNetwork.cpp */; }; - E496A9E5146A4D320034BBAE /* NptBsdSockets.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1D144AA49500C34B69 /* NptBsdSockets.cpp */; }; - E496A9E6146A4D320034BBAE /* NptPosixTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1E144AA49500C34B69 /* NptPosixTime.cpp */; }; - E496A9E7146A4D320034BBAE /* NptPosixDynamicLibraries.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD1F144AA49500C34B69 /* NptPosixDynamicLibraries.cpp */; }; - E496A9E8146A4D320034BBAE /* NptPosixNetwork.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD20144AA49500C34B69 /* NptPosixNetwork.cpp */; }; - E496A9E9146A4D320034BBAE /* NptPosixFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD21144AA49500C34B69 /* NptPosixFile.cpp */; }; - E496A9EA146A4D320034BBAE /* NptPosixQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD22144AA49500C34B69 /* NptPosixQueue.cpp */; }; - E496A9EB146A4D320034BBAE /* NptPosixSystem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD23144AA49500C34B69 /* NptPosixSystem.cpp */; }; - E496A9EC146A4D320034BBAE /* NptPosixThreads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD24144AA49500C34B69 /* NptPosixThreads.cpp */; }; - E496A9ED146A4D320034BBAE /* NptSelectableMessageQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD25144AA49500C34B69 /* NptSelectableMessageQueue.cpp */; }; - E496A9EE146A4D320034BBAE /* NptStdcDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD27144AA49500C34B69 /* NptStdcDebug.cpp */; }; - E496A9EF146A4D320034BBAE /* NptStdcEnvironment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD28144AA49500C34B69 /* NptStdcEnvironment.cpp */; }; - E496A9F0146A4D320034BBAE /* NptStdcFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E457AD29144AA49500C34B69 /* NptStdcFile.cpp */; }; - E496A9F1146A4D320034BBAE /* aes.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD71144AA4A000C34B69 /* aes.c */; }; - E496A9F2146A4D320034BBAE /* bigint.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD72144AA4A000C34B69 /* bigint.c */; }; - E496A9F3146A4D320034BBAE /* crypto_misc.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD76144AA4A000C34B69 /* crypto_misc.c */; }; - E496A9F4146A4D320034BBAE /* hmac.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD77144AA4A000C34B69 /* hmac.c */; }; - E496A9F5146A4D320034BBAE /* md2.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD78144AA4A000C34B69 /* md2.c */; }; - E496A9F6146A4D320034BBAE /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD79144AA4A000C34B69 /* md5.c */; }; - E496A9F7146A4D320034BBAE /* rc4.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7A144AA4A000C34B69 /* rc4.c */; }; - E496A9F8146A4D320034BBAE /* rsa.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7B144AA4A000C34B69 /* rsa.c */; }; - E496A9F9146A4D320034BBAE /* sha1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7C144AA4A000C34B69 /* sha1.c */; }; - E496A9FA146A4D320034BBAE /* asn1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD7D144AA4A000C34B69 /* asn1.c */; }; - E496A9FB146A4D320034BBAE /* gen_cert.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD80144AA4A000C34B69 /* gen_cert.c */; }; - E496A9FC146A4D320034BBAE /* loader.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD81144AA4A000C34B69 /* loader.c */; }; - E496A9FD146A4D320034BBAE /* p12.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD83144AA4A000C34B69 /* p12.c */; }; - E496A9FE146A4D320034BBAE /* tls1.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD85144AA4A000C34B69 /* tls1.c */; }; - E496A9FF146A4D320034BBAE /* tls1_clnt.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD87144AA4A000C34B69 /* tls1_clnt.c */; }; - E496AA00146A4D320034BBAE /* tls1_svr.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD88144AA4A000C34B69 /* tls1_svr.c */; }; - E496AA01146A4D320034BBAE /* x509.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8A144AA4A000C34B69 /* x509.c */; }; - E496AA02146A4D320034BBAE /* compress.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8B144AA4A000C34B69 /* compress.c */; }; - E496AA03146A4D320034BBAE /* adler32.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8C144AA4A000C34B69 /* adler32.c */; }; - E496AA04146A4D320034BBAE /* crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8D144AA4A000C34B69 /* crc32.c */; }; - E496AA05146A4D320034BBAE /* deflate.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD8F144AA4A000C34B69 /* deflate.c */; }; - E496AA06146A4D320034BBAE /* infback.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD91144AA4A000C34B69 /* infback.c */; }; - E496AA07146A4D320034BBAE /* inffast.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD92144AA4A000C34B69 /* inffast.c */; }; - E496AA08146A4D320034BBAE /* inflate.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD95144AA4A000C34B69 /* inflate.c */; }; - E496AA09146A4D320034BBAE /* inftrees.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD97144AA4A000C34B69 /* inftrees.c */; }; - E496AA0A146A4D320034BBAE /* trees.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD99144AA4A000C34B69 /* trees.c */; }; - E496AA0B146A4D320034BBAE /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = E457AD9D144AA4A000C34B69 /* zutil.c */; }; - E49BBE4712C31F1A00DFF646 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */; }; - E4A6CA9B1724AEBC003A8778 /* NptAutomaticCleaner.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A6CA991724AC8C003A8778 /* NptAutomaticCleaner.cpp */; }; - E4A6CA9C1724AEBC003A8778 /* NptAutomaticCleaner.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A6CA991724AC8C003A8778 /* NptAutomaticCleaner.cpp */; }; - E4A6CA9D1724AEBD003A8778 /* NptAutomaticCleaner.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A6CA991724AC8C003A8778 /* NptAutomaticCleaner.cpp */; }; - E4A6CA9E1724AEC0003A8778 /* NptAutomaticCleaner.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A6CA991724AC8C003A8778 /* NptAutomaticCleaner.cpp */; }; - E4B95EE01446591B00DBBF49 /* PltMimeType.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4DA713B51CB600359E06 /* PltMimeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EE21446591B00DBBF49 /* PltProtocolInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4D9013B51BAC00359E06 /* PltProtocolInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EE51446591B00DBBF49 /* PltAction.h in Headers */ = {isa = PBXBuildFile; fileRef = E43154FF0D6FFDEB00899579 /* PltAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EE71446591B00DBBF49 /* PltArgument.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155010D6FFDEB00899579 /* PltArgument.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EE91446591B00DBBF49 /* PltConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E4BA7CBB0FE2200700A4D16B /* PltConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EEB1446591B00DBBF49 /* PltCtrlPoint.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155030D6FFDEB00899579 /* PltCtrlPoint.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EED1446591B00DBBF49 /* PltCtrlPointTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155050D6FFDEB00899579 /* PltCtrlPointTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EEF1446591B00DBBF49 /* PltDatagramStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155070D6FFDEB00899579 /* PltDatagramStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EF11446591B00DBBF49 /* PltDeviceData.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155090D6FFDEB00899579 /* PltDeviceData.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EF31446591B00DBBF49 /* PltDeviceHost.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550B0D6FFDEB00899579 /* PltDeviceHost.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EF51446591B00DBBF49 /* PltEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550F0D6FFDEB00899579 /* PltEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EF71446591B00DBBF49 /* PltHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155110D6FFDEB00899579 /* PltHttp.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EF91446591B00DBBF49 /* PltHttpClientTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155130D6FFDEB00899579 /* PltHttpClientTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EFB1446591B00DBBF49 /* PltHttpServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155150D6FFDEB00899579 /* PltHttpServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EFD1446591B00DBBF49 /* PltHttpServerTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155180D6FFDEB00899579 /* PltHttpServerTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95EFF1446591B00DBBF49 /* PltService.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155220D6FFDEB00899579 /* PltService.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F011446591B00DBBF49 /* PltSsdp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155240D6FFDEB00899579 /* PltSsdp.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F031446591C00DBBF49 /* PltStateVariable.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155270D6FFDEB00899579 /* PltStateVariable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F051446591C00DBBF49 /* PltTaskManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552B0D6FFDEB00899579 /* PltTaskManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F071446591C00DBBF49 /* PltThreadTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552D0D6FFDEB00899579 /* PltThreadTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F091446591C00DBBF49 /* PltUPnP.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552F0D6FFDEB00899579 /* PltUPnP.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F0B1446591C00DBBF49 /* PltUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155320D6FFDEB00899579 /* PltUtilities.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F28144659AA00DBBF49 /* PltXbox360.h in Headers */ = {isa = PBXBuildFile; fileRef = E426B3281130DF9500C58542 /* PltXbox360.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F29144659AA00DBBF49 /* PltMediaConnect.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155970D6FFE4C00899579 /* PltMediaConnect.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F2A144659AA00DBBF49 /* PltMediaController.h in Headers */ = {isa = PBXBuildFile; fileRef = E431559E0D6FFE4C00899579 /* PltMediaController.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F2B144659AA00DBBF49 /* PltMediaRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A10D6FFE4C00899579 /* PltMediaRenderer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F2C144659AA00DBBF49 /* PltDidl.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A90D6FFE4C00899579 /* PltDidl.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F2D144659AA00DBBF49 /* PltFileMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AB0D6FFE4C00899579 /* PltFileMediaServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F2E144659AA00DBBF49 /* PltMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AD0D6FFE4C00899579 /* PltMediaBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F2F144659AA00DBBF49 /* PltMediaCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B00D6FFE4C00899579 /* PltMediaCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F30144659AA00DBBF49 /* PltMediaItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B20D6FFE4C00899579 /* PltMediaItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F31144659AA00DBBF49 /* PltMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B60D6FFE4C00899579 /* PltMediaServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F32144659AA00DBBF49 /* PltSyncMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B90D6FFE4C00899579 /* PltSyncMediaBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F33144659AA00DBBF49 /* PltMediaServerObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1512417AA800000109 /* PltMediaServerObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F34144659AA00DBBF49 /* PltUPnPObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1712417AA800000109 /* PltUPnPObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F35144659AA00DBBF49 /* PltDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E311E6F0D90024CAD4 /* PltDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F36144659AA00DBBF49 /* PltStreamPump.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E511E6F0D90024CAD4 /* PltStreamPump.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F37144659AA00DBBF49 /* PltFrameBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C699F11E6ED710024CAD4 /* PltFrameBuffer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F38144659AA00DBBF49 /* PltFrameServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A111E6ED710024CAD4 /* PltFrameServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F39144659AA00DBBF49 /* PltFrameStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A311E6ED710024CAD4 /* PltFrameStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F3A144659AA00DBBF49 /* PltLeaks.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A511E6ED710024CAD4 /* PltLeaks.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F3B144659AA00DBBF49 /* PltMetadataHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A711E6ED710024CAD4 /* PltMetadataHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F3C144659AA00DBBF49 /* PltRingBufferStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A911E6ED710024CAD4 /* PltRingBufferStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F3D144659AB00DBBF49 /* Platinum.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFD101E1AEF007A9CE7 /* Platinum.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F3F144659AB00DBBF49 /* PltVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFF101E1AEF007A9CE7 /* PltVersion.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E4B95F7A14465F8E00DBBF49 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E4294C6514319C9400B6FDED /* InfoPlist.strings */; }; - E4D874C7144776B700CCB1B4 /* PltAction.h in Headers */ = {isa = PBXBuildFile; fileRef = E43154FF0D6FFDEB00899579 /* PltAction.h */; }; - E4D874C8144776B700CCB1B4 /* PltArgument.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155010D6FFDEB00899579 /* PltArgument.h */; }; - E4D874C9144776B700CCB1B4 /* PltCtrlPoint.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155030D6FFDEB00899579 /* PltCtrlPoint.h */; }; - E4D874CA144776B700CCB1B4 /* PltCtrlPointTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155050D6FFDEB00899579 /* PltCtrlPointTask.h */; }; - E4D874CB144776B700CCB1B4 /* PltDatagramStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155070D6FFDEB00899579 /* PltDatagramStream.h */; }; - E4D874CC144776B700CCB1B4 /* PltDeviceData.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155090D6FFDEB00899579 /* PltDeviceData.h */; }; - E4D874CD144776B700CCB1B4 /* PltDeviceHost.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550B0D6FFDEB00899579 /* PltDeviceHost.h */; }; - E4D874CE144776B700CCB1B4 /* PltEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550F0D6FFDEB00899579 /* PltEvent.h */; }; - E4D874CF144776B700CCB1B4 /* PltHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155110D6FFDEB00899579 /* PltHttp.h */; }; - E4D874D0144776B700CCB1B4 /* PltHttpClientTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155130D6FFDEB00899579 /* PltHttpClientTask.h */; }; - E4D874D1144776B700CCB1B4 /* PltHttpServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155150D6FFDEB00899579 /* PltHttpServer.h */; }; - E4D874D2144776B700CCB1B4 /* PltHttpServerTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155180D6FFDEB00899579 /* PltHttpServerTask.h */; }; - E4D874D3144776B700CCB1B4 /* PltService.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155220D6FFDEB00899579 /* PltService.h */; }; - E4D874D4144776B700CCB1B4 /* PltSsdp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155240D6FFDEB00899579 /* PltSsdp.h */; }; - E4D874D5144776B700CCB1B4 /* PltStateVariable.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155270D6FFDEB00899579 /* PltStateVariable.h */; }; - E4D874D6144776B700CCB1B4 /* PltTaskManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552B0D6FFDEB00899579 /* PltTaskManager.h */; }; - E4D874D7144776B700CCB1B4 /* PltThreadTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552D0D6FFDEB00899579 /* PltThreadTask.h */; }; - E4D874D8144776B700CCB1B4 /* PltUPnP.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552F0D6FFDEB00899579 /* PltUPnP.h */; }; - E4D874DA144776B700CCB1B4 /* PltUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155320D6FFDEB00899579 /* PltUtilities.h */; }; - E4D874DB144776B700CCB1B4 /* PltMediaController.h in Headers */ = {isa = PBXBuildFile; fileRef = E431559E0D6FFE4C00899579 /* PltMediaController.h */; }; - E4D874DC144776B700CCB1B4 /* PltMediaRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A10D6FFE4C00899579 /* PltMediaRenderer.h */; }; - E4D874DD144776B700CCB1B4 /* PltDidl.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A90D6FFE4C00899579 /* PltDidl.h */; }; - E4D874DE144776B700CCB1B4 /* PltFileMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AB0D6FFE4C00899579 /* PltFileMediaServer.h */; }; - E4D874DF144776B700CCB1B4 /* PltMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AD0D6FFE4C00899579 /* PltMediaBrowser.h */; }; - E4D874E0144776B700CCB1B4 /* PltMediaCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B00D6FFE4C00899579 /* PltMediaCache.h */; }; - E4D874E1144776B700CCB1B4 /* PltMediaItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B20D6FFE4C00899579 /* PltMediaItem.h */; }; - E4D874E2144776B700CCB1B4 /* PltMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B60D6FFE4C00899579 /* PltMediaServer.h */; }; - E4D874E3144776B700CCB1B4 /* PltSyncMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B90D6FFE4C00899579 /* PltSyncMediaBrowser.h */; }; - E4D874E4144776B700CCB1B4 /* PltConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E4BA7CBB0FE2200700A4D16B /* PltConstants.h */; }; - E4D874E5144776B700CCB1B4 /* Platinum.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFD101E1AEF007A9CE7 /* Platinum.h */; }; - E4D874E7144776B700CCB1B4 /* PltVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFF101E1AEF007A9CE7 /* PltVersion.h */; }; - E4D874E8144776B700CCB1B4 /* PltXbox360.h in Headers */ = {isa = PBXBuildFile; fileRef = E426B3281130DF9500C58542 /* PltXbox360.h */; }; - E4D874E9144776B700CCB1B4 /* PltMediaConnect.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155970D6FFE4C00899579 /* PltMediaConnect.h */; }; - E4D874EA144776B700CCB1B4 /* PltFrameBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C699F11E6ED710024CAD4 /* PltFrameBuffer.h */; }; - E4D874EB144776B700CCB1B4 /* PltFrameServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A111E6ED710024CAD4 /* PltFrameServer.h */; }; - E4D874EC144776B700CCB1B4 /* PltFrameStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A311E6ED710024CAD4 /* PltFrameStream.h */; }; - E4D874ED144776B700CCB1B4 /* PltLeaks.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A511E6ED710024CAD4 /* PltLeaks.h */; }; - E4D874EE144776B700CCB1B4 /* PltMetadataHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A711E6ED710024CAD4 /* PltMetadataHandler.h */; }; - E4D874EF144776B700CCB1B4 /* PltRingBufferStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A911E6ED710024CAD4 /* PltRingBufferStream.h */; }; - E4D874F0144776B700CCB1B4 /* PltDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E311E6F0D90024CAD4 /* PltDownloader.h */; }; - E4D874F1144776B700CCB1B4 /* PltStreamPump.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E511E6F0D90024CAD4 /* PltStreamPump.h */; }; - E4D874F2144776B700CCB1B4 /* PltMediaServerObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1512417AA800000109 /* PltMediaServerObject.h */; }; - E4D874F3144776B700CCB1B4 /* PltUPnPObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1712417AA800000109 /* PltUPnPObject.h */; }; - E4D874F4144776B700CCB1B4 /* PltProtocolInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4D9013B51BAC00359E06 /* PltProtocolInfo.h */; }; - E4D874F5144776B700CCB1B4 /* PltMimeType.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4DA713B51CB600359E06 /* PltMimeType.h */; }; - E4D874F7144776B700CCB1B4 /* PltAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43154FE0D6FFDEB00899579 /* PltAction.cpp */; }; - E4D874F8144776B700CCB1B4 /* PltArgument.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155000D6FFDEB00899579 /* PltArgument.cpp */; }; - E4D874F9144776B700CCB1B4 /* PltConstants.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4BA7CBC0FE2200700A4D16B /* PltConstants.cpp */; }; - E4D874FA144776B700CCB1B4 /* PltCtrlPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155020D6FFDEB00899579 /* PltCtrlPoint.cpp */; }; - E4D874FB144776B700CCB1B4 /* PltCtrlPointTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155040D6FFDEB00899579 /* PltCtrlPointTask.cpp */; }; - E4D874FC144776B700CCB1B4 /* PltDatagramStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155060D6FFDEB00899579 /* PltDatagramStream.cpp */; }; - E4D874FD144776B700CCB1B4 /* PltDeviceData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155080D6FFDEB00899579 /* PltDeviceData.cpp */; }; - E4D874FE144776B700CCB1B4 /* PltDeviceHost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550A0D6FFDEB00899579 /* PltDeviceHost.cpp */; }; - E4D874FF144776B700CCB1B4 /* PltDidl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A80D6FFE4C00899579 /* PltDidl.cpp */; }; - E4D87500144776B700CCB1B4 /* PltEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550E0D6FFDEB00899579 /* PltEvent.cpp */; }; - E4D87501144776B700CCB1B4 /* PltFileMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AA0D6FFE4C00899579 /* PltFileMediaServer.cpp */; }; - E4D87502144776B700CCB1B4 /* PltHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155100D6FFDEB00899579 /* PltHttp.cpp */; }; - E4D87503144776B700CCB1B4 /* PltHttpClientTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155120D6FFDEB00899579 /* PltHttpClientTask.cpp */; }; - E4D87504144776B700CCB1B4 /* PltHttpServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155140D6FFDEB00899579 /* PltHttpServer.cpp */; }; - E4D87505144776B700CCB1B4 /* PltHttpServerTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155170D6FFDEB00899579 /* PltHttpServerTask.cpp */; }; - E4D87506144776B700CCB1B4 /* PltIconsData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4F7E9060FE4B12A00BEDFA6 /* PltIconsData.cpp */; }; - E4D87507144776B700CCB1B4 /* PltMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AC0D6FFE4C00899579 /* PltMediaBrowser.cpp */; }; - E4D87508144776B700CCB1B4 /* PltMediaCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AF0D6FFE4C00899579 /* PltMediaCache.cpp */; }; - E4D87509144776B700CCB1B4 /* PltMediaController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431559D0D6FFE4C00899579 /* PltMediaController.cpp */; }; - E4D8750A144776B700CCB1B4 /* PltMediaItem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B10D6FFE4C00899579 /* PltMediaItem.cpp */; }; - E4D8750B144776B700CCB1B4 /* PltMediaRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A00D6FFE4C00899579 /* PltMediaRenderer.cpp */; }; - E4D8750C144776B700CCB1B4 /* PltMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B50D6FFE4C00899579 /* PltMediaServer.cpp */; }; - E4D8750D144776B700CCB1B4 /* PltService.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155210D6FFDEB00899579 /* PltService.cpp */; }; - E4D8750E144776B700CCB1B4 /* PltSsdp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155230D6FFDEB00899579 /* PltSsdp.cpp */; }; - E4D8750F144776B700CCB1B4 /* PltStateVariable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155260D6FFDEB00899579 /* PltStateVariable.cpp */; }; - E4D87510144776B700CCB1B4 /* PltSyncMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B80D6FFE4C00899579 /* PltSyncMediaBrowser.cpp */; }; - E4D87511144776B700CCB1B4 /* PltTaskManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552A0D6FFDEB00899579 /* PltTaskManager.cpp */; }; - E4D87512144776B700CCB1B4 /* PltThreadTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552C0D6FFDEB00899579 /* PltThreadTask.cpp */; }; - E4D87513144776B700CCB1B4 /* PltUPnP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552E0D6FFDEB00899579 /* PltUPnP.cpp */; }; - E4D87514144776B700CCB1B4 /* AVTransportSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB76108596B900E6ADE2 /* AVTransportSCPD.cpp */; }; - E4D87515144776B700CCB1B4 /* RdrConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB77108596B900E6ADE2 /* RdrConnectionManagerSCPD.cpp */; }; - E4D87516144776B700CCB1B4 /* RenderingControlSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB78108596B900E6ADE2 /* RenderingControlSCPD.cpp */; }; - E4D87517144776B700CCB1B4 /* ConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB82108596E400E6ADE2 /* ConnectionManagerSCPD.cpp */; }; - E4D87518144776B700CCB1B4 /* ContentDirectorywSearchSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB83108596E400E6ADE2 /* ContentDirectorywSearchSCPD.cpp */; }; - E4D87519144776B700CCB1B4 /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB7F108596C800E6ADE2 /* X_MS_MediaReceiverRegistrarSCPD.cpp */; }; - E4D8751A144776B700CCB1B4 /* PltXbox360.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E426B3271130DF9500C58542 /* PltXbox360.cpp */; }; - E4D8751B144776B700CCB1B4 /* PltMediaConnect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155960D6FFE4C00899579 /* PltMediaConnect.cpp */; }; - E4D8751C144776B700CCB1B4 /* PltFrameBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C699E11E6ED710024CAD4 /* PltFrameBuffer.cpp */; }; - E4D8751D144776B700CCB1B4 /* PltFrameServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A011E6ED710024CAD4 /* PltFrameServer.cpp */; }; - E4D8751E144776B700CCB1B4 /* PltFrameStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A211E6ED710024CAD4 /* PltFrameStream.cpp */; }; - E4D8751F144776B700CCB1B4 /* PltLeaks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A411E6ED710024CAD4 /* PltLeaks.cpp */; }; - E4D87520144776B700CCB1B4 /* PltMetadataHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A611E6ED710024CAD4 /* PltMetadataHandler.cpp */; }; - E4D87521144776B700CCB1B4 /* PltRingBufferStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A811E6ED710024CAD4 /* PltRingBufferStream.cpp */; }; - E4D87522144776B700CCB1B4 /* PltDownloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E211E6F0D90024CAD4 /* PltDownloader.cpp */; }; - E4D87523144776B700CCB1B4 /* PltStreamPump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E411E6F0D90024CAD4 /* PltStreamPump.cpp */; }; - E4D87524144776B700CCB1B4 /* PltMediaServerObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1612417AA800000109 /* PltMediaServerObject.mm */; }; - E4D87525144776B700CCB1B4 /* PltUPnPObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1812417AA800000109 /* PltUPnPObject.mm */; }; - E4D87526144776B700CCB1B4 /* ContentDirectorySCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E402C7541297CECB00565B76 /* ContentDirectorySCPD.cpp */; }; - E4D87527144776B700CCB1B4 /* PltProtocolInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4D8F13B51BAC00359E06 /* PltProtocolInfo.cpp */; }; - E4D87528144776B700CCB1B4 /* PltMimeType.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4DA613B51CB600359E06 /* PltMimeType.cpp */; }; + E44E2B251AE761220092347B /* PltMediaServerObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1612417AA800000109 /* PltMediaServerObject.mm */; }; + E44E2B261AE761220092347B /* PltFrameServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A011E6ED710024CAD4 /* PltFrameServer.cpp */; }; + E44E2B271AE761220092347B /* PltRingBufferStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A811E6ED710024CAD4 /* PltRingBufferStream.cpp */; }; + E44E2B281AE761220092347B /* PltHttp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155100D6FFDEB00899579 /* PltHttp.cpp */; }; + E44E2B291AE761220092347B /* PltDeviceHost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550A0D6FFDEB00899579 /* PltDeviceHost.cpp */; }; + E44E2B2A1AE761220092347B /* PltMediaController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431559D0D6FFE4C00899579 /* PltMediaController.cpp */; }; + E44E2B2B1AE761220092347B /* PltProtocolInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4D8F13B51BAC00359E06 /* PltProtocolInfo.cpp */; }; + E44E2B2C1AE761220092347B /* PltCtrlPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155020D6FFDEB00899579 /* PltCtrlPoint.cpp */; }; + E44E2B2D1AE761220092347B /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB7F108596C800E6ADE2 /* X_MS_MediaReceiverRegistrarSCPD.cpp */; }; + E44E2B2E1AE761220092347B /* RdrConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB77108596B900E6ADE2 /* RdrConnectionManagerSCPD.cpp */; }; + E44E2B2F1AE761220092347B /* PltStreamPump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E411E6F0D90024CAD4 /* PltStreamPump.cpp */; }; + E44E2B301AE761220092347B /* RenderingControlSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB78108596B900E6ADE2 /* RenderingControlSCPD.cpp */; }; + E44E2B311AE761220092347B /* PltMediaItem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B10D6FFE4C00899579 /* PltMediaItem.cpp */; }; + E44E2B321AE761220092347B /* PltMediaRenderer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A00D6FFE4C00899579 /* PltMediaRenderer.cpp */; }; + E44E2B331AE761220092347B /* PltFileMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AA0D6FFE4C00899579 /* PltFileMediaServer.cpp */; }; + E44E2B341AE761220092347B /* PltDidl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155A80D6FFE4C00899579 /* PltDidl.cpp */; }; + E44E2B351AE761220092347B /* PltDatagramStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155060D6FFDEB00899579 /* PltDatagramStream.cpp */; }; + E44E2B361AE761220092347B /* PltThreadTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552C0D6FFDEB00899579 /* PltThreadTask.cpp */; }; + E44E2B371AE761220092347B /* PltCtrlPointTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155040D6FFDEB00899579 /* PltCtrlPointTask.cpp */; }; + E44E2B381AE761220092347B /* PltFrameStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A211E6ED710024CAD4 /* PltFrameStream.cpp */; }; + E44E2B391AE761220092347B /* ContentDirectorywSearchSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB83108596E400E6ADE2 /* ContentDirectorywSearchSCPD.cpp */; }; + E44E2B3A1AE761220092347B /* PltMetadataHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A611E6ED710024CAD4 /* PltMetadataHandler.cpp */; }; + E44E2B3B1AE761220092347B /* PltUPnP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552E0D6FFDEB00899579 /* PltUPnP.cpp */; }; + E44E2B3C1AE761220092347B /* PltEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431550E0D6FFDEB00899579 /* PltEvent.cpp */; }; + E44E2B3D1AE761220092347B /* PltHttpServerTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155170D6FFDEB00899579 /* PltHttpServerTask.cpp */; }; + E44E2B3E1AE761220092347B /* PltDownloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69E211E6F0D90024CAD4 /* PltDownloader.cpp */; }; + E44E2B3F1AE761220092347B /* PltHttpClientTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155120D6FFDEB00899579 /* PltHttpClientTask.cpp */; }; + E44E2B401AE761220092347B /* PltMediaConnect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155960D6FFE4C00899579 /* PltMediaConnect.cpp */; }; + E44E2B411AE761220092347B /* PltMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AC0D6FFE4C00899579 /* PltMediaBrowser.cpp */; }; + E44E2B421AE761220092347B /* PltXbox360.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E426B3271130DF9500C58542 /* PltXbox360.cpp */; }; + E44E2B431AE761220092347B /* AVTransportSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB76108596B900E6ADE2 /* AVTransportSCPD.cpp */; }; + E44E2B441AE761220092347B /* PltLeaks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C69A411E6ED710024CAD4 /* PltLeaks.cpp */; }; + E44E2B451AE761220092347B /* PltTaskManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E431552A0D6FFDEB00899579 /* PltTaskManager.cpp */; }; + E44E2B461AE761220092347B /* PltMediaCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155AF0D6FFE4C00899579 /* PltMediaCache.cpp */; }; + E44E2B471AE761220092347B /* PltAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43154FE0D6FFDEB00899579 /* PltAction.cpp */; }; + E44E2B481AE761220092347B /* PltSsdp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155230D6FFDEB00899579 /* PltSsdp.cpp */; }; + E44E2B491AE761220092347B /* PltIconsData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4F7E9060FE4B12A00BEDFA6 /* PltIconsData.cpp */; }; + E44E2B4A1AE761220092347B /* PltArgument.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155000D6FFDEB00899579 /* PltArgument.cpp */; }; + E44E2B4B1AE761220092347B /* PltFrameBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E40C699E11E6ED710024CAD4 /* PltFrameBuffer.cpp */; }; + E44E2B4C1AE761220092347B /* PltHttpServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155140D6FFDEB00899579 /* PltHttpServer.cpp */; }; + E44E2B4D1AE761220092347B /* PltStateVariable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155260D6FFDEB00899579 /* PltStateVariable.cpp */; }; + E44E2B4E1AE761220092347B /* PltMediaServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B50D6FFE4C00899579 /* PltMediaServer.cpp */; }; + E44E2B4F1AE761220092347B /* PltSyncMediaBrowser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155B80D6FFE4C00899579 /* PltSyncMediaBrowser.cpp */; }; + E44E2B501AE761220092347B /* PltDeviceData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155080D6FFDEB00899579 /* PltDeviceData.cpp */; }; + E44E2B511AE761220092347B /* PltConstants.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4BA7CBC0FE2200700A4D16B /* PltConstants.cpp */; }; + E44E2B521AE761220092347B /* ContentDirectorySCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E402C7541297CECB00565B76 /* ContentDirectorySCPD.cpp */; }; + E44E2B531AE761220092347B /* PltUPnPObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4374C1812417AA800000109 /* PltUPnPObject.mm */; }; + E44E2B541AE761220092347B /* PltService.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E43155210D6FFDEB00899579 /* PltService.cpp */; }; + E44E2B551AE761220092347B /* PltMimeType.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E48D4DA613B51CB600359E06 /* PltMimeType.cpp */; }; + E44E2B561AE761220092347B /* ConnectionManagerSCPD.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4A7DB82108596E400E6ADE2 /* ConnectionManagerSCPD.cpp */; }; + E44E2B5A1AE761220092347B /* PltTaskManager.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552B0D6FFDEB00899579 /* PltTaskManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B5B1AE761220092347B /* PltDeviceHost.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550B0D6FFDEB00899579 /* PltDeviceHost.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B5C1AE761220092347B /* PltLeaks.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A511E6ED710024CAD4 /* PltLeaks.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B5D1AE761220092347B /* PltHttpServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155150D6FFDEB00899579 /* PltHttpServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B5E1AE761220092347B /* PltMediaItem.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B20D6FFE4C00899579 /* PltMediaItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B5F1AE761220092347B /* PltFrameBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C699F11E6ED710024CAD4 /* PltFrameBuffer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B601AE761220092347B /* PltMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AD0D6FFE4C00899579 /* PltMediaBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B611AE761220092347B /* PltDatagramStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155070D6FFDEB00899579 /* PltDatagramStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B621AE761220092347B /* PltUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155320D6FFDEB00899579 /* PltUtilities.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B631AE761220092347B /* PltRingBufferStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A911E6ED710024CAD4 /* PltRingBufferStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B641AE761220092347B /* PltSsdp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155240D6FFDEB00899579 /* PltSsdp.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B651AE761220092347B /* Platinum.h in Headers */ = {isa = PBXBuildFile; fileRef = E41016251ACFA826000E994F /* Platinum.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B661AE761220092347B /* PltConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = E4BA7CBB0FE2200700A4D16B /* PltConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B671AE761220092347B /* PltThreadTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552D0D6FFDEB00899579 /* PltThreadTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B681AE761220092347B /* PltUPnPObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1712417AA800000109 /* PltUPnPObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B691AE761220092347B /* PltProtocolInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4D9013B51BAC00359E06 /* PltProtocolInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B6A1AE761220092347B /* PltCtrlPoint.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155030D6FFDEB00899579 /* PltCtrlPoint.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B6B1AE761220092347B /* PltService.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155220D6FFDEB00899579 /* PltService.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B6C1AE761220092347B /* PltXbox360.h in Headers */ = {isa = PBXBuildFile; fileRef = E426B3281130DF9500C58542 /* PltXbox360.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B6D1AE761220092347B /* PltHttp.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155110D6FFDEB00899579 /* PltHttp.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B6E1AE761220092347B /* PltVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = E43EEEFF101E1AEF007A9CE7 /* PltVersion.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B6F1AE761220092347B /* PltMediaConnect.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155970D6FFE4C00899579 /* PltMediaConnect.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B701AE761220092347B /* PltHttpServerTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155180D6FFDEB00899579 /* PltHttpServerTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B711AE761220092347B /* PltMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B60D6FFE4C00899579 /* PltMediaServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B721AE761220092347B /* PltFileMediaServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155AB0D6FFE4C00899579 /* PltFileMediaServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B731AE761220092347B /* PltStreamPump.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E511E6F0D90024CAD4 /* PltStreamPump.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B741AE761220092347B /* PltMediaCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B00D6FFE4C00899579 /* PltMediaCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B751AE761220092347B /* PltFrameServer.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A111E6ED710024CAD4 /* PltFrameServer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B761AE761220092347B /* PltMediaRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A10D6FFE4C00899579 /* PltMediaRenderer.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B771AE761220092347B /* PltArgument.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155010D6FFDEB00899579 /* PltArgument.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B781AE761220092347B /* PltHttpClientTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155130D6FFDEB00899579 /* PltHttpClientTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B791AE761220092347B /* PltSyncMediaBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155B90D6FFE4C00899579 /* PltSyncMediaBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B7A1AE761220092347B /* PltStateVariable.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155270D6FFDEB00899579 /* PltStateVariable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B7B1AE761220092347B /* PltDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69E311E6F0D90024CAD4 /* PltDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B7C1AE761220092347B /* PltDidl.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155A90D6FFE4C00899579 /* PltDidl.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B7D1AE761220092347B /* PltUPnP.h in Headers */ = {isa = PBXBuildFile; fileRef = E431552F0D6FFDEB00899579 /* PltUPnP.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B7E1AE761220092347B /* PltCtrlPointTask.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155050D6FFDEB00899579 /* PltCtrlPointTask.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B7F1AE761220092347B /* PltMetadataHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A711E6ED710024CAD4 /* PltMetadataHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B801AE761220092347B /* PltAction.h in Headers */ = {isa = PBXBuildFile; fileRef = E43154FF0D6FFDEB00899579 /* PltAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B811AE761220092347B /* PltEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E431550F0D6FFDEB00899579 /* PltEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B821AE761220092347B /* PltMimeType.h in Headers */ = {isa = PBXBuildFile; fileRef = E48D4DA713B51CB600359E06 /* PltMimeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B831AE761220092347B /* PltMediaServerObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E4374C1512417AA800000109 /* PltMediaServerObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B841AE761220092347B /* PltFrameStream.h in Headers */ = {isa = PBXBuildFile; fileRef = E40C69A311E6ED710024CAD4 /* PltFrameStream.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B851AE761220092347B /* PltMediaController.h in Headers */ = {isa = PBXBuildFile; fileRef = E431559E0D6FFE4C00899579 /* PltMediaController.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2B861AE761220092347B /* PltDeviceData.h in Headers */ = {isa = PBXBuildFile; fileRef = E43155090D6FFDEB00899579 /* PltDeviceData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E44E2BC41AE76E0F0092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2BC51AE76E330092347B /* Platinum.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + E44E2BCB1AE76FF90092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BCC1AE770150092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E40616C01ADE5C9A008BDAEB /* Neptune.framework */; }; + E44E2BCD1AE7701D0092347B /* Neptune.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E40616C01ADE5C9A008BDAEB /* Neptune.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + E44E2BCE1AE7702D0092347B /* Neptune.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + E44E2BCF1AE770500092347B /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4374268123FFF5B00000109 /* Cocoa.framework */; }; + E44E2BDE1AE776DD0092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BDF1AE776E80092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2BF41AE779880092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BF51AE779890092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BF61AE7798A0092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BF71AE7798A0092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BF81AE7798B0092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BF91AE7798B0092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BFA1AE7798C0092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BFB1AE7798C0092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BFC1AE7798D0092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BFD1AE7798D0092347B /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; + E44E2BFE1AE779950092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2BFF1AE779960092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2C001AE779960092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2C011AE779970092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2C021AE779970092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2C031AE779970092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2C041AE779980092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2C051AE779980092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2C061AE779990092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E44E2C071AE779990092347B /* Platinum.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8B1AE761220092347B /* Platinum.framework */; }; + E45332B21AAED318004A52FD /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E45332B11AAED318004A52FD /* main.m */; }; + E45332B51AAED318004A52FD /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E45332B41AAED318004A52FD /* AppDelegate.m */; }; + E45332B81AAED318004A52FD /* ViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = E45332B71AAED318004A52FD /* ViewController.mm */; }; + E45BD1F71FC95BFC00F1D812 /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E40616C01ADE5C9A008BDAEB /* Neptune.framework */; }; + E48EAA811AF1EDD800D9EDC0 /* Neptune.h in Headers */ = {isa = PBXBuildFile; fileRef = E48EAA801AF1EDD800D9EDC0 /* Neptune.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E48EAA821AF1EDD800D9EDC0 /* Neptune.h in Headers */ = {isa = PBXBuildFile; fileRef = E48EAA801AF1EDD800D9EDC0 /* Neptune.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E4B2A5A71FC90AE500C891D7 /* Neptune.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E44E2B8D1AE7622F0092347B /* Neptune.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - E412ABB214478C240078A367 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; - proxyType = 1; - remoteGlobalIDString = E4B95ECB1446575700DBBF49; - remoteInfo = "PlatinumFramework-MacOSX"; - }; - E423F35D18415DC500E24E39 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; - proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; - }; - E42BD4CE176BD26A00134F8A /* PBXContainerItemProxy */ = { + E41016361ACFA826000E994F /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E496A914146A4D320034BBAE; - remoteInfo = "Platinum-iPhone-Static"; + remoteGlobalIDString = E41016201ACFA826000E994F; + remoteInfo = Platinum; }; E42D3B070FDC890F0045379C /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; @@ -1391,114 +422,141 @@ remoteGlobalIDString = E43741FB123FFB9800000109; remoteInfo = MediaServerCocoaTest; }; - E445E4CE14497BC400F221B3 /* PBXContainerItemProxy */ = { + E44E2BC21AE76D7B0092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E46E0E51144830AB00CE9E65; - remoteInfo = "Platinum-iPhone-Framework-Universal"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E445E4D814497BFA00F221B3 /* PBXContainerItemProxy */ = { + E44E2BD41AE7755C0092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E445E4C814497B8F00F221B3; - remoteInfo = "All-iPhoneOS"; + remoteGlobalIDString = E41016201ACFA826000E994F; + remoteInfo = "Platinum-iOS"; }; - E459CC2711F82C7F00621896 /* PBXContainerItemProxy */ = { + E44E2BD61AE7755C0092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E459CC2111F82C3F00621896; - remoteInfo = Help; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; + }; + E44E2BD81AE775600092347B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = E44E2BD01AE775510092347B; + remoteInfo = Frameworks; }; - E488DDA21447EF93005E84BD /* PBXContainerItemProxy */ = { + E44E2BDA1AE776060092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E4B95ECB1446575700DBBF49; - remoteInfo = "Platinum-MacOSX"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A7E163200F6009E46A5 /* PBXContainerItemProxy */ = { + E44E2BE01AE779130092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A811632010F009E46A5 /* PBXContainerItemProxy */ = { + E44E2BE21AE7794D0092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A841632011A009E46A5 /* PBXContainerItemProxy */ = { + E44E2BE41AE779520092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A8716320129009E46A5 /* PBXContainerItemProxy */ = { + E44E2BE61AE779580092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A8A16320138009E46A5 /* PBXContainerItemProxy */ = { + E44E2BE81AE7795C0092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A8D16320143009E46A5 /* PBXContainerItemProxy */ = { + E44E2BEA1AE779600092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A9016320151009E46A5 /* PBXContainerItemProxy */ = { + E44E2BEC1AE779640092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A931632015D009E46A5 /* PBXContainerItemProxy */ = { + E44E2BEE1AE779680092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A9616320169009E46A5 /* PBXContainerItemProxy */ = { + E44E2BF01AE7796C0092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; }; - E48F8A9916320174009E46A5 /* PBXContainerItemProxy */ = { + E44E2BF21AE779700092347B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = E48F89811632007E009E46A5; - remoteInfo = "Platinum-MacOSX-Static"; + remoteGlobalIDString = E44E2B231AE761220092347B; + remoteInfo = "Platinum-Mac"; + }; + E459CC2711F82C7F00621896 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = E459CC2111F82C3F00621896; + remoteInfo = Help; }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ + E410163D1ACFA826000E994F /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + E44E2BCD1AE7701D0092347B /* Neptune.framework in Embed Frameworks */, + E41016391ACFA826000E994F /* Platinum.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; E4516B8E1446C3F600EC613B /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; dstPath = ""; dstSubfolderSpec = 10; files = ( - E445E51614498A7300F221B3 /* Platinum.framework in CopyFiles */, + E44E2BCE1AE7702D0092347B /* Neptune.framework in CopyFiles */, + E44E2BC51AE76E330092347B /* Platinum.framework in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1506,6 +564,7 @@ /* Begin PBXFileReference section */ E402C7541297CECB00565B76 /* ContentDirectorySCPD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ContentDirectorySCPD.cpp; sourceTree = "<group>"; }; + E40616C01ADE5C9A008BDAEB /* Neptune.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Neptune.framework; path = ../../../Carthage/Build/iOS/Neptune.framework; sourceTree = "<group>"; }; E40C699E11E6ED710024CAD4 /* PltFrameBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PltFrameBuffer.cpp; sourceTree = "<group>"; }; E40C699F11E6ED710024CAD4 /* PltFrameBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltFrameBuffer.h; sourceTree = "<group>"; }; E40C69A011E6ED710024CAD4 /* PltFrameServer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PltFrameServer.cpp; sourceTree = "<group>"; }; @@ -1522,13 +581,17 @@ E40C69E311E6F0D90024CAD4 /* PltDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltDownloader.h; sourceTree = "<group>"; }; E40C69E411E6F0D90024CAD4 /* PltStreamPump.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PltStreamPump.cpp; sourceTree = "<group>"; }; E40C69E511E6F0D90024CAD4 /* PltStreamPump.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltStreamPump.h; sourceTree = "<group>"; }; + E41016161ACFA70C000E994F /* MobileMediaServer-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "MobileMediaServer-Info.plist"; sourceTree = "<group>"; }; + E41016181ACFA761000E994F /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = LaunchScreen.xib; path = ../../../Source/Apps/MobileMediaServer/LaunchScreen.xib; sourceTree = "<group>"; }; + E41016191ACFA761000E994F /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = ../../../Source/Apps/MobileMediaServer/Main.storyboard; sourceTree = "<group>"; }; + E41016211ACFA826000E994F /* Platinum.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Platinum.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E41016241ACFA826000E994F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; + E41016251ACFA826000E994F /* Platinum.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Platinum.h; sourceTree = "<group>"; }; E423F35A18415DA800E24E39 /* SsdpTest1.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SsdpTest1.cpp; path = ../../../Source/Tests/Ssdp/SsdpTest1.cpp; sourceTree = "<group>"; }; E423F36818415DC500E24E39 /* SsdpTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SsdpTest; sourceTree = BUILT_PRODUCTS_DIR; }; E426B3271130DF9500C58542 /* PltXbox360.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PltXbox360.cpp; sourceTree = "<group>"; }; E426B3281130DF9500C58542 /* PltXbox360.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltXbox360.h; sourceTree = "<group>"; }; E4294C6014319C9400B6FDED /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; - E4294C6414319C9400B6FDED /* PlatinumFramework-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PlatinumFramework-Info.plist"; sourceTree = "<group>"; }; - E4294C6614319C9400B6FDED /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; E42D3A930FDC85E70045379C /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = ../../../Source/Apps/FrameStreamer/main.cpp; sourceTree = SOURCE_ROOT; }; E42D3A950FDC85E70045379C /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; }; E42D3A970FDC85E70045379C /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; }; @@ -1538,7 +601,7 @@ E42D3A9C0FDC85E70045379C /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; }; E42D3A9D0FDC85E70045379C /* PltMicroMediaController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PltMicroMediaController.cpp; sourceTree = "<group>"; }; E42D3A9E0FDC85E70045379C /* PltMicroMediaController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltMicroMediaController.h; sourceTree = "<group>"; }; - E42D3AAB0FDC86A60045379C /* FileMediaServerTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FileMediaServerTest.cpp; sourceTree = "<group>"; }; + E42D3AAB0FDC86A60045379C /* FileMediaServerTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FileMediaServerTest.cpp; sourceTree = "<group>"; usesTabs = 0; }; E42D3AAD0FDC86A60045379C /* HttpTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HttpTest.cpp; sourceTree = "<group>"; }; E42D3AAF0FDC86A60045379C /* PltLightSample.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PltLightSample.h; sourceTree = "<group>"; }; E42D3AB00FDC86A60045379C /* LightSampleTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LightSampleTest.cpp; sourceTree = "<group>"; }; @@ -1613,8 +676,6 @@ E43155B60D6FFE4C00899579 /* PltMediaServer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = PltMediaServer.h; sourceTree = "<group>"; }; E43155B80D6FFE4C00899579 /* PltSyncMediaBrowser.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = PltSyncMediaBrowser.cpp; sourceTree = "<group>"; }; E43155B90D6FFE4C00899579 /* PltSyncMediaBrowser.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = PltSyncMediaBrowser.h; sourceTree = "<group>"; }; - E4372433166D319D0048F158 /* NeptuneErrorCodes.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = NeptuneErrorCodes.txt; sourceTree = "<group>"; }; - E4372435166D319D0048F158 /* Neptune Logging.doc */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Neptune Logging.doc"; sourceTree = "<group>"; }; E43741FC123FFB9800000109 /* MediaServerCocoaTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MediaServerCocoaTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; E4374243123FFE9100000109 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; E4374245123FFE9100000109 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; }; @@ -1635,181 +696,30 @@ E43F6BC510F1B74E00C97612 /* TimeTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = TimeTest; sourceTree = BUILT_PRODUCTS_DIR; }; E43F6BC810F1B78400C97612 /* TimeTest1.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TimeTest1.cpp; sourceTree = "<group>"; }; E4446FAA12C3168900E01480 /* MediaServerCocoaTestController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MediaServerCocoaTestController.mm; sourceTree = "<group>"; }; - E448216815100D3A0069F573 /* NptAppleAutoreleasePool.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = NptAppleAutoreleasePool.mm; sourceTree = "<group>"; }; + E44E2B8B1AE761220092347B /* Platinum.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Platinum.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E44E2B8D1AE7622F0092347B /* Neptune.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Neptune.framework; path = ../../../Carthage/Build/Mac/Neptune.framework; sourceTree = "<group>"; }; E4516A331446A54400EC613B /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; }; - E457AB9F144A8E0100C34B69 /* PlatinumFramework-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PlatinumFramework-Prefix.pch"; sourceTree = "<group>"; }; - E457ABD1144AA48100C34B69 /* NptTlsDefaultTrustAnchorsBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptTlsDefaultTrustAnchorsBase.cpp; sourceTree = "<group>"; }; - E457ABD2144AA48100C34B69 /* NptTlsDefaultTrustAnchorsExtended.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptTlsDefaultTrustAnchorsExtended.cpp; sourceTree = "<group>"; }; - E457ABDA144AA48D00C34B69 /* NptHash.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptHash.cpp; sourceTree = "<group>"; }; - E457ABDB144AA48D00C34B69 /* NptHash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptHash.h; sourceTree = "<group>"; }; - E457ABDC144AA48D00C34B69 /* NptCrypto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptCrypto.cpp; sourceTree = "<group>"; }; - E457ABDD144AA48D00C34B69 /* NptCrypto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptCrypto.h; sourceTree = "<group>"; }; - E457ABDE144AA48D00C34B69 /* NptDigest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptDigest.cpp; sourceTree = "<group>"; }; - E457ABDF144AA48D00C34B69 /* NptDigest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptDigest.h; sourceTree = "<group>"; }; - E457ABE0144AA48D00C34B69 /* NptDynamicCast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptDynamicCast.h; sourceTree = "<group>"; }; - E457ABE1144AA48D00C34B69 /* NptResults.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptResults.cpp; sourceTree = "<group>"; }; - E457ABE2144AA48D00C34B69 /* NptTls.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptTls.cpp; sourceTree = "<group>"; }; - E457ABE3144AA48D00C34B69 /* NptTls.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptTls.h; sourceTree = "<group>"; }; - E457ABE4144AA48D00C34B69 /* NptDynamicLibraries.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptDynamicLibraries.cpp; sourceTree = "<group>"; }; - E457ABE5144AA48D00C34B69 /* NptDynamicLibraries.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptDynamicLibraries.h; sourceTree = "<group>"; }; - E457ABE6144AA48D00C34B69 /* NptSerialPort.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptSerialPort.h; sourceTree = "<group>"; }; - E457ABE7144AA48D00C34B69 /* Neptune.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Neptune.cpp; sourceTree = "<group>"; }; - E457ABE8144AA48D00C34B69 /* Neptune.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Neptune.h; sourceTree = "<group>"; }; - E457ABE9144AA48D00C34B69 /* NptArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptArray.h; sourceTree = "<group>"; }; - E457ABEA144AA48D00C34B69 /* NptBase64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptBase64.cpp; sourceTree = "<group>"; }; - E457ABEB144AA48D00C34B69 /* NptBase64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptBase64.h; sourceTree = "<group>"; }; - E457ABEC144AA48D00C34B69 /* NptBufferedStreams.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptBufferedStreams.cpp; sourceTree = "<group>"; }; - E457ABED144AA48D00C34B69 /* NptBufferedStreams.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptBufferedStreams.h; sourceTree = "<group>"; }; - E457ABEE144AA48D00C34B69 /* NptCommon.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptCommon.cpp; sourceTree = "<group>"; }; - E457ABEF144AA48D00C34B69 /* NptCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptCommon.h; sourceTree = "<group>"; }; - E457ABF0144AA48D00C34B69 /* NptConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptConfig.h; sourceTree = "<group>"; }; - E457ABF1144AA48D00C34B69 /* NptConsole.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptConsole.cpp; sourceTree = "<group>"; }; - E457ABF2144AA48D00C34B69 /* NptConsole.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptConsole.h; sourceTree = "<group>"; }; - E457ABF3144AA48D00C34B69 /* NptConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptConstants.h; sourceTree = "<group>"; }; - E457ABF4144AA48D00C34B69 /* NptDataBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptDataBuffer.cpp; sourceTree = "<group>"; }; - E457ABF5144AA48D00C34B69 /* NptDataBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptDataBuffer.h; sourceTree = "<group>"; }; - E457ABF6144AA48D00C34B69 /* NptDebug.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptDebug.cpp; sourceTree = "<group>"; }; - E457ABF7144AA48D00C34B69 /* NptDebug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptDebug.h; sourceTree = "<group>"; }; - E457ABF8144AA48D00C34B69 /* NptDefs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptDefs.h; sourceTree = "<group>"; }; - E457ABF9144AA48D00C34B69 /* NptFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptFile.cpp; sourceTree = "<group>"; }; - E457ABFA144AA48D00C34B69 /* NptFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptFile.h; sourceTree = "<group>"; }; - E457ABFB144AA48D00C34B69 /* NptHttp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptHttp.cpp; sourceTree = "<group>"; }; - E457ABFC144AA48D00C34B69 /* NptHttp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptHttp.h; sourceTree = "<group>"; }; - E457ABFD144AA48D00C34B69 /* NptInterfaces.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptInterfaces.h; sourceTree = "<group>"; }; - E457ABFE144AA48D00C34B69 /* NptList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptList.cpp; sourceTree = "<group>"; }; - E457ABFF144AA48D00C34B69 /* NptList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptList.h; sourceTree = "<group>"; }; - E457AC00144AA48D00C34B69 /* NptLogging.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptLogging.cpp; sourceTree = "<group>"; }; - E457AC01144AA48D00C34B69 /* NptLogging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptLogging.h; sourceTree = "<group>"; }; - E457AC02144AA48D00C34B69 /* NptMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptMap.h; sourceTree = "<group>"; }; - E457AC03144AA48D00C34B69 /* NptMessaging.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptMessaging.cpp; sourceTree = "<group>"; }; - E457AC04144AA48D00C34B69 /* NptMessaging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptMessaging.h; sourceTree = "<group>"; }; - E457AC05144AA48D00C34B69 /* NptNetwork.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptNetwork.cpp; sourceTree = "<group>"; }; - E457AC06144AA48D00C34B69 /* NptNetwork.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptNetwork.h; sourceTree = "<group>"; }; - E457AC07144AA48D00C34B69 /* NptQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptQueue.cpp; sourceTree = "<group>"; }; - E457AC08144AA48D00C34B69 /* NptQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptQueue.h; sourceTree = "<group>"; }; - E457AC09144AA48D00C34B69 /* NptReferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptReferences.h; sourceTree = "<group>"; }; - E457AC0A144AA48D00C34B69 /* NptResults.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptResults.h; sourceTree = "<group>"; }; - E457AC0B144AA48D00C34B69 /* NptRingBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptRingBuffer.cpp; sourceTree = "<group>"; }; - E457AC0C144AA48D00C34B69 /* NptRingBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptRingBuffer.h; sourceTree = "<group>"; }; - E457AC0D144AA48D00C34B69 /* NptSelectableMessageQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptSelectableMessageQueue.h; sourceTree = "<group>"; }; - E457AC0E144AA48D00C34B69 /* NptSimpleMessageQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptSimpleMessageQueue.cpp; sourceTree = "<group>"; }; - E457AC0F144AA48D00C34B69 /* NptSimpleMessageQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptSimpleMessageQueue.h; sourceTree = "<group>"; }; - E457AC10144AA48D00C34B69 /* NptSockets.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptSockets.cpp; sourceTree = "<group>"; }; - E457AC11144AA48D00C34B69 /* NptSockets.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptSockets.h; sourceTree = "<group>"; }; - E457AC12144AA48D00C34B69 /* NptStack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptStack.h; sourceTree = "<group>"; }; - E457AC13144AA48D00C34B69 /* NptStreams.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptStreams.cpp; sourceTree = "<group>"; }; - E457AC14144AA48D00C34B69 /* NptStreams.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptStreams.h; sourceTree = "<group>"; }; - E457AC15144AA48D00C34B69 /* NptStrings.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptStrings.cpp; sourceTree = "<group>"; }; - E457AC16144AA48D00C34B69 /* NptStrings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptStrings.h; sourceTree = "<group>"; }; - E457AC17144AA48D00C34B69 /* NptSystem.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptSystem.cpp; sourceTree = "<group>"; }; - E457AC18144AA48D00C34B69 /* NptSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptSystem.h; sourceTree = "<group>"; }; - E457AC19144AA48D00C34B69 /* NptThreads.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptThreads.cpp; sourceTree = "<group>"; }; - E457AC1A144AA48D00C34B69 /* NptThreads.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptThreads.h; sourceTree = "<group>"; }; - E457AC1B144AA48D00C34B69 /* NptTime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptTime.cpp; sourceTree = "<group>"; }; - E457AC1C144AA48D00C34B69 /* NptTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptTime.h; sourceTree = "<group>"; }; - E457AC1D144AA48D00C34B69 /* NptTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptTypes.h; sourceTree = "<group>"; }; - E457AC1E144AA48D00C34B69 /* NptUri.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptUri.cpp; sourceTree = "<group>"; }; - E457AC1F144AA48D00C34B69 /* NptUri.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptUri.h; sourceTree = "<group>"; }; - E457AC20144AA48D00C34B69 /* NptUtils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptUtils.cpp; sourceTree = "<group>"; }; - E457AC21144AA48D00C34B69 /* NptUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptUtils.h; sourceTree = "<group>"; }; - E457AC22144AA48D00C34B69 /* NptVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptVersion.h; sourceTree = "<group>"; }; - E457AC23144AA48D00C34B69 /* NptXml.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptXml.cpp; sourceTree = "<group>"; }; - E457AC24144AA48D00C34B69 /* NptXml.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptXml.h; sourceTree = "<group>"; }; - E457AC25144AA48D00C34B69 /* NptZip.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptZip.h; sourceTree = "<group>"; }; - E457AC26144AA48D00C34B69 /* NptZip.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptZip.cpp; sourceTree = "<group>"; }; - E457AD15144AA49500C34B69 /* NptAppleLogConfig.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = NptAppleLogConfig.mm; sourceTree = "<group>"; }; - E457AD16144AA49500C34B69 /* NptCocoaEnviroment.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = NptCocoaEnviroment.mm; sourceTree = "<group>"; }; - E457AD17144AA49500C34B69 /* NptCocoaConsole.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = NptCocoaConsole.mm; sourceTree = "<group>"; }; - E457AD18144AA49500C34B69 /* NptCocoaMessageQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptCocoaMessageQueue.h; sourceTree = "<group>"; }; - E457AD19144AA49500C34B69 /* NptCocoaMessageQueue.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = NptCocoaMessageQueue.mm; sourceTree = "<group>"; }; - E457AD1A144AA49500C34B69 /* NptNullSerialPort.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptNullSerialPort.cpp; sourceTree = "<group>"; }; - E457AD1B144AA49500C34B69 /* NptBsdResolver.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptBsdResolver.cpp; sourceTree = "<group>"; }; - E457AD1C144AA49500C34B69 /* NptBsdNetwork.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptBsdNetwork.cpp; sourceTree = "<group>"; }; - E457AD1D144AA49500C34B69 /* NptBsdSockets.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptBsdSockets.cpp; sourceTree = "<group>"; }; - E457AD1E144AA49500C34B69 /* NptPosixTime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptPosixTime.cpp; sourceTree = "<group>"; }; - E457AD1F144AA49500C34B69 /* NptPosixDynamicLibraries.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptPosixDynamicLibraries.cpp; sourceTree = "<group>"; }; - E457AD20144AA49500C34B69 /* NptPosixNetwork.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptPosixNetwork.cpp; sourceTree = "<group>"; }; - E457AD21144AA49500C34B69 /* NptPosixFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptPosixFile.cpp; sourceTree = "<group>"; }; - E457AD22144AA49500C34B69 /* NptPosixQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptPosixQueue.cpp; sourceTree = "<group>"; }; - E457AD23144AA49500C34B69 /* NptPosixSystem.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptPosixSystem.cpp; sourceTree = "<group>"; }; - E457AD24144AA49500C34B69 /* NptPosixThreads.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptPosixThreads.cpp; sourceTree = "<group>"; }; - E457AD25144AA49500C34B69 /* NptSelectableMessageQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptSelectableMessageQueue.cpp; sourceTree = "<group>"; }; - E457AD27144AA49500C34B69 /* NptStdcDebug.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptStdcDebug.cpp; sourceTree = "<group>"; }; - E457AD28144AA49500C34B69 /* NptStdcEnvironment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptStdcEnvironment.cpp; sourceTree = "<group>"; }; - E457AD29144AA49500C34B69 /* NptStdcFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptStdcFile.cpp; sourceTree = "<group>"; }; - E457AD70144AA4A000C34B69 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; }; - E457AD71144AA4A000C34B69 /* aes.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = aes.c; sourceTree = "<group>"; }; - E457AD72144AA4A000C34B69 /* bigint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = bigint.c; sourceTree = "<group>"; }; - E457AD73144AA4A000C34B69 /* bigint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bigint.h; sourceTree = "<group>"; }; - E457AD74144AA4A000C34B69 /* bigint_impl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bigint_impl.h; sourceTree = "<group>"; }; - E457AD75144AA4A000C34B69 /* crypto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = crypto.h; sourceTree = "<group>"; }; - E457AD76144AA4A000C34B69 /* crypto_misc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = crypto_misc.c; sourceTree = "<group>"; }; - E457AD77144AA4A000C34B69 /* hmac.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hmac.c; sourceTree = "<group>"; }; - E457AD78144AA4A000C34B69 /* md2.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = md2.c; sourceTree = "<group>"; }; - E457AD79144AA4A000C34B69 /* md5.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = md5.c; sourceTree = "<group>"; }; - E457AD7A144AA4A000C34B69 /* rc4.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = rc4.c; sourceTree = "<group>"; }; - E457AD7B144AA4A000C34B69 /* rsa.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = rsa.c; sourceTree = "<group>"; }; - E457AD7C144AA4A000C34B69 /* sha1.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sha1.c; sourceTree = "<group>"; }; - E457AD7D144AA4A000C34B69 /* asn1.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = asn1.c; sourceTree = "<group>"; }; - E457AD7E144AA4A000C34B69 /* cert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cert.h; sourceTree = "<group>"; }; - E457AD7F144AA4A000C34B69 /* crypto_misc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = crypto_misc.h; sourceTree = "<group>"; }; - E457AD80144AA4A000C34B69 /* gen_cert.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = gen_cert.c; sourceTree = "<group>"; }; - E457AD81144AA4A000C34B69 /* loader.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = loader.c; sourceTree = "<group>"; }; - E457AD82144AA4A000C34B69 /* os_port.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = os_port.h; sourceTree = "<group>"; }; - E457AD83144AA4A000C34B69 /* p12.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = p12.c; sourceTree = "<group>"; }; - E457AD84144AA4A000C34B69 /* ssl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ssl.h; sourceTree = "<group>"; }; - E457AD85144AA4A000C34B69 /* tls1.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tls1.c; sourceTree = "<group>"; }; - E457AD86144AA4A000C34B69 /* tls1.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tls1.h; sourceTree = "<group>"; }; - E457AD87144AA4A000C34B69 /* tls1_clnt.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tls1_clnt.c; sourceTree = "<group>"; }; - E457AD88144AA4A000C34B69 /* tls1_svr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tls1_svr.c; sourceTree = "<group>"; }; - E457AD89144AA4A000C34B69 /* version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = version.h; sourceTree = "<group>"; }; - E457AD8A144AA4A000C34B69 /* x509.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = x509.c; sourceTree = "<group>"; }; - E457AD8B144AA4A000C34B69 /* compress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = compress.c; path = "../ThirdParty/zlib-1.2.8/compress.c"; sourceTree = "<group>"; }; - E457AD8C144AA4A000C34B69 /* adler32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = adler32.c; path = "../ThirdParty/zlib-1.2.8/adler32.c"; sourceTree = "<group>"; }; - E457AD8D144AA4A000C34B69 /* crc32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = crc32.c; path = "../ThirdParty/zlib-1.2.8/crc32.c"; sourceTree = "<group>"; }; - E457AD8E144AA4A000C34B69 /* crc32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = crc32.h; path = "../ThirdParty/zlib-1.2.8/crc32.h"; sourceTree = "<group>"; }; - E457AD8F144AA4A000C34B69 /* deflate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = deflate.c; path = "../ThirdParty/zlib-1.2.8/deflate.c"; sourceTree = "<group>"; }; - E457AD90144AA4A000C34B69 /* deflate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = deflate.h; path = "../ThirdParty/zlib-1.2.8/deflate.h"; sourceTree = "<group>"; }; - E457AD91144AA4A000C34B69 /* infback.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = infback.c; path = "../ThirdParty/zlib-1.2.8/infback.c"; sourceTree = "<group>"; }; - E457AD92144AA4A000C34B69 /* inffast.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = inffast.c; path = "../ThirdParty/zlib-1.2.8/inffast.c"; sourceTree = "<group>"; }; - E457AD93144AA4A000C34B69 /* inffast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inffast.h; path = "../ThirdParty/zlib-1.2.8/inffast.h"; sourceTree = "<group>"; }; - E457AD94144AA4A000C34B69 /* inffixed.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inffixed.h; path = "../ThirdParty/zlib-1.2.8/inffixed.h"; sourceTree = "<group>"; }; - E457AD95144AA4A000C34B69 /* inflate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = inflate.c; path = "../ThirdParty/zlib-1.2.8/inflate.c"; sourceTree = "<group>"; }; - E457AD96144AA4A000C34B69 /* inflate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inflate.h; path = "../ThirdParty/zlib-1.2.8/inflate.h"; sourceTree = "<group>"; }; - E457AD97144AA4A000C34B69 /* inftrees.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = inftrees.c; path = "../ThirdParty/zlib-1.2.8/inftrees.c"; sourceTree = "<group>"; }; - E457AD98144AA4A000C34B69 /* inftrees.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inftrees.h; path = "../ThirdParty/zlib-1.2.8/inftrees.h"; sourceTree = "<group>"; }; - E457AD99144AA4A000C34B69 /* trees.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = trees.c; path = "../ThirdParty/zlib-1.2.8/trees.c"; sourceTree = "<group>"; }; - E457AD9A144AA4A000C34B69 /* trees.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = trees.h; path = "../ThirdParty/zlib-1.2.8/trees.h"; sourceTree = "<group>"; }; - E457AD9B144AA4A000C34B69 /* zconf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zconf.h; path = "../ThirdParty/zlib-1.2.8/zconf.h"; sourceTree = "<group>"; }; - E457AD9C144AA4A000C34B69 /* zlib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zlib.h; path = "../ThirdParty/zlib-1.2.8/zlib.h"; sourceTree = "<group>"; }; - E457AD9D144AA4A000C34B69 /* zutil.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zutil.c; path = "../ThirdParty/zlib-1.2.8/zutil.c"; sourceTree = "<group>"; }; - E457AD9E144AA4A000C34B69 /* zutil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zutil.h; path = "../ThirdParty/zlib-1.2.8/zutil.h"; sourceTree = "<group>"; }; - E457AEFB144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NptTlsDefaultTrustAnchorsBase.h; path = ../../Core/NptTlsDefaultTrustAnchorsBase.h; sourceTree = "<group>"; }; - E457AEFC144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NptTlsDefaultTrustAnchorsExtended.h; path = ../../Core/NptTlsDefaultTrustAnchorsExtended.h; sourceTree = "<group>"; }; + E45332AD1AAED318004A52FD /* MobileMediaServer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MobileMediaServer.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E45332B11AAED318004A52FD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; + E45332B31AAED318004A52FD /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; + E45332B41AAED318004A52FD /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; + E45332B61AAED318004A52FD /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; }; + E45332B71AAED318004A52FD /* ViewController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = ViewController.mm; sourceTree = "<group>"; }; E467AC771447747D00CEAACA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; E467AC791447747D00CEAACA /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; - E46E0E5014482FCB00CE9E65 /* Platinum.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Platinum.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - E46E95B4153F92F100ED95D5 /* NptNullAutoreleasePool.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptNullAutoreleasePool.cpp; sourceTree = "<group>"; }; - E46E95B6153F99BF00ED95D5 /* NptPosixEnvironment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptPosixEnvironment.cpp; sourceTree = "<group>"; }; - E46E95BB153F9D3800ED95D5 /* NptStdcConsole.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NptStdcConsole.cpp; sourceTree = "<group>"; }; - E46E95BD153F9E1400ED95D5 /* NptAutoreleasePool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NptAutoreleasePool.h; sourceTree = "<group>"; }; E477694512A9C00E0011EEE4 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; E48D4D8F13B51BAC00359E06 /* PltProtocolInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PltProtocolInfo.cpp; path = ../../../Source/Core/PltProtocolInfo.cpp; sourceTree = SOURCE_ROOT; }; E48D4D9013B51BAC00359E06 /* PltProtocolInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PltProtocolInfo.h; path = ../../../Source/Core/PltProtocolInfo.h; sourceTree = SOURCE_ROOT; }; E48D4DA613B51CB600359E06 /* PltMimeType.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PltMimeType.cpp; path = ../../../Source/Core/PltMimeType.cpp; sourceTree = SOURCE_ROOT; }; E48D4DA713B51CB600359E06 /* PltMimeType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PltMimeType.h; path = ../../../Source/Core/PltMimeType.h; sourceTree = SOURCE_ROOT; }; - E48F8A7D1632007E009E46A5 /* libPlatinum.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPlatinum.a; sourceTree = BUILT_PRODUCTS_DIR; }; + E48EAA801AF1EDD800D9EDC0 /* Neptune.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Neptune.h; sourceTree = "<group>"; }; E48F8A9E1632026F009E46A5 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - E496AA11146A4D320034BBAE /* libPlatinum.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPlatinum.a; sourceTree = BUILT_PRODUCTS_DIR; }; - E4A6CA991724AC8C003A8778 /* NptAutomaticCleaner.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NptAutomaticCleaner.cpp; sourceTree = "<group>"; }; - E4A6CA9A1724AC8C003A8778 /* NptAutomaticCleaner.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NptAutomaticCleaner.h; sourceTree = "<group>"; }; E4A7DB76108596B900E6ADE2 /* AVTransportSCPD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AVTransportSCPD.cpp; sourceTree = "<group>"; }; E4A7DB77108596B900E6ADE2 /* RdrConnectionManagerSCPD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RdrConnectionManagerSCPD.cpp; sourceTree = "<group>"; }; E4A7DB78108596B900E6ADE2 /* RenderingControlSCPD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderingControlSCPD.cpp; sourceTree = "<group>"; }; E4A7DB7F108596C800E6ADE2 /* X_MS_MediaReceiverRegistrarSCPD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = X_MS_MediaReceiverRegistrarSCPD.cpp; sourceTree = "<group>"; }; E4A7DB82108596E400E6ADE2 /* ConnectionManagerSCPD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConnectionManagerSCPD.cpp; sourceTree = "<group>"; }; E4A7DB83108596E400E6ADE2 /* ContentDirectorywSearchSCPD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ContentDirectorywSearchSCPD.cpp; sourceTree = "<group>"; }; - E4B95ECC1446575700DBBF49 /* Platinum.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Platinum.framework; sourceTree = BUILT_PRODUCTS_DIR; }; E4B95ECF1446575700DBBF49 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; E4B95ED01446575700DBBF49 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; E4BA7CBB0FE2200700A4D16B /* PltConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PltConstants.h; path = ../../../Source/Core/PltConstants.h; sourceTree = SOURCE_ROOT; }; @@ -1817,18 +727,24 @@ E4CB6A441640354E002478B0 /* CHANGELOG.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = CHANGELOG.txt; path = ../../../CHANGELOG.txt; sourceTree = "<group>"; }; E4CB6A451640354E002478B0 /* LICENSE.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = LICENSE.txt; path = ../../../LICENSE.txt; sourceTree = "<group>"; }; E4CB6A461640354E002478B0 /* README.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = README.txt; path = ../../../README.txt; sourceTree = "<group>"; }; - E4D8752F144776B700CCB1B4 /* libPlatinum.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPlatinum.a; sourceTree = BUILT_PRODUCTS_DIR; }; E4F7E9060FE4B12A00BEDFA6 /* PltIconsData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PltIconsData.cpp; path = ../../../Source/Core/PltIconsData.cpp; sourceTree = SOURCE_ROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + E410161D1ACFA826000E994F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E45BD1F71FC95BFC00F1D812 /* Neptune.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; E423F36018415DC500E24E39 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E423F36118415DC500E24E39 /* SystemConfiguration.framework in Frameworks */, - E423F36218415DC500E24E39 /* Foundation.framework in Frameworks */, - E423F36318415DC500E24E39 /* libPlatinum.a in Frameworks */, + E44E2C071AE779990092347B /* Platinum.framework in Frameworks */, + E44E2BFD1AE7798D0092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1836,9 +752,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AA2163202C2009E46A5 /* Foundation.framework in Frameworks */, - E48F8AA3163202C2009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8A80163200FE009E46A5 /* libPlatinum.a in Frameworks */, + E44E2BDF1AE776E80092347B /* Platinum.framework in Frameworks */, + E44E2BDE1AE776DD0092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1846,9 +761,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AA4163202D2009E46A5 /* Foundation.framework in Frameworks */, - E48F8AA5163202D2009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8A8316320114009E46A5 /* libPlatinum.a in Frameworks */, + E44E2BFE1AE779950092347B /* Platinum.framework in Frameworks */, + E44E2BF41AE779880092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1856,9 +770,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AA916320316009E46A5 /* Foundation.framework in Frameworks */, - E48F8AA816320310009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8A8616320122009E46A5 /* libPlatinum.a in Frameworks */, + E44E2BFF1AE779960092347B /* Platinum.framework in Frameworks */, + E44E2BF51AE779890092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1866,9 +779,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AAB16320324009E46A5 /* Foundation.framework in Frameworks */, - E48F8AAA16320320009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8A891632012E009E46A5 /* libPlatinum.a in Frameworks */, + E44E2C001AE779960092347B /* Platinum.framework in Frameworks */, + E44E2BF61AE7798A0092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1876,9 +788,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AAD1632032F009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8AAC1632032A009E46A5 /* Foundation.framework in Frameworks */, - E48F8A8C1632013C009E46A5 /* libPlatinum.a in Frameworks */, + E44E2C011AE779970092347B /* Platinum.framework in Frameworks */, + E44E2BF71AE7798A0092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1886,9 +797,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AAF1632033C009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8AAE16320334009E46A5 /* Foundation.framework in Frameworks */, - E48F8A8F1632014A009E46A5 /* libPlatinum.a in Frameworks */, + E44E2C021AE779970092347B /* Platinum.framework in Frameworks */, + E44E2BF81AE7798B0092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1896,9 +806,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AB116320346009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8AB016320342009E46A5 /* Foundation.framework in Frameworks */, - E48F8A9216320156009E46A5 /* libPlatinum.a in Frameworks */, + E44E2C031AE779970092347B /* Platinum.framework in Frameworks */, + E44E2BF91AE7798B0092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1906,9 +815,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AA7163202FF009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8AA1163202AB009E46A5 /* Foundation.framework in Frameworks */, - E48F8A9516320163009E46A5 /* libPlatinum.a in Frameworks */, + E44E2C041AE779980092347B /* Platinum.framework in Frameworks */, + E44E2BFA1AE7798C0092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1916,9 +824,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AB316320351009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8AB21632034D009E46A5 /* Foundation.framework in Frameworks */, - E48F8A981632016D009E46A5 /* libPlatinum.a in Frameworks */, + E44E2C051AE779980092347B /* Platinum.framework in Frameworks */, + E44E2BFB1AE7798C0092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1926,9 +833,9 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E445E515144989DE00F221B3 /* Platinum.framework in Frameworks */, - E4374269123FFF5B00000109 /* Cocoa.framework in Frameworks */, - E49BBE4712C31F1A00DFF646 /* SystemConfiguration.framework in Frameworks */, + E44E2BCF1AE770500092347B /* Cocoa.framework in Frameworks */, + E44E2BCB1AE76FF90092347B /* Neptune.framework in Frameworks */, + E44E2BC41AE76E0F0092347B /* Platinum.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1936,46 +843,25 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E48F8AB51632035B009E46A5 /* SystemConfiguration.framework in Frameworks */, - E48F8AB416320358009E46A5 /* Foundation.framework in Frameworks */, - E48F8A9B16320178009E46A5 /* libPlatinum.a in Frameworks */, + E44E2C061AE779990092347B /* Platinum.framework in Frameworks */, + E44E2BFC1AE7798D0092347B /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - E46E0E1814482FCB00CE9E65 /* Frameworks */ = { + E44E2B571AE761220092347B /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + E4B2A5A71FC90AE500C891D7 /* Neptune.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - E48F8A781632007E009E46A5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E496AA0C146A4D320034BBAE /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E4B95EC81446575700DBBF49 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - E42C42151457D172003798F5 /* SystemConfiguration.framework in Frameworks */, - E42C42141457D0AD003798F5 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E4D87529144776B700CCB1B4 /* Frameworks */ = { + E45332AA1AAED318004A52FD /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + E44E2BCC1AE770150092347B /* Neptune.framework in Frameworks */, + E41016381ACFA826000E994F /* Platinum.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1986,10 +872,9 @@ isa = PBXGroup; children = ( 08FB7795FE84155DC02AAC07 /* Source */, - E44470A112C31B2900E01480 /* Libraries */, E44470B312C31B5900E01480 /* Resources */, C6A0FF2B0290797F04C91782 /* Documentation */, - E4294C6214319C9400B6FDED /* PlatinumFramework */, + E41016221ACFA826000E994F /* Platinum */, E4294C5F14319C9400B6FDED /* Frameworks */, 1AB674ADFE9D54B511CA2CBB /* Products */, ); @@ -2023,12 +908,10 @@ E42D3B500FDC89E10045379C /* SimpleTest */, E43F6BC510F1B74E00C97612 /* TimeTest */, E43741FC123FFB9800000109 /* MediaServerCocoaTest.app */, - E4B95ECC1446575700DBBF49 /* Platinum.framework */, - E4D8752F144776B700CCB1B4 /* libPlatinum.a */, - E46E0E5014482FCB00CE9E65 /* Platinum.framework */, - E496AA11146A4D320034BBAE /* libPlatinum.a */, - E48F8A7D1632007E009E46A5 /* libPlatinum.a */, E423F36818415DC500E24E39 /* SsdpTest */, + E45332AD1AAED318004A52FD /* MobileMediaServer.app */, + E41016211ACFA826000E994F /* Platinum.framework */, + E44E2B8B1AE761220092347B /* Platinum.framework */, ); name = Products; sourceTree = "<group>"; @@ -2129,6 +1012,34 @@ path = ../../../Source/Extras; sourceTree = SOURCE_ROOT; }; + E41016151ACFA4E0000E994F /* MobileMediaServer */ = { + isa = PBXGroup; + children = ( + E41016181ACFA761000E994F /* LaunchScreen.xib */, + E41016191ACFA761000E994F /* Main.storyboard */, + E41016161ACFA70C000E994F /* MobileMediaServer-Info.plist */, + ); + name = MobileMediaServer; + sourceTree = "<group>"; + }; + E41016221ACFA826000E994F /* Platinum */ = { + isa = PBXGroup; + children = ( + E48EAA801AF1EDD800D9EDC0 /* Neptune.h */, + E41016251ACFA826000E994F /* Platinum.h */, + E41016231ACFA826000E994F /* Supporting Files */, + ); + path = Platinum; + sourceTree = "<group>"; + }; + E41016231ACFA826000E994F /* Supporting Files */ = { + isa = PBXGroup; + children = ( + E41016241ACFA826000E994F /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = "<group>"; + }; E423F35918415D8E00E24E39 /* SsdpTest */ = { isa = PBXGroup; children = ( @@ -2140,6 +1051,8 @@ E4294C5F14319C9400B6FDED /* Frameworks */ = { isa = PBXGroup; children = ( + E44E2B8D1AE7622F0092347B /* Neptune.framework */, + E40616C01ADE5C9A008BDAEB /* Neptune.framework */, E48F8A9E1632026F009E46A5 /* Foundation.framework */, E467AC771447747D00CEAACA /* Foundation.framework */, E467AC791447747D00CEAACA /* UIKit.framework */, @@ -2152,27 +1065,11 @@ name = Frameworks; sourceTree = "<group>"; }; - E4294C6214319C9400B6FDED /* PlatinumFramework */ = { - isa = PBXGroup; - children = ( - E4294C6314319C9400B6FDED /* Supporting Files */, - ); - path = PlatinumFramework; - sourceTree = "<group>"; - }; - E4294C6314319C9400B6FDED /* Supporting Files */ = { - isa = PBXGroup; - children = ( - E457AB9F144A8E0100C34B69 /* PlatinumFramework-Prefix.pch */, - E4294C6414319C9400B6FDED /* PlatinumFramework-Info.plist */, - E4294C6514319C9400B6FDED /* InfoPlist.strings */, - ); - name = "Supporting Files"; - sourceTree = "<group>"; - }; E42D3A910FDC85E70045379C /* Apps */ = { isa = PBXGroup; children = ( + E45332AE1AAED318004A52FD /* MobileMediaServer */, + E45332A81AAED263004A52FD /* MediaServer */, E42D3A940FDC85E70045379C /* MediaConnect */, E42D3A960FDC85E70045379C /* MediaCrawler */, E42D3A9B0FDC85E70045379C /* MicroMediaController */, @@ -2338,32 +1235,6 @@ path = ../../../Source/Devices/MediaServer; sourceTree = SOURCE_ROOT; }; - E4372431166D319D0048F158 /* Documents */ = { - isa = PBXGroup; - children = ( - E4372432166D319D0048F158 /* Automatic */, - E4372434166D319D0048F158 /* Manuals */, - ); - name = Documents; - path = ../../../../Neptune/Documents; - sourceTree = "<group>"; - }; - E4372432166D319D0048F158 /* Automatic */ = { - isa = PBXGroup; - children = ( - E4372433166D319D0048F158 /* NeptuneErrorCodes.txt */, - ); - path = Automatic; - sourceTree = "<group>"; - }; - E4372434166D319D0048F158 /* Manuals */ = { - isa = PBXGroup; - children = ( - E4372435166D319D0048F158 /* Neptune Logging.doc */, - ); - path = Manuals; - sourceTree = "<group>"; - }; E4374241123FFE9100000109 /* MediaServerCocoaTest */ = { isa = PBXGroup; children = ( @@ -2436,323 +1307,32 @@ path = ../../../Source/Tests/Time; sourceTree = SOURCE_ROOT; }; - E44470A112C31B2900E01480 /* Libraries */ = { - isa = PBXGroup; - children = ( - E457ABCE144AA42D00C34B69 /* Neptune */, - ); - name = Libraries; - sourceTree = "<group>"; - }; E44470B312C31B5900E01480 /* Resources */ = { isa = PBXGroup; children = ( + E41016151ACFA4E0000E994F /* MobileMediaServer */, ); name = Resources; sourceTree = "<group>"; }; - E457ABCE144AA42D00C34B69 /* Neptune */ = { - isa = PBXGroup; - children = ( - E4372431166D319D0048F158 /* Documents */, - E457AD69144AA4A000C34B69 /* ThirdParty */, - E457AD0E144AA49500C34B69 /* System */, - E457ABD9144AA48D00C34B69 /* Core */, - E457ABCF144AA48100C34B69 /* Data */, - ); - name = Neptune; - sourceTree = "<group>"; - }; - E457ABCF144AA48100C34B69 /* Data */ = { - isa = PBXGroup; - children = ( - E457ABD0144AA48100C34B69 /* TLS */, - ); - name = Data; - path = ../../../../Neptune/Source/Data; - sourceTree = "<group>"; - }; - E457ABD0144AA48100C34B69 /* TLS */ = { - isa = PBXGroup; - children = ( - E457AEFB144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h */, - E457AEFC144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h */, - E457ABD1144AA48100C34B69 /* NptTlsDefaultTrustAnchorsBase.cpp */, - E457ABD2144AA48100C34B69 /* NptTlsDefaultTrustAnchorsExtended.cpp */, - ); - path = TLS; - sourceTree = "<group>"; - }; - E457ABD9144AA48D00C34B69 /* Core */ = { - isa = PBXGroup; - children = ( - E457ABE7144AA48D00C34B69 /* Neptune.cpp */, - E457ABE8144AA48D00C34B69 /* Neptune.h */, - E457ABE9144AA48D00C34B69 /* NptArray.h */, - E4A6CA991724AC8C003A8778 /* NptAutomaticCleaner.cpp */, - E4A6CA9A1724AC8C003A8778 /* NptAutomaticCleaner.h */, - E46E95BD153F9E1400ED95D5 /* NptAutoreleasePool.h */, - E457ABEA144AA48D00C34B69 /* NptBase64.cpp */, - E457ABEB144AA48D00C34B69 /* NptBase64.h */, - E457ABEC144AA48D00C34B69 /* NptBufferedStreams.cpp */, - E457ABED144AA48D00C34B69 /* NptBufferedStreams.h */, - E457ABEE144AA48D00C34B69 /* NptCommon.cpp */, - E457ABEF144AA48D00C34B69 /* NptCommon.h */, - E457ABF0144AA48D00C34B69 /* NptConfig.h */, - E457ABF1144AA48D00C34B69 /* NptConsole.cpp */, - E457ABF2144AA48D00C34B69 /* NptConsole.h */, - E457ABF3144AA48D00C34B69 /* NptConstants.h */, - E457ABDC144AA48D00C34B69 /* NptCrypto.cpp */, - E457ABDD144AA48D00C34B69 /* NptCrypto.h */, - E457ABF4144AA48D00C34B69 /* NptDataBuffer.cpp */, - E457ABF5144AA48D00C34B69 /* NptDataBuffer.h */, - E457ABF6144AA48D00C34B69 /* NptDebug.cpp */, - E457ABF7144AA48D00C34B69 /* NptDebug.h */, - E457ABF8144AA48D00C34B69 /* NptDefs.h */, - E457ABDE144AA48D00C34B69 /* NptDigest.cpp */, - E457ABDF144AA48D00C34B69 /* NptDigest.h */, - E457ABE0144AA48D00C34B69 /* NptDynamicCast.h */, - E457ABE4144AA48D00C34B69 /* NptDynamicLibraries.cpp */, - E457ABE5144AA48D00C34B69 /* NptDynamicLibraries.h */, - E457ABF9144AA48D00C34B69 /* NptFile.cpp */, - E457ABFA144AA48D00C34B69 /* NptFile.h */, - E457ABDA144AA48D00C34B69 /* NptHash.cpp */, - E457ABDB144AA48D00C34B69 /* NptHash.h */, - E457ABFB144AA48D00C34B69 /* NptHttp.cpp */, - E457ABFC144AA48D00C34B69 /* NptHttp.h */, - E457ABFD144AA48D00C34B69 /* NptInterfaces.h */, - E457ABFE144AA48D00C34B69 /* NptList.cpp */, - E457ABFF144AA48D00C34B69 /* NptList.h */, - E457AC00144AA48D00C34B69 /* NptLogging.cpp */, - E457AC01144AA48D00C34B69 /* NptLogging.h */, - E457AC02144AA48D00C34B69 /* NptMap.h */, - E457AC03144AA48D00C34B69 /* NptMessaging.cpp */, - E457AC04144AA48D00C34B69 /* NptMessaging.h */, - E457AC05144AA48D00C34B69 /* NptNetwork.cpp */, - E457AC06144AA48D00C34B69 /* NptNetwork.h */, - E457AC07144AA48D00C34B69 /* NptQueue.cpp */, - E457AC08144AA48D00C34B69 /* NptQueue.h */, - E457AC09144AA48D00C34B69 /* NptReferences.h */, - E457ABE1144AA48D00C34B69 /* NptResults.cpp */, - E457AC0A144AA48D00C34B69 /* NptResults.h */, - E457AC0B144AA48D00C34B69 /* NptRingBuffer.cpp */, - E457AC0C144AA48D00C34B69 /* NptRingBuffer.h */, - E457AC0D144AA48D00C34B69 /* NptSelectableMessageQueue.h */, - E457ABE6144AA48D00C34B69 /* NptSerialPort.h */, - E457AC0E144AA48D00C34B69 /* NptSimpleMessageQueue.cpp */, - E457AC0F144AA48D00C34B69 /* NptSimpleMessageQueue.h */, - E457AC10144AA48D00C34B69 /* NptSockets.cpp */, - E457AC11144AA48D00C34B69 /* NptSockets.h */, - E457AC12144AA48D00C34B69 /* NptStack.h */, - E457AC13144AA48D00C34B69 /* NptStreams.cpp */, - E457AC14144AA48D00C34B69 /* NptStreams.h */, - E457AC15144AA48D00C34B69 /* NptStrings.cpp */, - E457AC16144AA48D00C34B69 /* NptStrings.h */, - E457AC17144AA48D00C34B69 /* NptSystem.cpp */, - E457AC18144AA48D00C34B69 /* NptSystem.h */, - E457AC19144AA48D00C34B69 /* NptThreads.cpp */, - E457AC1A144AA48D00C34B69 /* NptThreads.h */, - E457AC1B144AA48D00C34B69 /* NptTime.cpp */, - E457AC1C144AA48D00C34B69 /* NptTime.h */, - E457ABE2144AA48D00C34B69 /* NptTls.cpp */, - E457ABE3144AA48D00C34B69 /* NptTls.h */, - E457AC1D144AA48D00C34B69 /* NptTypes.h */, - E457AC1E144AA48D00C34B69 /* NptUri.cpp */, - E457AC1F144AA48D00C34B69 /* NptUri.h */, - E457AC20144AA48D00C34B69 /* NptUtils.cpp */, - E457AC21144AA48D00C34B69 /* NptUtils.h */, - E457AC22144AA48D00C34B69 /* NptVersion.h */, - E457AC23144AA48D00C34B69 /* NptXml.cpp */, - E457AC24144AA48D00C34B69 /* NptXml.h */, - E457AC26144AA48D00C34B69 /* NptZip.cpp */, - E457AC25144AA48D00C34B69 /* NptZip.h */, - ); - name = Core; - path = ../../../../Neptune/Source/Core; - sourceTree = "<group>"; - }; - E457AD0E144AA49500C34B69 /* System */ = { - isa = PBXGroup; - children = ( - E457AD0F144AA49500C34B69 /* Apple */, - E457AD10144AA49500C34B69 /* Cocoa */, - E457AD11144AA49500C34B69 /* Null */, - E457AD12144AA49500C34B69 /* Bsd */, - E457AD13144AA49500C34B69 /* Posix */, - E457AD14144AA49500C34B69 /* StdC */, - ); - name = System; - path = ../../../../Neptune/Source/System; - sourceTree = "<group>"; - }; - E457AD0F144AA49500C34B69 /* Apple */ = { + E45332A81AAED263004A52FD /* MediaServer */ = { isa = PBXGroup; children = ( - E448216815100D3A0069F573 /* NptAppleAutoreleasePool.mm */, - E457AD15144AA49500C34B69 /* NptAppleLogConfig.mm */, ); - path = Apple; - sourceTree = "<group>"; - }; - E457AD10144AA49500C34B69 /* Cocoa */ = { - isa = PBXGroup; - children = ( - E457AD16144AA49500C34B69 /* NptCocoaEnviroment.mm */, - E457AD17144AA49500C34B69 /* NptCocoaConsole.mm */, - E457AD18144AA49500C34B69 /* NptCocoaMessageQueue.h */, - E457AD19144AA49500C34B69 /* NptCocoaMessageQueue.mm */, - ); - path = Cocoa; - sourceTree = "<group>"; - }; - E457AD11144AA49500C34B69 /* Null */ = { - isa = PBXGroup; - children = ( - E46E95B4153F92F100ED95D5 /* NptNullAutoreleasePool.cpp */, - E457AD1A144AA49500C34B69 /* NptNullSerialPort.cpp */, - ); - path = Null; - sourceTree = "<group>"; - }; - E457AD12144AA49500C34B69 /* Bsd */ = { - isa = PBXGroup; - children = ( - E457AD1B144AA49500C34B69 /* NptBsdResolver.cpp */, - E457AD1C144AA49500C34B69 /* NptBsdNetwork.cpp */, - E457AD1D144AA49500C34B69 /* NptBsdSockets.cpp */, - ); - path = Bsd; - sourceTree = "<group>"; - }; - E457AD13144AA49500C34B69 /* Posix */ = { - isa = PBXGroup; - children = ( - E46E95B6153F99BF00ED95D5 /* NptPosixEnvironment.cpp */, - E457AD1E144AA49500C34B69 /* NptPosixTime.cpp */, - E457AD1F144AA49500C34B69 /* NptPosixDynamicLibraries.cpp */, - E457AD20144AA49500C34B69 /* NptPosixNetwork.cpp */, - E457AD21144AA49500C34B69 /* NptPosixFile.cpp */, - E457AD22144AA49500C34B69 /* NptPosixQueue.cpp */, - E457AD23144AA49500C34B69 /* NptPosixSystem.cpp */, - E457AD24144AA49500C34B69 /* NptPosixThreads.cpp */, - E457AD25144AA49500C34B69 /* NptSelectableMessageQueue.cpp */, - ); - path = Posix; - sourceTree = "<group>"; - }; - E457AD14144AA49500C34B69 /* StdC */ = { - isa = PBXGroup; - children = ( - E46E95BB153F9D3800ED95D5 /* NptStdcConsole.cpp */, - E457AD27144AA49500C34B69 /* NptStdcDebug.cpp */, - E457AD28144AA49500C34B69 /* NptStdcEnvironment.cpp */, - E457AD29144AA49500C34B69 /* NptStdcFile.cpp */, - ); - path = StdC; - sourceTree = "<group>"; - }; - E457AD69144AA4A000C34B69 /* ThirdParty */ = { - isa = PBXGroup; - children = ( - E457AD6A144AA4A000C34B69 /* axTLS */, - E457AD6B144AA4A000C34B69 /* Zlib */, - ); - name = ThirdParty; - path = ../../../../Neptune/Source; - sourceTree = "<group>"; - }; - E457AD6A144AA4A000C34B69 /* axTLS */ = { - isa = PBXGroup; - children = ( - E457AD6C144AA4A000C34B69 /* config */, - E457AD6D144AA4A000C34B69 /* crypto */, - E457AD6E144AA4A000C34B69 /* ssl */, - ); - name = axTLS; - path = ../ThirdParty/axTLS; - sourceTree = "<group>"; - }; - E457AD6B144AA4A000C34B69 /* Zlib */ = { - isa = PBXGroup; - children = ( - E457AD8B144AA4A000C34B69 /* compress.c */, - E457AD8C144AA4A000C34B69 /* adler32.c */, - E457AD8D144AA4A000C34B69 /* crc32.c */, - E457AD8E144AA4A000C34B69 /* crc32.h */, - E457AD8F144AA4A000C34B69 /* deflate.c */, - E457AD90144AA4A000C34B69 /* deflate.h */, - E457AD91144AA4A000C34B69 /* infback.c */, - E457AD92144AA4A000C34B69 /* inffast.c */, - E457AD93144AA4A000C34B69 /* inffast.h */, - E457AD94144AA4A000C34B69 /* inffixed.h */, - E457AD95144AA4A000C34B69 /* inflate.c */, - E457AD96144AA4A000C34B69 /* inflate.h */, - E457AD97144AA4A000C34B69 /* inftrees.c */, - E457AD98144AA4A000C34B69 /* inftrees.h */, - E457AD99144AA4A000C34B69 /* trees.c */, - E457AD9A144AA4A000C34B69 /* trees.h */, - E457AD9B144AA4A000C34B69 /* zconf.h */, - E457AD9C144AA4A000C34B69 /* zlib.h */, - E457AD9D144AA4A000C34B69 /* zutil.c */, - E457AD9E144AA4A000C34B69 /* zutil.h */, - ); - name = Zlib; - sourceTree = "<group>"; - }; - E457AD6C144AA4A000C34B69 /* config */ = { - isa = PBXGroup; - children = ( - E457AD6F144AA4A000C34B69 /* Generic */, - ); - path = config; - sourceTree = "<group>"; - }; - E457AD6D144AA4A000C34B69 /* crypto */ = { - isa = PBXGroup; - children = ( - E457AD71144AA4A000C34B69 /* aes.c */, - E457AD72144AA4A000C34B69 /* bigint.c */, - E457AD73144AA4A000C34B69 /* bigint.h */, - E457AD74144AA4A000C34B69 /* bigint_impl.h */, - E457AD75144AA4A000C34B69 /* crypto.h */, - E457AD76144AA4A000C34B69 /* crypto_misc.c */, - E457AD77144AA4A000C34B69 /* hmac.c */, - E457AD78144AA4A000C34B69 /* md2.c */, - E457AD79144AA4A000C34B69 /* md5.c */, - E457AD7A144AA4A000C34B69 /* rc4.c */, - E457AD7B144AA4A000C34B69 /* rsa.c */, - E457AD7C144AA4A000C34B69 /* sha1.c */, - ); - path = crypto; - sourceTree = "<group>"; - }; - E457AD6E144AA4A000C34B69 /* ssl */ = { - isa = PBXGroup; - children = ( - E457AD7D144AA4A000C34B69 /* asn1.c */, - E457AD7E144AA4A000C34B69 /* cert.h */, - E457AD7F144AA4A000C34B69 /* crypto_misc.h */, - E457AD80144AA4A000C34B69 /* gen_cert.c */, - E457AD81144AA4A000C34B69 /* loader.c */, - E457AD82144AA4A000C34B69 /* os_port.h */, - E457AD83144AA4A000C34B69 /* p12.c */, - E457AD84144AA4A000C34B69 /* ssl.h */, - E457AD85144AA4A000C34B69 /* tls1.c */, - E457AD86144AA4A000C34B69 /* tls1.h */, - E457AD87144AA4A000C34B69 /* tls1_clnt.c */, - E457AD88144AA4A000C34B69 /* tls1_svr.c */, - E457AD89144AA4A000C34B69 /* version.h */, - E457AD8A144AA4A000C34B69 /* x509.c */, - ); - path = ssl; + name = MediaServer; sourceTree = "<group>"; }; - E457AD6F144AA4A000C34B69 /* Generic */ = { + E45332AE1AAED318004A52FD /* MobileMediaServer */ = { isa = PBXGroup; children = ( - E457AD70144AA4A000C34B69 /* config.h */, - ); - path = Generic; + E45332B11AAED318004A52FD /* main.m */, + E45332B31AAED318004A52FD /* AppDelegate.h */, + E45332B41AAED318004A52FD /* AppDelegate.m */, + E45332B61AAED318004A52FD /* ViewController.h */, + E45332B71AAED318004A52FD /* ViewController.mm */, + ); + name = MobileMediaServer; + path = ../../../Source/Apps/MobileMediaServer; sourceTree = "<group>"; }; E4B95ECE1446575700DBBF49 /* Other Frameworks */ = { @@ -2767,631 +1347,145 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - E46E0E1A14482FCB00CE9E65 /* Headers */ = { + E410161E1ACFA826000E994F /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - E46E0E1B14482FCB00CE9E65 /* PltDeviceData.h in Headers */, - E46E0E1C14482FCB00CE9E65 /* PltDeviceHost.h in Headers */, - E46E0E1D14482FCB00CE9E65 /* PltEvent.h in Headers */, - E46E0E1E14482FCB00CE9E65 /* PltHttp.h in Headers */, - E46E0E1F14482FCB00CE9E65 /* PltHttpClientTask.h in Headers */, - E46E0E2014482FCB00CE9E65 /* PltHttpServer.h in Headers */, - E46E0E2114482FCB00CE9E65 /* PltHttpServerTask.h in Headers */, - E46E0E2214482FCB00CE9E65 /* PltService.h in Headers */, - E46E0E2314482FCB00CE9E65 /* PltSsdp.h in Headers */, - E46E0E2414482FCB00CE9E65 /* PltStateVariable.h in Headers */, - E46E0E2514482FCB00CE9E65 /* PltTaskManager.h in Headers */, - E46E0E2614482FCB00CE9E65 /* PltThreadTask.h in Headers */, - E46E0E2714482FCB00CE9E65 /* PltUPnP.h in Headers */, - E46E0E2814482FCB00CE9E65 /* PltUtilities.h in Headers */, - E46E0E2914482FCB00CE9E65 /* PltXbox360.h in Headers */, - E46E0E2A14482FCB00CE9E65 /* PltMediaConnect.h in Headers */, - E46E0E2B14482FCB00CE9E65 /* PltMediaController.h in Headers */, - E46E0E2C14482FCB00CE9E65 /* PltMediaRenderer.h in Headers */, - E46E0E2D14482FCB00CE9E65 /* PltDidl.h in Headers */, - E46E0E2E14482FCB00CE9E65 /* PltFileMediaServer.h in Headers */, - E46E0E2F14482FCB00CE9E65 /* PltMediaBrowser.h in Headers */, - E46E0E3014482FCB00CE9E65 /* PltMediaCache.h in Headers */, - E46E0E3114482FCB00CE9E65 /* PltMediaItem.h in Headers */, - E46E0E3214482FCB00CE9E65 /* PltMediaServer.h in Headers */, - E46E0E3314482FCB00CE9E65 /* PltSyncMediaBrowser.h in Headers */, - E46E0E3414482FCB00CE9E65 /* PltMediaServerObject.h in Headers */, - E46E0E3514482FCB00CE9E65 /* PltUPnPObject.h in Headers */, - E46E0E3614482FCB00CE9E65 /* PltDownloader.h in Headers */, - E46E0E3714482FCB00CE9E65 /* PltStreamPump.h in Headers */, - E46E0E3814482FCB00CE9E65 /* PltFrameBuffer.h in Headers */, - E46E0E3914482FCB00CE9E65 /* PltFrameServer.h in Headers */, - E46E0E3A14482FCB00CE9E65 /* PltFrameStream.h in Headers */, - E46E0E3B14482FCB00CE9E65 /* PltLeaks.h in Headers */, - E46E0E3C14482FCB00CE9E65 /* PltMetadataHandler.h in Headers */, - E46E0E3D14482FCB00CE9E65 /* PltRingBufferStream.h in Headers */, - E46E0E3E14482FCB00CE9E65 /* Platinum.h in Headers */, - E46E0E4014482FCB00CE9E65 /* PltVersion.h in Headers */, - E46E0E4114482FCB00CE9E65 /* PltMimeType.h in Headers */, - E46E0E4214482FCB00CE9E65 /* PltProtocolInfo.h in Headers */, - E46E0E4314482FCB00CE9E65 /* PltAction.h in Headers */, - E46E0E4414482FCB00CE9E65 /* PltArgument.h in Headers */, - E46E0E4514482FCB00CE9E65 /* PltConstants.h in Headers */, - E46E0E4614482FCB00CE9E65 /* PltCtrlPoint.h in Headers */, - E46E0E4714482FCB00CE9E65 /* PltCtrlPointTask.h in Headers */, - E46E0E4814482FCB00CE9E65 /* PltDatagramStream.h in Headers */, - E457AC2C144AA48D00C34B69 /* NptHash.h in Headers */, - E457AC32144AA48D00C34B69 /* NptCrypto.h in Headers */, - E457AC38144AA48D00C34B69 /* NptDigest.h in Headers */, - E457AC3B144AA48D00C34B69 /* NptDynamicCast.h in Headers */, - E457AC44144AA48D00C34B69 /* NptTls.h in Headers */, - E457AC4A144AA48D00C34B69 /* NptDynamicLibraries.h in Headers */, - E457AC4D144AA48D00C34B69 /* NptSerialPort.h in Headers */, - E457AC53144AA48D00C34B69 /* Neptune.h in Headers */, - E457AC56144AA48D00C34B69 /* NptArray.h in Headers */, - E457AC5C144AA48D00C34B69 /* NptBase64.h in Headers */, - E457AC62144AA48D00C34B69 /* NptBufferedStreams.h in Headers */, - E457AC68144AA48D00C34B69 /* NptCommon.h in Headers */, - E457AC6B144AA48D00C34B69 /* NptConfig.h in Headers */, - E457AC71144AA48D00C34B69 /* NptConsole.h in Headers */, - E457AC74144AA48D00C34B69 /* NptConstants.h in Headers */, - E457AC7A144AA48D00C34B69 /* NptDataBuffer.h in Headers */, - E457AC80144AA48D00C34B69 /* NptDebug.h in Headers */, - E457AC83144AA48D00C34B69 /* NptDefs.h in Headers */, - E457AC89144AA48D00C34B69 /* NptFile.h in Headers */, - E457AC8F144AA48D00C34B69 /* NptHttp.h in Headers */, - E457AC92144AA48D00C34B69 /* NptInterfaces.h in Headers */, - E457AC98144AA48D00C34B69 /* NptList.h in Headers */, - E457AC9E144AA48D00C34B69 /* NptLogging.h in Headers */, - E457ACA1144AA48D00C34B69 /* NptMap.h in Headers */, - E457ACA7144AA48D00C34B69 /* NptMessaging.h in Headers */, - E457ACAD144AA48E00C34B69 /* NptNetwork.h in Headers */, - E457ACB3144AA48E00C34B69 /* NptQueue.h in Headers */, - E457ACB6144AA48E00C34B69 /* NptReferences.h in Headers */, - E457ACB9144AA48E00C34B69 /* NptResults.h in Headers */, - E457ACBF144AA48E00C34B69 /* NptRingBuffer.h in Headers */, - E457ACC2144AA48E00C34B69 /* NptSelectableMessageQueue.h in Headers */, - E457ACC8144AA48E00C34B69 /* NptSimpleMessageQueue.h in Headers */, - E457ACCE144AA48E00C34B69 /* NptSockets.h in Headers */, - E457ACD1144AA48E00C34B69 /* NptStack.h in Headers */, - E457ACD7144AA48E00C34B69 /* NptStreams.h in Headers */, - E457ACDD144AA48E00C34B69 /* NptStrings.h in Headers */, - E457ACE3144AA48E00C34B69 /* NptSystem.h in Headers */, - E457ACE9144AA48E00C34B69 /* NptThreads.h in Headers */, - E457ACEF144AA48E00C34B69 /* NptTime.h in Headers */, - E457ACF2144AA48E00C34B69 /* NptTypes.h in Headers */, - E457ACF8144AA48E00C34B69 /* NptUri.h in Headers */, - E457ACFE144AA48E00C34B69 /* NptUtils.h in Headers */, - E457AD01144AA48E00C34B69 /* NptVersion.h in Headers */, - E457AD07144AA48E00C34B69 /* NptXml.h in Headers */, - E457AEFF144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h in Headers */, - E457AF02144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h in Headers */, - E457AD0A144AA48E00C34B69 /* NptZip.h in Headers */, - E457AD35144AA49500C34B69 /* NptCocoaMessageQueue.h in Headers */, - E46E95C1153F9E1400ED95D5 /* NptAutoreleasePool.h in Headers */, - E457ADA1144AA4A000C34B69 /* config.h in Headers */, - E457ADAA144AA4A000C34B69 /* bigint.h in Headers */, - E457ADAD144AA4A000C34B69 /* bigint_impl.h in Headers */, - E457ADB0144AA4A000C34B69 /* crypto.h in Headers */, - E457ADCB144AA4A000C34B69 /* cert.h in Headers */, - E457ADCE144AA4A000C34B69 /* crypto_misc.h in Headers */, - E457ADD7144AA4A000C34B69 /* os_port.h in Headers */, - E457ADDD144AA4A000C34B69 /* ssl.h in Headers */, - E457ADE3144AA4A000C34B69 /* tls1.h in Headers */, - E457ADEC144AA4A000C34B69 /* version.h in Headers */, - E457ADFB144AA4A000C34B69 /* crc32.h in Headers */, - E457AE01144AA4A000C34B69 /* deflate.h in Headers */, - E457AE0A144AA4A000C34B69 /* inffast.h in Headers */, - E457AE0D144AA4A000C34B69 /* inffixed.h in Headers */, - E457AE13144AA4A000C34B69 /* inflate.h in Headers */, - E457AE19144AA4A100C34B69 /* inftrees.h in Headers */, - E457AE1F144AA4A100C34B69 /* trees.h in Headers */, - E457AE22144AA4A100C34B69 /* zconf.h in Headers */, - E457AE25144AA4A100C34B69 /* zlib.h in Headers */, - E457AE2B144AA4A100C34B69 /* zutil.h in Headers */, - E40F7503176C5F4900023CDC /* NptAutomaticCleaner.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E48F89821632007E009E46A5 /* Headers */ = { + E41016671ACFA858000E994F /* PltTaskManager.h in Headers */, + E41016501ACFA858000E994F /* PltDeviceHost.h in Headers */, + E41016991ACFA8B9000E994F /* PltLeaks.h in Headers */, + E41016581ACFA858000E994F /* PltHttpServer.h in Headers */, + E41016851ACFA8A1000E994F /* PltMediaItem.h in Headers */, + E41016931ACFA8B9000E994F /* PltFrameBuffer.h in Headers */, + E41016811ACFA8A1000E994F /* PltMediaBrowser.h in Headers */, + E410164C1ACFA858000E994F /* PltDatagramStream.h in Headers */, + E410166C1ACFA858000E994F /* PltUtilities.h in Headers */, + E410169D1ACFA8B9000E994F /* PltRingBufferStream.h in Headers */, + E41016631ACFA858000E994F /* PltSsdp.h in Headers */, + E41016261ACFA826000E994F /* Platinum.h in Headers */, + E41016461ACFA858000E994F /* PltConstants.h in Headers */, + E41016691ACFA858000E994F /* PltThreadTask.h in Headers */, + E410168C1ACFA8B9000E994F /* PltUPnPObject.h in Headers */, + E410165F1ACFA858000E994F /* PltProtocolInfo.h in Headers */, + E41016481ACFA858000E994F /* PltCtrlPoint.h in Headers */, + E41016611ACFA858000E994F /* PltService.h in Headers */, + E410166E1ACFA887000E994F /* PltXbox360.h in Headers */, + E41016541ACFA858000E994F /* PltHttp.h in Headers */, + E410169F1ACFA8CC000E994F /* PltVersion.h in Headers */, + E41016711ACFA887000E994F /* PltMediaConnect.h in Headers */, + E410165A1ACFA858000E994F /* PltHttpServerTask.h in Headers */, + E41016871ACFA8A1000E994F /* PltMediaServer.h in Headers */, + E410167F1ACFA8A1000E994F /* PltFileMediaServer.h in Headers */, + E41016911ACFA8B9000E994F /* PltStreamPump.h in Headers */, + E41016831ACFA8A1000E994F /* PltMediaCache.h in Headers */, + E41016951ACFA8B9000E994F /* PltFrameServer.h in Headers */, + E41016781ACFA893000E994F /* PltMediaRenderer.h in Headers */, + E41016441ACFA858000E994F /* PltArgument.h in Headers */, + E41016561ACFA858000E994F /* PltHttpClientTask.h in Headers */, + E41016891ACFA8A1000E994F /* PltSyncMediaBrowser.h in Headers */, + E41016651ACFA858000E994F /* PltStateVariable.h in Headers */, + E410168F1ACFA8B9000E994F /* PltDownloader.h in Headers */, + E410167D1ACFA8A1000E994F /* PltDidl.h in Headers */, + E410166B1ACFA858000E994F /* PltUPnP.h in Headers */, + E410164A1ACFA858000E994F /* PltCtrlPointTask.h in Headers */, + E410169B1ACFA8B9000E994F /* PltMetadataHandler.h in Headers */, + E41016421ACFA858000E994F /* PltAction.h in Headers */, + E41016521ACFA858000E994F /* PltEvent.h in Headers */, + E410165D1ACFA858000E994F /* PltMimeType.h in Headers */, + E410168A1ACFA8B9000E994F /* PltMediaServerObject.h in Headers */, + E41016971ACFA8B9000E994F /* PltFrameStream.h in Headers */, + E41016761ACFA893000E994F /* PltMediaController.h in Headers */, + E48EAA811AF1EDD800D9EDC0 /* Neptune.h in Headers */, + E410164E1ACFA858000E994F /* PltDeviceData.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E44E2B591AE761220092347B /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - E48F89831632007E009E46A5 /* PltAction.h in Headers */, - E48F89841632007E009E46A5 /* PltArgument.h in Headers */, - E48F89851632007E009E46A5 /* PltCtrlPoint.h in Headers */, - E48F89861632007E009E46A5 /* PltCtrlPointTask.h in Headers */, - E48F89871632007E009E46A5 /* PltDatagramStream.h in Headers */, - E48F89881632007E009E46A5 /* PltDeviceData.h in Headers */, - E48F89891632007E009E46A5 /* PltDeviceHost.h in Headers */, - E48F898A1632007E009E46A5 /* PltEvent.h in Headers */, - E48F898B1632007E009E46A5 /* PltHttp.h in Headers */, - E48F898C1632007E009E46A5 /* PltHttpClientTask.h in Headers */, - E48F898D1632007E009E46A5 /* PltHttpServer.h in Headers */, - E48F898E1632007E009E46A5 /* PltHttpServerTask.h in Headers */, - E48F898F1632007E009E46A5 /* PltService.h in Headers */, - E48F89901632007E009E46A5 /* PltSsdp.h in Headers */, - E48F89911632007E009E46A5 /* PltStateVariable.h in Headers */, - E48F89921632007E009E46A5 /* PltTaskManager.h in Headers */, - E48F89931632007E009E46A5 /* PltThreadTask.h in Headers */, - E48F89941632007E009E46A5 /* PltUPnP.h in Headers */, - E48F89951632007E009E46A5 /* PltUtilities.h in Headers */, - E48F89961632007E009E46A5 /* PltMediaController.h in Headers */, - E48F89971632007E009E46A5 /* PltMediaRenderer.h in Headers */, - E48F89981632007E009E46A5 /* PltDidl.h in Headers */, - E48F89991632007E009E46A5 /* PltFileMediaServer.h in Headers */, - E48F899A1632007E009E46A5 /* PltMediaBrowser.h in Headers */, - E48F899B1632007E009E46A5 /* PltMediaCache.h in Headers */, - E48F899C1632007E009E46A5 /* PltMediaItem.h in Headers */, - E48F899D1632007E009E46A5 /* PltMediaServer.h in Headers */, - E48F899E1632007E009E46A5 /* PltSyncMediaBrowser.h in Headers */, - E48F899F1632007E009E46A5 /* PltConstants.h in Headers */, - E48F89A01632007E009E46A5 /* Platinum.h in Headers */, - E48F89A11632007E009E46A5 /* PltVersion.h in Headers */, - E48F89A21632007E009E46A5 /* PltXbox360.h in Headers */, - E48F89A31632007E009E46A5 /* PltMediaConnect.h in Headers */, - E48F89A41632007E009E46A5 /* PltFrameBuffer.h in Headers */, - E48F89A51632007E009E46A5 /* PltFrameServer.h in Headers */, - E48F89A61632007E009E46A5 /* PltFrameStream.h in Headers */, - E48F89A71632007E009E46A5 /* PltLeaks.h in Headers */, - E48F89A81632007E009E46A5 /* PltMetadataHandler.h in Headers */, - E48F89A91632007E009E46A5 /* PltRingBufferStream.h in Headers */, - E48F89AA1632007E009E46A5 /* PltDownloader.h in Headers */, - E48F89AB1632007E009E46A5 /* PltStreamPump.h in Headers */, - E48F89AC1632007E009E46A5 /* PltMediaServerObject.h in Headers */, - E48F89AD1632007E009E46A5 /* PltUPnPObject.h in Headers */, - E48F89AE1632007E009E46A5 /* PltProtocolInfo.h in Headers */, - E48F89AF1632007E009E46A5 /* PltMimeType.h in Headers */, - E48F89B01632007E009E46A5 /* NptHash.h in Headers */, - E48F89B11632007E009E46A5 /* NptCrypto.h in Headers */, - E48F89B21632007E009E46A5 /* NptDigest.h in Headers */, - E48F89B31632007E009E46A5 /* NptDynamicCast.h in Headers */, - E48F89B41632007E009E46A5 /* NptTls.h in Headers */, - E48F89B51632007E009E46A5 /* NptDynamicLibraries.h in Headers */, - E48F89B61632007E009E46A5 /* NptSerialPort.h in Headers */, - E48F89B71632007E009E46A5 /* Neptune.h in Headers */, - E48F89B81632007E009E46A5 /* NptArray.h in Headers */, - E48F89B91632007E009E46A5 /* NptBase64.h in Headers */, - E48F89BA1632007E009E46A5 /* NptBufferedStreams.h in Headers */, - E48F89BB1632007E009E46A5 /* NptCommon.h in Headers */, - E48F89BC1632007E009E46A5 /* NptConfig.h in Headers */, - E48F89BD1632007E009E46A5 /* NptConsole.h in Headers */, - E48F89BE1632007E009E46A5 /* NptConstants.h in Headers */, - E48F89BF1632007E009E46A5 /* NptDataBuffer.h in Headers */, - E48F89C01632007E009E46A5 /* NptDebug.h in Headers */, - E48F89C11632007E009E46A5 /* NptDefs.h in Headers */, - E48F89C21632007E009E46A5 /* NptFile.h in Headers */, - E48F89C31632007E009E46A5 /* NptHttp.h in Headers */, - E48F89C41632007E009E46A5 /* NptInterfaces.h in Headers */, - E48F89C51632007E009E46A5 /* NptList.h in Headers */, - E48F89C61632007E009E46A5 /* NptLogging.h in Headers */, - E48F89C71632007E009E46A5 /* NptMap.h in Headers */, - E48F89C81632007E009E46A5 /* NptMessaging.h in Headers */, - E48F89C91632007E009E46A5 /* NptNetwork.h in Headers */, - E48F89CA1632007E009E46A5 /* NptQueue.h in Headers */, - E48F89CB1632007E009E46A5 /* NptReferences.h in Headers */, - E48F89CC1632007E009E46A5 /* NptResults.h in Headers */, - E48F89CD1632007E009E46A5 /* NptRingBuffer.h in Headers */, - E48F89CE1632007E009E46A5 /* NptSelectableMessageQueue.h in Headers */, - E48F89CF1632007E009E46A5 /* NptSimpleMessageQueue.h in Headers */, - E48F89D01632007E009E46A5 /* NptSockets.h in Headers */, - E48F89D11632007E009E46A5 /* NptStack.h in Headers */, - E48F89D21632007E009E46A5 /* NptStreams.h in Headers */, - E48F89D31632007E009E46A5 /* NptStrings.h in Headers */, - E48F89D41632007E009E46A5 /* NptSystem.h in Headers */, - E48F89D51632007E009E46A5 /* NptThreads.h in Headers */, - E48F89D61632007E009E46A5 /* NptTime.h in Headers */, - E48F89D71632007E009E46A5 /* NptTypes.h in Headers */, - E48F89D81632007E009E46A5 /* NptUri.h in Headers */, - E48F89D91632007E009E46A5 /* NptUtils.h in Headers */, - E48F89DA1632007E009E46A5 /* NptVersion.h in Headers */, - E48F89DB1632007E009E46A5 /* NptXml.h in Headers */, - E48F89DC1632007E009E46A5 /* NptZip.h in Headers */, - E48F89DD1632007E009E46A5 /* NptCocoaMessageQueue.h in Headers */, - E48F89DE1632007E009E46A5 /* config.h in Headers */, - E48F89DF1632007E009E46A5 /* bigint.h in Headers */, - E48F89E01632007E009E46A5 /* bigint_impl.h in Headers */, - E48F89E11632007E009E46A5 /* crypto.h in Headers */, - E48F89E21632007E009E46A5 /* cert.h in Headers */, - E48F89E31632007E009E46A5 /* crypto_misc.h in Headers */, - E48F89E41632007E009E46A5 /* os_port.h in Headers */, - E48F89E51632007E009E46A5 /* ssl.h in Headers */, - E48F89E61632007E009E46A5 /* tls1.h in Headers */, - E48F89E71632007E009E46A5 /* version.h in Headers */, - E48F89E81632007E009E46A5 /* crc32.h in Headers */, - E48F89E91632007E009E46A5 /* deflate.h in Headers */, - E48F89EA1632007E009E46A5 /* inffast.h in Headers */, - E48F89EB1632007E009E46A5 /* inffixed.h in Headers */, - E48F89EC1632007E009E46A5 /* inflate.h in Headers */, - E48F89ED1632007E009E46A5 /* inftrees.h in Headers */, - E48F89EE1632007E009E46A5 /* trees.h in Headers */, - E48F89EF1632007E009E46A5 /* zconf.h in Headers */, - E48F89F01632007E009E46A5 /* zlib.h in Headers */, - E48F89F11632007E009E46A5 /* zutil.h in Headers */, - E48F89F21632007E009E46A5 /* NptTlsDefaultTrustAnchorsBase.h in Headers */, - E48F89F31632007E009E46A5 /* NptTlsDefaultTrustAnchorsExtended.h in Headers */, - E48F89F41632007E009E46A5 /* NptAutoreleasePool.h in Headers */, - E40F7505176C5F6000023CDC /* NptAutomaticCleaner.h in Headers */, + E44E2B5A1AE761220092347B /* PltTaskManager.h in Headers */, + E44E2B5B1AE761220092347B /* PltDeviceHost.h in Headers */, + E44E2B5C1AE761220092347B /* PltLeaks.h in Headers */, + E44E2B5D1AE761220092347B /* PltHttpServer.h in Headers */, + E44E2B5E1AE761220092347B /* PltMediaItem.h in Headers */, + E44E2B5F1AE761220092347B /* PltFrameBuffer.h in Headers */, + E44E2B601AE761220092347B /* PltMediaBrowser.h in Headers */, + E44E2B611AE761220092347B /* PltDatagramStream.h in Headers */, + E44E2B621AE761220092347B /* PltUtilities.h in Headers */, + E44E2B631AE761220092347B /* PltRingBufferStream.h in Headers */, + E44E2B641AE761220092347B /* PltSsdp.h in Headers */, + E44E2B651AE761220092347B /* Platinum.h in Headers */, + E44E2B661AE761220092347B /* PltConstants.h in Headers */, + E44E2B671AE761220092347B /* PltThreadTask.h in Headers */, + E44E2B681AE761220092347B /* PltUPnPObject.h in Headers */, + E44E2B691AE761220092347B /* PltProtocolInfo.h in Headers */, + E44E2B6A1AE761220092347B /* PltCtrlPoint.h in Headers */, + E44E2B6B1AE761220092347B /* PltService.h in Headers */, + E44E2B6C1AE761220092347B /* PltXbox360.h in Headers */, + E44E2B6D1AE761220092347B /* PltHttp.h in Headers */, + E44E2B6E1AE761220092347B /* PltVersion.h in Headers */, + E44E2B6F1AE761220092347B /* PltMediaConnect.h in Headers */, + E44E2B701AE761220092347B /* PltHttpServerTask.h in Headers */, + E44E2B711AE761220092347B /* PltMediaServer.h in Headers */, + E44E2B721AE761220092347B /* PltFileMediaServer.h in Headers */, + E44E2B731AE761220092347B /* PltStreamPump.h in Headers */, + E44E2B741AE761220092347B /* PltMediaCache.h in Headers */, + E44E2B751AE761220092347B /* PltFrameServer.h in Headers */, + E44E2B761AE761220092347B /* PltMediaRenderer.h in Headers */, + E44E2B771AE761220092347B /* PltArgument.h in Headers */, + E44E2B781AE761220092347B /* PltHttpClientTask.h in Headers */, + E44E2B791AE761220092347B /* PltSyncMediaBrowser.h in Headers */, + E44E2B7A1AE761220092347B /* PltStateVariable.h in Headers */, + E44E2B7B1AE761220092347B /* PltDownloader.h in Headers */, + E44E2B7C1AE761220092347B /* PltDidl.h in Headers */, + E44E2B7D1AE761220092347B /* PltUPnP.h in Headers */, + E44E2B7E1AE761220092347B /* PltCtrlPointTask.h in Headers */, + E44E2B7F1AE761220092347B /* PltMetadataHandler.h in Headers */, + E44E2B801AE761220092347B /* PltAction.h in Headers */, + E44E2B811AE761220092347B /* PltEvent.h in Headers */, + E44E2B821AE761220092347B /* PltMimeType.h in Headers */, + E44E2B831AE761220092347B /* PltMediaServerObject.h in Headers */, + E44E2B841AE761220092347B /* PltFrameStream.h in Headers */, + E48EAA821AF1EDD800D9EDC0 /* Neptune.h in Headers */, + E44E2B851AE761220092347B /* PltMediaController.h in Headers */, + E44E2B861AE761220092347B /* PltDeviceData.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - E496A915146A4D320034BBAE /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - E496A916146A4D320034BBAE /* PltAction.h in Headers */, - E496A917146A4D320034BBAE /* PltArgument.h in Headers */, - E496A918146A4D320034BBAE /* PltCtrlPoint.h in Headers */, - E496A919146A4D320034BBAE /* PltCtrlPointTask.h in Headers */, - E496A91A146A4D320034BBAE /* PltDatagramStream.h in Headers */, - E496A91B146A4D320034BBAE /* PltDeviceData.h in Headers */, - E496A91C146A4D320034BBAE /* PltDeviceHost.h in Headers */, - E496A91D146A4D320034BBAE /* PltEvent.h in Headers */, - E496A91E146A4D320034BBAE /* PltHttp.h in Headers */, - E496A91F146A4D320034BBAE /* PltHttpClientTask.h in Headers */, - E496A920146A4D320034BBAE /* PltHttpServer.h in Headers */, - E496A921146A4D320034BBAE /* PltHttpServerTask.h in Headers */, - E496A922146A4D320034BBAE /* PltService.h in Headers */, - E496A923146A4D320034BBAE /* PltSsdp.h in Headers */, - E496A924146A4D320034BBAE /* PltStateVariable.h in Headers */, - E496A925146A4D320034BBAE /* PltTaskManager.h in Headers */, - E496A926146A4D320034BBAE /* PltThreadTask.h in Headers */, - E496A927146A4D320034BBAE /* PltUPnP.h in Headers */, - E496A929146A4D320034BBAE /* PltUtilities.h in Headers */, - E496A92A146A4D320034BBAE /* PltMediaController.h in Headers */, - E496A92B146A4D320034BBAE /* PltMediaRenderer.h in Headers */, - E496A92C146A4D320034BBAE /* PltDidl.h in Headers */, - E496A92D146A4D320034BBAE /* PltFileMediaServer.h in Headers */, - E496A92E146A4D320034BBAE /* PltMediaBrowser.h in Headers */, - E496A92F146A4D320034BBAE /* PltMediaCache.h in Headers */, - E496A930146A4D320034BBAE /* PltMediaItem.h in Headers */, - E496A931146A4D320034BBAE /* PltMediaServer.h in Headers */, - E496A932146A4D320034BBAE /* PltSyncMediaBrowser.h in Headers */, - E496A933146A4D320034BBAE /* PltConstants.h in Headers */, - E496A934146A4D320034BBAE /* Platinum.h in Headers */, - E496A936146A4D320034BBAE /* PltVersion.h in Headers */, - E496A937146A4D320034BBAE /* PltXbox360.h in Headers */, - E496A938146A4D320034BBAE /* PltMediaConnect.h in Headers */, - E496A939146A4D320034BBAE /* PltFrameBuffer.h in Headers */, - E496A93A146A4D320034BBAE /* PltFrameServer.h in Headers */, - E496A93B146A4D320034BBAE /* PltFrameStream.h in Headers */, - E496A93C146A4D320034BBAE /* PltLeaks.h in Headers */, - E496A93D146A4D320034BBAE /* PltMetadataHandler.h in Headers */, - E496A93E146A4D320034BBAE /* PltRingBufferStream.h in Headers */, - E496A93F146A4D320034BBAE /* PltDownloader.h in Headers */, - E496A940146A4D320034BBAE /* PltStreamPump.h in Headers */, - E496A941146A4D320034BBAE /* PltMediaServerObject.h in Headers */, - E496A942146A4D320034BBAE /* PltUPnPObject.h in Headers */, - E496A943146A4D320034BBAE /* PltProtocolInfo.h in Headers */, - E496A944146A4D320034BBAE /* PltMimeType.h in Headers */, - E496A945146A4D320034BBAE /* NptHash.h in Headers */, - E496A946146A4D320034BBAE /* NptCrypto.h in Headers */, - E496A947146A4D320034BBAE /* NptDigest.h in Headers */, - E496A948146A4D320034BBAE /* NptDynamicCast.h in Headers */, - E496A949146A4D320034BBAE /* NptTls.h in Headers */, - E496A94A146A4D320034BBAE /* NptDynamicLibraries.h in Headers */, - E496A94B146A4D320034BBAE /* NptSerialPort.h in Headers */, - E496A94C146A4D320034BBAE /* Neptune.h in Headers */, - E496A94D146A4D320034BBAE /* NptArray.h in Headers */, - E496A94E146A4D320034BBAE /* NptBase64.h in Headers */, - E496A94F146A4D320034BBAE /* NptBufferedStreams.h in Headers */, - E496A950146A4D320034BBAE /* NptCommon.h in Headers */, - E496A951146A4D320034BBAE /* NptConfig.h in Headers */, - E496A952146A4D320034BBAE /* NptConsole.h in Headers */, - E496A953146A4D320034BBAE /* NptConstants.h in Headers */, - E496A954146A4D320034BBAE /* NptDataBuffer.h in Headers */, - E496A955146A4D320034BBAE /* NptDebug.h in Headers */, - E496A956146A4D320034BBAE /* NptDefs.h in Headers */, - E496A957146A4D320034BBAE /* NptFile.h in Headers */, - E496A958146A4D320034BBAE /* NptHttp.h in Headers */, - E496A959146A4D320034BBAE /* NptInterfaces.h in Headers */, - E496A95A146A4D320034BBAE /* NptList.h in Headers */, - E496A95B146A4D320034BBAE /* NptLogging.h in Headers */, - E496A95C146A4D320034BBAE /* NptMap.h in Headers */, - E496A95D146A4D320034BBAE /* NptMessaging.h in Headers */, - E496A95E146A4D320034BBAE /* NptNetwork.h in Headers */, - E496A95F146A4D320034BBAE /* NptQueue.h in Headers */, - E496A960146A4D320034BBAE /* NptReferences.h in Headers */, - E496A961146A4D320034BBAE /* NptResults.h in Headers */, - E496A962146A4D320034BBAE /* NptRingBuffer.h in Headers */, - E496A963146A4D320034BBAE /* NptSelectableMessageQueue.h in Headers */, - E496A964146A4D320034BBAE /* NptSimpleMessageQueue.h in Headers */, - E496A965146A4D320034BBAE /* NptSockets.h in Headers */, - E496A966146A4D320034BBAE /* NptStack.h in Headers */, - E496A967146A4D320034BBAE /* NptStreams.h in Headers */, - E496A968146A4D320034BBAE /* NptStrings.h in Headers */, - E496A969146A4D320034BBAE /* NptSystem.h in Headers */, - E496A96A146A4D320034BBAE /* NptThreads.h in Headers */, - E496A96B146A4D320034BBAE /* NptTime.h in Headers */, - E496A96C146A4D320034BBAE /* NptTypes.h in Headers */, - E496A96D146A4D320034BBAE /* NptUri.h in Headers */, - E496A96E146A4D320034BBAE /* NptUtils.h in Headers */, - E496A96F146A4D320034BBAE /* NptVersion.h in Headers */, - E496A970146A4D320034BBAE /* NptXml.h in Headers */, - E496A971146A4D320034BBAE /* NptZip.h in Headers */, - E496A972146A4D320034BBAE /* NptCocoaMessageQueue.h in Headers */, - E496A973146A4D320034BBAE /* config.h in Headers */, - E496A974146A4D320034BBAE /* bigint.h in Headers */, - E496A975146A4D320034BBAE /* bigint_impl.h in Headers */, - E496A976146A4D320034BBAE /* crypto.h in Headers */, - E496A977146A4D320034BBAE /* cert.h in Headers */, - E496A978146A4D320034BBAE /* crypto_misc.h in Headers */, - E496A979146A4D320034BBAE /* os_port.h in Headers */, - E496A97A146A4D320034BBAE /* ssl.h in Headers */, - E496A97B146A4D320034BBAE /* tls1.h in Headers */, - E496A97C146A4D320034BBAE /* version.h in Headers */, - E496A97D146A4D320034BBAE /* crc32.h in Headers */, - E496A97E146A4D320034BBAE /* deflate.h in Headers */, - E496A97F146A4D320034BBAE /* inffast.h in Headers */, - E496A980146A4D320034BBAE /* inffixed.h in Headers */, - E496A981146A4D320034BBAE /* inflate.h in Headers */, - E496A982146A4D320034BBAE /* inftrees.h in Headers */, - E496A983146A4D320034BBAE /* trees.h in Headers */, - E496A984146A4D320034BBAE /* zconf.h in Headers */, - E496A985146A4D320034BBAE /* zlib.h in Headers */, - E496A986146A4D320034BBAE /* zutil.h in Headers */, - E496A987146A4D320034BBAE /* NptTlsDefaultTrustAnchorsBase.h in Headers */, - E496A988146A4D320034BBAE /* NptTlsDefaultTrustAnchorsExtended.h in Headers */, - E46E95BF153F9E1400ED95D5 /* NptAutoreleasePool.h in Headers */, - E40F7506176C5F6100023CDC /* NptAutomaticCleaner.h in Headers */, +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + E41016201ACFA826000E994F /* Platinum-iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = E410163A1ACFA826000E994F /* Build configuration list for PBXNativeTarget "Platinum-iOS" */; + buildPhases = ( + E410161C1ACFA826000E994F /* Sources */, + E410161D1ACFA826000E994F /* Frameworks */, + E410161E1ACFA826000E994F /* Headers */, + E410161F1ACFA826000E994F /* Resources */, + E4B2A5A41FC8F8EB00C891D7 /* Copy Products to Carthage/Build/iOS */, ); - runOnlyForDeploymentPostprocessing = 0; - }; - E4B95EC91446575700DBBF49 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - E4B95EE01446591B00DBBF49 /* PltMimeType.h in Headers */, - E4B95EE21446591B00DBBF49 /* PltProtocolInfo.h in Headers */, - E4B95EE51446591B00DBBF49 /* PltAction.h in Headers */, - E4B95EE71446591B00DBBF49 /* PltArgument.h in Headers */, - E4B95EE91446591B00DBBF49 /* PltConstants.h in Headers */, - E4B95EEB1446591B00DBBF49 /* PltCtrlPoint.h in Headers */, - E4B95EED1446591B00DBBF49 /* PltCtrlPointTask.h in Headers */, - E4B95EEF1446591B00DBBF49 /* PltDatagramStream.h in Headers */, - E4B95EF11446591B00DBBF49 /* PltDeviceData.h in Headers */, - E4B95EF31446591B00DBBF49 /* PltDeviceHost.h in Headers */, - E4B95EF51446591B00DBBF49 /* PltEvent.h in Headers */, - E4B95EF71446591B00DBBF49 /* PltHttp.h in Headers */, - E4B95EF91446591B00DBBF49 /* PltHttpClientTask.h in Headers */, - E4B95EFB1446591B00DBBF49 /* PltHttpServer.h in Headers */, - E4B95EFD1446591B00DBBF49 /* PltHttpServerTask.h in Headers */, - E4B95EFF1446591B00DBBF49 /* PltService.h in Headers */, - E4B95F011446591B00DBBF49 /* PltSsdp.h in Headers */, - E4B95F031446591C00DBBF49 /* PltStateVariable.h in Headers */, - E4B95F051446591C00DBBF49 /* PltTaskManager.h in Headers */, - E4B95F071446591C00DBBF49 /* PltThreadTask.h in Headers */, - E4B95F091446591C00DBBF49 /* PltUPnP.h in Headers */, - E4B95F28144659AA00DBBF49 /* PltXbox360.h in Headers */, - E4B95F2B144659AA00DBBF49 /* PltMediaRenderer.h in Headers */, - E4B95F29144659AA00DBBF49 /* PltMediaConnect.h in Headers */, - E4B95F2A144659AA00DBBF49 /* PltMediaController.h in Headers */, - E4B95F2C144659AA00DBBF49 /* PltDidl.h in Headers */, - E4B95F2D144659AA00DBBF49 /* PltFileMediaServer.h in Headers */, - E4B95F2E144659AA00DBBF49 /* PltMediaBrowser.h in Headers */, - E4B95F2F144659AA00DBBF49 /* PltMediaCache.h in Headers */, - E4B95F30144659AA00DBBF49 /* PltMediaItem.h in Headers */, - E4B95F31144659AA00DBBF49 /* PltMediaServer.h in Headers */, - E4B95F32144659AA00DBBF49 /* PltSyncMediaBrowser.h in Headers */, - E4B95F33144659AA00DBBF49 /* PltMediaServerObject.h in Headers */, - E4B95F34144659AA00DBBF49 /* PltUPnPObject.h in Headers */, - E4B95F35144659AA00DBBF49 /* PltDownloader.h in Headers */, - E4B95F36144659AA00DBBF49 /* PltStreamPump.h in Headers */, - E4B95F37144659AA00DBBF49 /* PltFrameBuffer.h in Headers */, - E4B95F38144659AA00DBBF49 /* PltFrameServer.h in Headers */, - E4B95F39144659AA00DBBF49 /* PltFrameStream.h in Headers */, - E4B95F3A144659AA00DBBF49 /* PltLeaks.h in Headers */, - E4B95F3B144659AA00DBBF49 /* PltMetadataHandler.h in Headers */, - E4B95F3C144659AA00DBBF49 /* PltRingBufferStream.h in Headers */, - E4B95F3D144659AB00DBBF49 /* Platinum.h in Headers */, - E4B95F3F144659AB00DBBF49 /* PltVersion.h in Headers */, - E457AC2B144AA48D00C34B69 /* NptHash.h in Headers */, - E457AC31144AA48D00C34B69 /* NptCrypto.h in Headers */, - E457AC37144AA48D00C34B69 /* NptDigest.h in Headers */, - E457AC3A144AA48D00C34B69 /* NptDynamicCast.h in Headers */, - E457AC43144AA48D00C34B69 /* NptTls.h in Headers */, - E457AC49144AA48D00C34B69 /* NptDynamicLibraries.h in Headers */, - E457AC4C144AA48D00C34B69 /* NptSerialPort.h in Headers */, - E457AC52144AA48D00C34B69 /* Neptune.h in Headers */, - E457AC55144AA48D00C34B69 /* NptArray.h in Headers */, - E457AC5B144AA48D00C34B69 /* NptBase64.h in Headers */, - E457AC61144AA48D00C34B69 /* NptBufferedStreams.h in Headers */, - E457AC67144AA48D00C34B69 /* NptCommon.h in Headers */, - E457AC6A144AA48D00C34B69 /* NptConfig.h in Headers */, - E457AC70144AA48D00C34B69 /* NptConsole.h in Headers */, - E457AC73144AA48D00C34B69 /* NptConstants.h in Headers */, - E457AC79144AA48D00C34B69 /* NptDataBuffer.h in Headers */, - E457AC7F144AA48D00C34B69 /* NptDebug.h in Headers */, - E457AC82144AA48D00C34B69 /* NptDefs.h in Headers */, - E457AC88144AA48D00C34B69 /* NptFile.h in Headers */, - E457AC8E144AA48D00C34B69 /* NptHttp.h in Headers */, - E457AC91144AA48D00C34B69 /* NptInterfaces.h in Headers */, - E457AC97144AA48D00C34B69 /* NptList.h in Headers */, - E457AC9D144AA48D00C34B69 /* NptLogging.h in Headers */, - E457ACA0144AA48D00C34B69 /* NptMap.h in Headers */, - E457ACA6144AA48D00C34B69 /* NptMessaging.h in Headers */, - E457ACAC144AA48D00C34B69 /* NptNetwork.h in Headers */, - E457ACB2144AA48E00C34B69 /* NptQueue.h in Headers */, - E457ACB5144AA48E00C34B69 /* NptReferences.h in Headers */, - E457ACB8144AA48E00C34B69 /* NptResults.h in Headers */, - E457ACBE144AA48E00C34B69 /* NptRingBuffer.h in Headers */, - E457ACC1144AA48E00C34B69 /* NptSelectableMessageQueue.h in Headers */, - E457ACC7144AA48E00C34B69 /* NptSimpleMessageQueue.h in Headers */, - E457ACCD144AA48E00C34B69 /* NptSockets.h in Headers */, - E457ACD0144AA48E00C34B69 /* NptStack.h in Headers */, - E457ACD6144AA48E00C34B69 /* NptStreams.h in Headers */, - E457ACDC144AA48E00C34B69 /* NptStrings.h in Headers */, - E457ACE2144AA48E00C34B69 /* NptSystem.h in Headers */, - E457ACE8144AA48E00C34B69 /* NptThreads.h in Headers */, - E457ACEE144AA48E00C34B69 /* NptTime.h in Headers */, - E457ACF1144AA48E00C34B69 /* NptTypes.h in Headers */, - E457ACF7144AA48E00C34B69 /* NptUri.h in Headers */, - E457ACFD144AA48E00C34B69 /* NptUtils.h in Headers */, - E457AD00144AA48E00C34B69 /* NptVersion.h in Headers */, - E457AD06144AA48E00C34B69 /* NptXml.h in Headers */, - E457AD09144AA48E00C34B69 /* NptZip.h in Headers */, - E457AD34144AA49500C34B69 /* NptCocoaMessageQueue.h in Headers */, - E4B95F0B1446591C00DBBF49 /* PltUtilities.h in Headers */, - E457AEFE144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h in Headers */, - E457AF01144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h in Headers */, - E46E95C0153F9E1400ED95D5 /* NptAutoreleasePool.h in Headers */, - E457ADA0144AA4A000C34B69 /* config.h in Headers */, - E457ADA9144AA4A000C34B69 /* bigint.h in Headers */, - E457ADAC144AA4A000C34B69 /* bigint_impl.h in Headers */, - E457ADAF144AA4A000C34B69 /* crypto.h in Headers */, - E457ADCA144AA4A000C34B69 /* cert.h in Headers */, - E457ADCD144AA4A000C34B69 /* crypto_misc.h in Headers */, - E457ADD6144AA4A000C34B69 /* os_port.h in Headers */, - E457ADDC144AA4A000C34B69 /* ssl.h in Headers */, - E457ADE2144AA4A000C34B69 /* tls1.h in Headers */, - E457ADEB144AA4A000C34B69 /* version.h in Headers */, - E457ADFA144AA4A000C34B69 /* crc32.h in Headers */, - E457AE00144AA4A000C34B69 /* deflate.h in Headers */, - E457AE09144AA4A000C34B69 /* inffast.h in Headers */, - E457AE0C144AA4A000C34B69 /* inffixed.h in Headers */, - E457AE12144AA4A000C34B69 /* inflate.h in Headers */, - E457AE18144AA4A000C34B69 /* inftrees.h in Headers */, - E457AE1E144AA4A100C34B69 /* trees.h in Headers */, - E457AE21144AA4A100C34B69 /* zconf.h in Headers */, - E457AE24144AA4A100C34B69 /* zlib.h in Headers */, - E457AE2A144AA4A100C34B69 /* zutil.h in Headers */, - E40F7504176C5F5B00023CDC /* NptAutomaticCleaner.h in Headers */, + buildRules = ( ); - runOnlyForDeploymentPostprocessing = 0; - }; - E4D874C6144776B700CCB1B4 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - E4D874C7144776B700CCB1B4 /* PltAction.h in Headers */, - E4D874C8144776B700CCB1B4 /* PltArgument.h in Headers */, - E4D874C9144776B700CCB1B4 /* PltCtrlPoint.h in Headers */, - E4D874CA144776B700CCB1B4 /* PltCtrlPointTask.h in Headers */, - E4D874CB144776B700CCB1B4 /* PltDatagramStream.h in Headers */, - E4D874CC144776B700CCB1B4 /* PltDeviceData.h in Headers */, - E4D874CD144776B700CCB1B4 /* PltDeviceHost.h in Headers */, - E4D874CE144776B700CCB1B4 /* PltEvent.h in Headers */, - E4D874CF144776B700CCB1B4 /* PltHttp.h in Headers */, - E4D874D0144776B700CCB1B4 /* PltHttpClientTask.h in Headers */, - E4D874D1144776B700CCB1B4 /* PltHttpServer.h in Headers */, - E4D874D2144776B700CCB1B4 /* PltHttpServerTask.h in Headers */, - E4D874D3144776B700CCB1B4 /* PltService.h in Headers */, - E4D874D4144776B700CCB1B4 /* PltSsdp.h in Headers */, - E4D874D5144776B700CCB1B4 /* PltStateVariable.h in Headers */, - E4D874D6144776B700CCB1B4 /* PltTaskManager.h in Headers */, - E4D874D7144776B700CCB1B4 /* PltThreadTask.h in Headers */, - E4D874D8144776B700CCB1B4 /* PltUPnP.h in Headers */, - E4D874DA144776B700CCB1B4 /* PltUtilities.h in Headers */, - E4D874DB144776B700CCB1B4 /* PltMediaController.h in Headers */, - E4D874DC144776B700CCB1B4 /* PltMediaRenderer.h in Headers */, - E4D874DD144776B700CCB1B4 /* PltDidl.h in Headers */, - E4D874DE144776B700CCB1B4 /* PltFileMediaServer.h in Headers */, - E4D874DF144776B700CCB1B4 /* PltMediaBrowser.h in Headers */, - E4D874E0144776B700CCB1B4 /* PltMediaCache.h in Headers */, - E4D874E1144776B700CCB1B4 /* PltMediaItem.h in Headers */, - E4D874E2144776B700CCB1B4 /* PltMediaServer.h in Headers */, - E4D874E3144776B700CCB1B4 /* PltSyncMediaBrowser.h in Headers */, - E4D874E4144776B700CCB1B4 /* PltConstants.h in Headers */, - E4D874E5144776B700CCB1B4 /* Platinum.h in Headers */, - E4D874E7144776B700CCB1B4 /* PltVersion.h in Headers */, - E4D874E8144776B700CCB1B4 /* PltXbox360.h in Headers */, - E4D874E9144776B700CCB1B4 /* PltMediaConnect.h in Headers */, - E4D874EA144776B700CCB1B4 /* PltFrameBuffer.h in Headers */, - E4D874EB144776B700CCB1B4 /* PltFrameServer.h in Headers */, - E4D874EC144776B700CCB1B4 /* PltFrameStream.h in Headers */, - E4D874ED144776B700CCB1B4 /* PltLeaks.h in Headers */, - E4D874EE144776B700CCB1B4 /* PltMetadataHandler.h in Headers */, - E4D874EF144776B700CCB1B4 /* PltRingBufferStream.h in Headers */, - E4D874F0144776B700CCB1B4 /* PltDownloader.h in Headers */, - E4D874F1144776B700CCB1B4 /* PltStreamPump.h in Headers */, - E4D874F2144776B700CCB1B4 /* PltMediaServerObject.h in Headers */, - E4D874F3144776B700CCB1B4 /* PltUPnPObject.h in Headers */, - E4D874F4144776B700CCB1B4 /* PltProtocolInfo.h in Headers */, - E4D874F5144776B700CCB1B4 /* PltMimeType.h in Headers */, - E457AC2A144AA48D00C34B69 /* NptHash.h in Headers */, - E457AC30144AA48D00C34B69 /* NptCrypto.h in Headers */, - E457AC36144AA48D00C34B69 /* NptDigest.h in Headers */, - E457AC39144AA48D00C34B69 /* NptDynamicCast.h in Headers */, - E457AC42144AA48D00C34B69 /* NptTls.h in Headers */, - E457AC48144AA48D00C34B69 /* NptDynamicLibraries.h in Headers */, - E457AC4B144AA48D00C34B69 /* NptSerialPort.h in Headers */, - E457AC51144AA48D00C34B69 /* Neptune.h in Headers */, - E457AC54144AA48D00C34B69 /* NptArray.h in Headers */, - E457AC5A144AA48D00C34B69 /* NptBase64.h in Headers */, - E457AC60144AA48D00C34B69 /* NptBufferedStreams.h in Headers */, - E457AC66144AA48D00C34B69 /* NptCommon.h in Headers */, - E457AC69144AA48D00C34B69 /* NptConfig.h in Headers */, - E457AC6F144AA48D00C34B69 /* NptConsole.h in Headers */, - E457AC72144AA48D00C34B69 /* NptConstants.h in Headers */, - E457AC78144AA48D00C34B69 /* NptDataBuffer.h in Headers */, - E457AC7E144AA48D00C34B69 /* NptDebug.h in Headers */, - E457AC81144AA48D00C34B69 /* NptDefs.h in Headers */, - E457AC87144AA48D00C34B69 /* NptFile.h in Headers */, - E457AC8D144AA48D00C34B69 /* NptHttp.h in Headers */, - E457AC90144AA48D00C34B69 /* NptInterfaces.h in Headers */, - E457AC96144AA48D00C34B69 /* NptList.h in Headers */, - E457AC9C144AA48D00C34B69 /* NptLogging.h in Headers */, - E457AC9F144AA48D00C34B69 /* NptMap.h in Headers */, - E457ACA5144AA48D00C34B69 /* NptMessaging.h in Headers */, - E457ACAB144AA48D00C34B69 /* NptNetwork.h in Headers */, - E457ACB1144AA48E00C34B69 /* NptQueue.h in Headers */, - E457ACB4144AA48E00C34B69 /* NptReferences.h in Headers */, - E457ACB7144AA48E00C34B69 /* NptResults.h in Headers */, - E457ACBD144AA48E00C34B69 /* NptRingBuffer.h in Headers */, - E457ACC0144AA48E00C34B69 /* NptSelectableMessageQueue.h in Headers */, - E457ACC6144AA48E00C34B69 /* NptSimpleMessageQueue.h in Headers */, - E457ACCC144AA48E00C34B69 /* NptSockets.h in Headers */, - E457ACCF144AA48E00C34B69 /* NptStack.h in Headers */, - E457ACD5144AA48E00C34B69 /* NptStreams.h in Headers */, - E457ACDB144AA48E00C34B69 /* NptStrings.h in Headers */, - E457ACE1144AA48E00C34B69 /* NptSystem.h in Headers */, - E457ACE7144AA48E00C34B69 /* NptThreads.h in Headers */, - E457ACED144AA48E00C34B69 /* NptTime.h in Headers */, - E457ACF0144AA48E00C34B69 /* NptTypes.h in Headers */, - E457ACF6144AA48E00C34B69 /* NptUri.h in Headers */, - E457ACFC144AA48E00C34B69 /* NptUtils.h in Headers */, - E457ACFF144AA48E00C34B69 /* NptVersion.h in Headers */, - E457AD05144AA48E00C34B69 /* NptXml.h in Headers */, - E457AD08144AA48E00C34B69 /* NptZip.h in Headers */, - E457AD33144AA49500C34B69 /* NptCocoaMessageQueue.h in Headers */, - E457AD9F144AA4A000C34B69 /* config.h in Headers */, - E457ADA8144AA4A000C34B69 /* bigint.h in Headers */, - E457ADAB144AA4A000C34B69 /* bigint_impl.h in Headers */, - E457ADAE144AA4A000C34B69 /* crypto.h in Headers */, - E457ADC9144AA4A000C34B69 /* cert.h in Headers */, - E457ADCC144AA4A000C34B69 /* crypto_misc.h in Headers */, - E457ADD5144AA4A000C34B69 /* os_port.h in Headers */, - E457ADDB144AA4A000C34B69 /* ssl.h in Headers */, - E457ADE1144AA4A000C34B69 /* tls1.h in Headers */, - E457ADEA144AA4A000C34B69 /* version.h in Headers */, - E457ADF9144AA4A000C34B69 /* crc32.h in Headers */, - E457ADFF144AA4A000C34B69 /* deflate.h in Headers */, - E457AE08144AA4A000C34B69 /* inffast.h in Headers */, - E457AE0B144AA4A000C34B69 /* inffixed.h in Headers */, - E457AE11144AA4A000C34B69 /* inflate.h in Headers */, - E457AE17144AA4A000C34B69 /* inftrees.h in Headers */, - E457AE1D144AA4A100C34B69 /* trees.h in Headers */, - E457AE20144AA4A100C34B69 /* zconf.h in Headers */, - E457AE23144AA4A100C34B69 /* zlib.h in Headers */, - E457AE29144AA4A100C34B69 /* zutil.h in Headers */, - E457AEFD144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsBase.h in Headers */, - E457AF00144AAC8200C34B69 /* NptTlsDefaultTrustAnchorsExtended.h in Headers */, - E46E95BE153F9E1400ED95D5 /* NptAutoreleasePool.h in Headers */, - E40F7507176C5F6200023CDC /* NptAutomaticCleaner.h in Headers */, + dependencies = ( ); - runOnlyForDeploymentPostprocessing = 0; + name = "Platinum-iOS"; + productName = Platinum; + productReference = E41016211ACFA826000E994F /* Platinum.framework */; + productType = "com.apple.product-type.framework"; }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ E423F35B18415DC500E24E39 /* SsdpTest */ = { isa = PBXNativeTarget; buildConfigurationList = E423F36518415DC500E24E39 /* Build configuration list for PBXNativeTarget "SsdpTest" */; buildPhases = ( E423F35E18415DC500E24E39 /* Sources */, E423F36018415DC500E24E39 /* Frameworks */, - E423F36418415DC500E24E39 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E423F35C18415DC500E24E39 /* PBXTargetDependency */, + E44E2BF31AE779700092347B /* PBXTargetDependency */, ); name = SsdpTest; productName = HttpTest; @@ -3404,12 +1498,11 @@ buildPhases = ( E42D3ABA0FDC87130045379C /* Sources */, E42D3ABB0FDC87130045379C /* Frameworks */, - E4FFCFEF143ADFF6001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A7F163200F6009E46A5 /* PBXTargetDependency */, + E44E2BDB1AE776060092347B /* PBXTargetDependency */, ); name = MediaCrawler; productName = MediaCrawler; @@ -3422,12 +1515,11 @@ buildPhases = ( E42D3AD00FDC87DB0045379C /* Sources */, E42D3AD10FDC87DB0045379C /* Frameworks */, - E4FFCFF0143ADFFF001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A821632010F009E46A5 /* PBXTargetDependency */, + E44E2BE11AE779130092347B /* PBXTargetDependency */, ); name = MediaConnect; productName = MediaConnect; @@ -3440,12 +1532,11 @@ buildPhases = ( E42D3ADA0FDC87F50045379C /* Sources */, E42D3ADB0FDC87F50045379C /* Frameworks */, - E4FFCFF1143AE006001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A851632011A009E46A5 /* PBXTargetDependency */, + E44E2BE31AE7794D0092347B /* PBXTargetDependency */, ); name = MicroMediaController; productName = MicroMediaController; @@ -3458,12 +1549,11 @@ buildPhases = ( E42D3AE40FDC880D0045379C /* Sources */, E42D3AE50FDC880D0045379C /* Frameworks */, - E4FFCFF2143AE00D001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A8816320129009E46A5 /* PBXTargetDependency */, + E44E2BE51AE779520092347B /* PBXTargetDependency */, ); name = FrameStreamer; productName = FrameStreamer; @@ -3476,12 +1566,11 @@ buildPhases = ( E42D3B180FDC895A0045379C /* Sources */, E42D3B190FDC895A0045379C /* Frameworks */, - E4FFCFF3143AE014001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A8B16320138009E46A5 /* PBXTargetDependency */, + E44E2BE71AE779580092347B /* PBXTargetDependency */, ); name = FileMediaServerTest; productName = FileMediaServerTest; @@ -3494,12 +1583,11 @@ buildPhases = ( E42D3B230FDC89720045379C /* Sources */, E42D3B240FDC89720045379C /* Frameworks */, - E4FFCFF4143AE01B001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A8E16320143009E46A5 /* PBXTargetDependency */, + E44E2BE91AE7795C0092347B /* PBXTargetDependency */, ); name = HttpTest; productName = HttpTest; @@ -3512,12 +1600,11 @@ buildPhases = ( E42D3B360FDC89B70045379C /* Sources */, E42D3B370FDC89B70045379C /* Frameworks */, - E4FFCFF5143AE020001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A9116320151009E46A5 /* PBXTargetDependency */, + E44E2BEB1AE779600092347B /* PBXTargetDependency */, ); name = LightSampleTest; productName = LightSampleTest; @@ -3530,12 +1617,11 @@ buildPhases = ( E42D3B420FDC89CD0045379C /* Sources */, E42D3B430FDC89CD0045379C /* Frameworks */, - E4FFCFF6143AE025001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A941632015D009E46A5 /* PBXTargetDependency */, + E44E2BED1AE779640092347B /* PBXTargetDependency */, ); name = MediaRendererTest; productName = MediaRendererTest; @@ -3548,12 +1634,11 @@ buildPhases = ( E42D3B4D0FDC89E10045379C /* Sources */, E42D3B4E0FDC89E10045379C /* Frameworks */, - E4FFCFF7143AE02A001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A9716320169009E46A5 /* PBXTargetDependency */, + E44E2BEF1AE779680092347B /* PBXTargetDependency */, ); name = SimpleTest; productName = SimpleTest; @@ -3568,12 +1653,11 @@ E43741F9123FFB9800000109 /* Sources */, E43741FA123FFB9800000109 /* Frameworks */, E4516B8E1446C3F600EC613B /* CopyFiles */, - E4FFCFF9143AE042001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E412ABB314478C240078A367 /* PBXTargetDependency */, + E44E2BC31AE76D7B0092347B /* PBXTargetDependency */, ); name = MediaServerCocoaTest; productName = MediaServerCocoaTest; @@ -3586,111 +1670,54 @@ buildPhases = ( E43F6BBE10F1B74E00C97612 /* Sources */, E43F6BC010F1B74E00C97612 /* Frameworks */, - E4FFCFF8143AE030001F4662 /* ShellScript */, ); buildRules = ( ); dependencies = ( - E48F8A9A16320174009E46A5 /* PBXTargetDependency */, + E44E2BF11AE7796C0092347B /* PBXTargetDependency */, ); name = TimeTest; productName = SsdpTest; productReference = E43F6BC510F1B74E00C97612 /* TimeTest */; productType = "com.apple.product-type.tool"; }; - E46E0E1214482FCB00CE9E65 /* Platinum-iPhone-Framework */ = { + E44E2B231AE761220092347B /* Platinum-Mac */ = { isa = PBXNativeTarget; - buildConfigurationList = E46E0E4D14482FCB00CE9E65 /* Build configuration list for PBXNativeTarget "Platinum-iPhone-Framework" */; + buildConfigurationList = E44E2B881AE761220092347B /* Build configuration list for PBXNativeTarget "Platinum-Mac" */; buildPhases = ( - E46E0E1614482FCB00CE9E65 /* Sources */, - E46E0E1814482FCB00CE9E65 /* Frameworks */, - E46E0E1A14482FCB00CE9E65 /* Headers */, - E46E0E4914482FCB00CE9E65 /* Resources */, - E42BD4D0176BD2D700134F8A /* Copy binary */, - E457ABC9144A97DD00C34B69 /* Copy Target */, + E44E2B241AE761220092347B /* Sources */, + E44E2B571AE761220092347B /* Frameworks */, + E44E2B591AE761220092347B /* Headers */, + E44E2B871AE761220092347B /* Resources */, + E4B2A5A51FC8F8F100C891D7 /* Copy Products to Carthage/Build/iOS */, ); buildRules = ( ); dependencies = ( - E42BD4CF176BD26A00134F8A /* PBXTargetDependency */, ); - name = "Platinum-iPhone-Framework"; - productName = "PlatinumFramework-iPhoneFake"; - productReference = E46E0E5014482FCB00CE9E65 /* Platinum.framework */; - productType = "com.apple.product-type.bundle"; - }; - E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */ = { - isa = PBXNativeTarget; - buildConfigurationList = E48F8A7A1632007E009E46A5 /* Build configuration list for PBXNativeTarget "Platinum-MacOSX-Static" */; - buildPhases = ( - E48F89821632007E009E46A5 /* Headers */, - E48F89F51632007E009E46A5 /* Sources */, - E48F8A781632007E009E46A5 /* Frameworks */, - E48F8A791632007E009E46A5 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Platinum-MacOSX-Static"; - productName = Platinum; - productReference = E48F8A7D1632007E009E46A5 /* libPlatinum.a */; - productType = "com.apple.product-type.library.static"; - }; - E496A914146A4D320034BBAE /* Platinum-iPhone-Static */ = { - isa = PBXNativeTarget; - buildConfigurationList = E496AA0E146A4D320034BBAE /* Build configuration list for PBXNativeTarget "Platinum-iPhone-Static" */; - buildPhases = ( - E496A915146A4D320034BBAE /* Headers */, - E496A989146A4D320034BBAE /* Sources */, - E496AA0C146A4D320034BBAE /* Frameworks */, - E496AA0D146A4D320034BBAE /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Platinum-iPhone-Static"; + name = "Platinum-Mac"; productName = Platinum; - productReference = E496AA11146A4D320034BBAE /* libPlatinum.a */; - productType = "com.apple.product-type.library.static"; - }; - E4B95ECB1446575700DBBF49 /* Platinum-MacOSX-Framework */ = { - isa = PBXNativeTarget; - buildConfigurationList = E4B95EDC1446575700DBBF49 /* Build configuration list for PBXNativeTarget "Platinum-MacOSX-Framework" */; - buildPhases = ( - E4B95EC71446575700DBBF49 /* Sources */, - E4B95EC81446575700DBBF49 /* Frameworks */, - E4B95EC91446575700DBBF49 /* Headers */, - E4B95ECA1446575700DBBF49 /* Resources */, - E4B95F7914465DC500DBBF49 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Platinum-MacOSX-Framework"; - productName = "PlatinumFramework-OSX"; - productReference = E4B95ECC1446575700DBBF49 /* Platinum.framework */; + productReference = E44E2B8B1AE761220092347B /* Platinum.framework */; productType = "com.apple.product-type.framework"; }; - E4D874C3144776B700CCB1B4 /* Platinum-Static */ = { + E45332AC1AAED318004A52FD /* MobileMediaServer */ = { isa = PBXNativeTarget; - buildConfigurationList = E4D8752C144776B700CCB1B4 /* Build configuration list for PBXNativeTarget "Platinum-Static" */; + buildConfigurationList = E45332CD1AAED318004A52FD /* Build configuration list for PBXNativeTarget "MobileMediaServer" */; buildPhases = ( - E4D874C6144776B700CCB1B4 /* Headers */, - E4D874F6144776B700CCB1B4 /* Sources */, - E4D87529144776B700CCB1B4 /* Frameworks */, - E4D8752B144776B700CCB1B4 /* ShellScript */, + E45332A91AAED318004A52FD /* Sources */, + E45332AA1AAED318004A52FD /* Frameworks */, + E45332AB1AAED318004A52FD /* Resources */, + E410163D1ACFA826000E994F /* Embed Frameworks */, ); buildRules = ( ); dependencies = ( + E41016371ACFA826000E994F /* PBXTargetDependency */, ); - name = "Platinum-Static"; - productName = Platinum; - productReference = E4D8752F144776B700CCB1B4 /* libPlatinum.a */; - productType = "com.apple.product-type.library.static"; + name = MobileMediaServer; + productName = MobileMediaServer; + productReference = E45332AD1AAED318004A52FD /* MobileMediaServer.app */; + productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -3698,7 +1725,18 @@ 08FB7793FE84155DC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0510; + LastUpgradeCheck = 0620; + TargetAttributes = { + E41016201ACFA826000E994F = { + CreatedOnToolsVersion = 6.2; + }; + E44E2BD01AE775510092347B = { + CreatedOnToolsVersion = 6.3; + }; + E45332AC1AAED318004A52FD = { + CreatedOnToolsVersion = 6.2; + }; + }; }; buildConfigurationList = 1DEB91EF08733DB70010E9CD /* Build configuration list for PBXProject "Platinum" */; compatibilityVersion = "Xcode 3.2"; @@ -3710,6 +1748,7 @@ French, German, en, + Base, ); mainGroup = 08FB7794FE84155DC02AAC07 /* Platinum */; projectDirPath = ""; @@ -3718,15 +1757,8 @@ E42D3B040FDC890A0045379C /* Apps */, E42D3B640FDC8A120045379C /* Tests */, E42D3B730FDC8A210045379C /* All */, - E445E4C814497B8F00F221B3 /* All-iPhone */, E459CC2111F82C3F00621896 /* Help */, - E46E0E51144830AB00CE9E65 /* Platinum-iPhone-Framework-Universal */, - E4165909162C8E1C005A306E /* Platinum-iPhone-Static-Universal */, - E4D874C3144776B700CCB1B4 /* Platinum-Static */, - E496A914146A4D320034BBAE /* Platinum-iPhone-Static */, - E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */, - E4B95ECB1446575700DBBF49 /* Platinum-MacOSX-Framework */, - E46E0E1214482FCB00CE9E65 /* Platinum-iPhone-Framework */, + E44E2BD01AE775510092347B /* Frameworks */, E42D3ABC0FDC87130045379C /* MediaCrawler */, E42D3AD20FDC87DB0045379C /* MediaConnect */, E42D3ADC0FDC87F50045379C /* MicroMediaController */, @@ -3737,13 +1769,23 @@ E42D3B440FDC89CD0045379C /* MediaRendererTest */, E42D3B4F0FDC89E10045379C /* SimpleTest */, E43F6BBB10F1B74E00C97612 /* TimeTest */, - E43741FB123FFB9800000109 /* MediaServerCocoaTest */, E423F35B18415DC500E24E39 /* SsdpTest */, + E43741FB123FFB9800000109 /* MediaServerCocoaTest */, + E45332AC1AAED318004A52FD /* MobileMediaServer */, + E41016201ACFA826000E994F /* Platinum-iOS */, + E44E2B231AE761220092347B /* Platinum-Mac */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + E410161F1ACFA826000E994F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; E43741F8123FFB9800000109 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -3753,92 +1795,25 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - E46E0E4914482FCB00CE9E65 /* Resources */ = { + E44E2B871AE761220092347B /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - E4B95ECA1446575700DBBF49 /* Resources */ = { + E45332AB1AAED318004A52FD /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - E4B95F7A14465F8E00DBBF49 /* InfoPlist.strings in Resources */, + E410161B1ACFA761000E994F /* Main.storyboard in Resources */, + E410161A1ACFA761000E994F /* LaunchScreen.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - E416590A162C8E1C005A306E /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "set +e\nset +u\n\n# Install dir will be the final output to the framework.\n# The following line create it in the root folder of the current project.\nINSTALL_DIR=\"${PROJECT_DIR}/../../../Targets/universal-apple-ios\"\n\n# Working dir will be deleted after the framework creation.\necho ${BUILD_DIR}\nDEVICE_DIR=\"${BUILD_DIR}/${CONFIGURATION}-iphoneos\"\nSIMULATOR_DIR=\"${BUILD_DIR}/${CONFIGURATION}-iphonesimulator\"\n\n# Cleaning the working dirs.\nif [ -d \"${DEVICE_DIR}\" ]\nthen\nrm -rf \"${DEVICE_DIR}\"\nfi\nif [ -d \"${SIMULATOR_DIR}\" ]\nthen\nrm -rf \"${SIMULATOR_DIR}\"\nfi\n\n# Building both iphone and simulator architectures.\nxcodebuild -project \"${PROJECT_FILE_PATH}\" -configuration \"${CONFIGURATION}\" -target \"Platinum-iPhone-Static\" -sdk iphoneos BUILD_DIR=\"${BUILD_DIR}\" CONFIGURATION_TEMP_DIR=\"${PROJECT_TEMP_DIR}/${CONFIGURATION}-iphoneos\"\nxcodebuild -project \"${PROJECT_FILE_PATH}\" -configuration \"${CONFIGURATION}\" -target \"Platinum-iPhone-Static\" -sdk iphonesimulator BUILD_DIR=\"${BUILD_DIR}\" CONFIGURATION_TEMP_DIR=\"${PROJECT_TEMP_DIR}/${CONFIGURATION}-iphonesimulator\"\n\n# Uses the Lipo Tool to merge both binary files (i386, x86_64 + arm64/armv7/armv7s) into one Universal final product.\necho \"${DEVICE_DIR}/lib${PRODUCT_NAME}.a\"\n\n# Creates and renews the final product folder.\nmkdir -p \"${INSTALL_DIR}\"\nmkdir -p \"${INSTALL_DIR}/${CONFIGURATION}\"\n\nlipo -create \"${DEVICE_DIR}/libPlatinum.a\" \"${SIMULATOR_DIR}/libPlatinum.a\" -output \"${INSTALL_DIR}/${CONFIGURATION}/libPlatinum.a\"\n\nset -u"; - showEnvVarsInLog = 0; - }; - E423F36418415DC500E24E39 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E42BD4D0176BD2D700134F8A /* Copy binary */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "set +e\nset +u\n\n# Working dir will be deleted after the framework creation.\necho ${CONFIGURATION_BUILD_DIR}\n\n# Copy the static library\ncp \"${CONFIGURATION_BUILD_DIR}/libPlatinum.a\" \"${CONFIGURATION_BUILD_DIR}/${PRODUCT_NAME}.framework/${PRODUCT_NAME}\"\n\nset -u"; - }; - E445E4DC14497C8D00F221B3 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "xcodebuild -project \"${PROJECT_FILE_PATH}\" -configuration \"${CONFIGURATION}\" -target \"Platinum-Static\" -sdk iphoneos BUILD_DIR=\"${BUILD_DIR}\" CONFIGURATION_TEMP_DIR=\"${PROJECT_TEMP_DIR}/${CONFIGURATION}-iphoneos\"\nxcodebuild -project \"${PROJECT_FILE_PATH}\" -configuration \"${CONFIGURATION}\" -target \"Platinum-Static\" -sdk iphonesimulator BUILD_DIR=\"${BUILD_DIR}\" CONFIGURATION_TEMP_DIR=\"${PROJECT_TEMP_DIR}/${CONFIGURATION}-iphonesimulator\"\n"; - }; - E457ABC9144A97DD00C34B69 /* Copy Target */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Target"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "rm -rf \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}/${FULL_PRODUCT_NAME}\"\nmkdir -p \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\"\ncp -Rfp \"${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; E459CC2011F82C3F00621896 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -3852,219 +1827,94 @@ shellPath = /bin/sh; shellScript = "# shell script goes here\n# Build the doxygen documentation for the project and load the docset into Xcode.\n\n# Use the following to adjust the value of the $DOXYGEN_PATH User-Defined Setting:\n# Binary install location: /Applications/Doxygen.app/Contents/Resources/doxygen\n# Source build install location: /usr/local/bin/doxygen\n\n\ncd \"$SOURCE_ROOT/../../../Docs/Doxygen\"\nDIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" && pwd )\"\necho $(pwd)\n\nif ! [ -f Doxyfile ] \nthen \n echo doxygen config file does not exist\nfi\n\nVERSION=$(python ../../Scripts/version.py)\n\n# Run doxygen on the updated config file.\n# Note: doxygen creates a Makefile that does most of the heavy lifting.\n\n( cat Doxyfile ; echo \"PROJECT_NUMBER=$VERSION\" ) | /usr/local/bin/doxygen -\n\n# make will invoke docsetutil. Take a look at the Makefile to see how this is done.\n\nmake -C Platinum-HTML install\n\n# Construct a temporary applescript file to tell Xcode to load a docset.\n\nrm -f \"$TEMP_DIR/loadDocSet.scpt\"\n\necho \"tell application \\\"Xcode\\\"\" >> \"$TEMP_DIR/loadDocSet.scpt\"\necho \"load documentation set with path \\\"/Users/$USER/Library/Developer/Shared/Documentation/DocSets/\\\"\" \n >> $TEMP_DIR/loadDocSet.scpt\necho \"end tell\" >> \"$TEMP_DIR/loadDocSet.scpt\"\n\n# Run the load-docset applescript command.\n\nosascript \"$TEMP_DIR/loadDocSet.scpt\"\n\nexit 0"; }; - E46E0E55144830B600CE9E65 /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "set +e\nset +u\n# Sets the target folders and the final framework product.\nFMK_VERSION=A\n\n# Install dir will be the final output to the framework.\n# The following line create it in the root folder of the current project.\nINSTALL_DIR=\"${PROJECT_DIR}/../../../Targets/universal-apple-ios/${CONFIGURATION}/${PRODUCT_NAME}.framework\"\n\n# Working dir will be deleted after the framework creation.\necho ${BUILD_DIR}\nDEVICE_DIR=\"${BUILD_DIR}/${CONFIGURATION}-iphoneos/${PRODUCT_NAME}.framework\"\nSIMULATOR_DIR=\"${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/${PRODUCT_NAME}.framework\"\n\n# Cleaning the working dirs.\nif [ -d \"${DEVICE_DIR}\" ]\nthen\nrm -rf \"${DEVICE_DIR}\"\nfi\nif [ -d \"${SIMULATOR_DIR}\" ]\nthen\nrm -rf \"${SIMULATOR_DIR}\"\nfi\n\n# Building both iphone and simulator architectures.\nxcodebuild -project \"${PROJECT_FILE_PATH}\" -configuration \"${CONFIGURATION}\" -target \"Platinum-iPhone-Framework\" -sdk iphoneos BUILD_DIR=\"${BUILD_DIR}\" CONFIGURATION_TEMP_DIR=\"${PROJECT_TEMP_DIR}/${CONFIGURATION}-iphoneos\"\nxcodebuild -project \"${PROJECT_FILE_PATH}\" -configuration \"${CONFIGURATION}\" -target \"Platinum-iPhone-Framework\" -sdk iphonesimulator BUILD_DIR=\"${BUILD_DIR}\" CONFIGURATION_TEMP_DIR=\"${PROJECT_TEMP_DIR}/${CONFIGURATION}-iphonesimulator\"\n\n# Cleaning the oldest.\nif [ -d \"${INSTALL_DIR}\" ]\nthen\nrm -rf \"${INSTALL_DIR}\"\nfi\n\n# Creates and renews the final product folder.\nmkdir -p \"${INSTALL_DIR}/Versions\"\nmkdir -p \"${INSTALL_DIR}/Versions/${FMK_VERSION}\"\nmkdir -p \"${INSTALL_DIR}/Versions/${FMK_VERSION}/Resources\"\nmkdir -p \"${INSTALL_DIR}/Versions/${FMK_VERSION}/Headers\"\n\n# Creates the internal links.\n# It MUST uses relative path, otherwise will not work when the folder is copied/moved.\nln -s \"${FMK_VERSION}\" \"${INSTALL_DIR}/Versions/Current\"\nln -s \"Versions/Current/Headers\" \"${INSTALL_DIR}/Headers\"\nln -s \"Versions/Current/Resources\" \"${INSTALL_DIR}/Resources\"\nln -s \"Versions/Current/${PRODUCT_NAME}\" \"${INSTALL_DIR}/${PRODUCT_NAME}\"\n\n# Copies the headers and resources files to the final product folder.\ncp -Rf \"${DEVICE_DIR}/Headers/\" \"${INSTALL_DIR}/Versions/${FMK_VERSION}/Headers/\"\ncp -Rf \"${DEVICE_DIR}/\" \"${INSTALL_DIR}/Versions/${FMK_VERSION}/Resources/\"\n\n# Removes the binary and header from the resources folder. \"${INSTALL_DIR}/Versions/${FMK_VERSION}/Resources/Versions\"\nrm -rf \"${INSTALL_DIR}/Versions/${FMK_VERSION}/Resources/Headers\" \"${INSTALL_DIR}/Versions/${FMK_VERSION}/Resources/${PRODUCT_NAME}\"\n\n# Uses the Lipo Tool to merge both binary files (i386 + armv7/armv7s) into one Universal final product.\nlipo -create \"${DEVICE_DIR}/${PRODUCT_NAME}\" \"${SIMULATOR_DIR}/${PRODUCT_NAME}\" -output \"${INSTALL_DIR}/Versions/${FMK_VERSION}/${PRODUCT_NAME}\"\n\nset -u"; - showEnvVarsInLog = 0; - }; - E48F8A791632007E009E46A5 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "mkdir -p \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\"\ncp -Rp \"${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E496AA0D146A4D320034BBAE /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "mkdir -p \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\"\ncp -Rp \"${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4B95F7914465DC500DBBF49 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "rm -rf \"${PROJECT_DIR}/../../../Targets/universal-apple-macosx/${CONFIGURATION}/${FULL_PRODUCT_NAME}\"\nmkdir -p \"${PROJECT_DIR}/../../../Targets/universal-apple-macosx/${CONFIGURATION}\"\ncp -Rfp \"${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-macosx/${CONFIGURATION}\""; - }; - E4D8752B144776B700CCB1B4 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "mkdir -p \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\"\ncp -Rp \"${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4FFCFEF143ADFF6001F4662 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4FFCFF0143ADFFF001F4662 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4FFCFF1143AE006001F4662 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4FFCFF2143AE00D001F4662 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4FFCFF3143AE014001F4662 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4FFCFF4143AE01B001F4662 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4FFCFF5143AE020001F4662 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4FFCFF6143AE025001F4662 /* ShellScript */ = { + E4B2A5A41FC8F8EB00C891D7 /* Copy Products to Carthage/Build/iOS */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); + name = "Copy Products to Carthage/Build/iOS"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; + shellScript = "build_dir=\"$SRCROOT/../../../Carthage/Build\"\n\n# Only copy when the Carthage/Build directory is a symlink\nif ! [ -L \"$build_dir\" ]; then exit 0; fi\n\nrsync --delete -av \"$BUILT_PRODUCTS_DIR/$PRODUCT_NAME\"* \"$build_dir/iOS\""; }; - E4FFCFF7143AE02A001F4662 /* ShellScript */ = { + E4B2A5A51FC8F8F100C891D7 /* Copy Products to Carthage/Build/iOS */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); + name = "Copy Products to Carthage/Build/iOS"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; + shellScript = "build_dir=\"$SRCROOT/../../../Carthage/Build\"\n\n# Only copy when the Carthage/Build directory is a symlink\nif ! [ -L \"$build_dir\" ]; then exit 0; fi\n\nrsync --delete -av \"$BUILT_PRODUCTS_DIR/$PRODUCT_NAME\"* \"$build_dir/Mac\""; }; - E4FFCFF8143AE030001F4662 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "cp -Rp \"${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; - }; - E4FFCFF9143AE042001F4662 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E410161C1ACFA826000E994F /* Sources */ = { + isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - ); - inputPaths = ( - ); - outputPaths = ( + E410168B1ACFA8B9000E994F /* PltMediaServerObject.mm in Sources */, + E41016941ACFA8B9000E994F /* PltFrameServer.cpp in Sources */, + E410169C1ACFA8B9000E994F /* PltRingBufferStream.cpp in Sources */, + E41016531ACFA858000E994F /* PltHttp.cpp in Sources */, + E410164F1ACFA858000E994F /* PltDeviceHost.cpp in Sources */, + E41016751ACFA893000E994F /* PltMediaController.cpp in Sources */, + E410165E1ACFA858000E994F /* PltProtocolInfo.cpp in Sources */, + E41016471ACFA858000E994F /* PltCtrlPoint.cpp in Sources */, + E410166F1ACFA887000E994F /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */, + E41016731ACFA893000E994F /* RdrConnectionManagerSCPD.cpp in Sources */, + E41016901ACFA8B9000E994F /* PltStreamPump.cpp in Sources */, + E41016741ACFA893000E994F /* RenderingControlSCPD.cpp in Sources */, + E41016841ACFA8A1000E994F /* PltMediaItem.cpp in Sources */, + E41016771ACFA893000E994F /* PltMediaRenderer.cpp in Sources */, + E410167E1ACFA8A1000E994F /* PltFileMediaServer.cpp in Sources */, + E410167C1ACFA8A1000E994F /* PltDidl.cpp in Sources */, + E410164B1ACFA858000E994F /* PltDatagramStream.cpp in Sources */, + E41016681ACFA858000E994F /* PltThreadTask.cpp in Sources */, + E41016491ACFA858000E994F /* PltCtrlPointTask.cpp in Sources */, + E41016961ACFA8B9000E994F /* PltFrameStream.cpp in Sources */, + E410167B1ACFA8A1000E994F /* ContentDirectorywSearchSCPD.cpp in Sources */, + E410169A1ACFA8B9000E994F /* PltMetadataHandler.cpp in Sources */, + E410166A1ACFA858000E994F /* PltUPnP.cpp in Sources */, + E41016511ACFA858000E994F /* PltEvent.cpp in Sources */, + E41016591ACFA858000E994F /* PltHttpServerTask.cpp in Sources */, + E410168E1ACFA8B9000E994F /* PltDownloader.cpp in Sources */, + E41016551ACFA858000E994F /* PltHttpClientTask.cpp in Sources */, + E41016701ACFA887000E994F /* PltMediaConnect.cpp in Sources */, + E41016801ACFA8A1000E994F /* PltMediaBrowser.cpp in Sources */, + E410166D1ACFA887000E994F /* PltXbox360.cpp in Sources */, + E41016721ACFA893000E994F /* AVTransportSCPD.cpp in Sources */, + E41016981ACFA8B9000E994F /* PltLeaks.cpp in Sources */, + E41016661ACFA858000E994F /* PltTaskManager.cpp in Sources */, + E41016821ACFA8A1000E994F /* PltMediaCache.cpp in Sources */, + E41016411ACFA858000E994F /* PltAction.cpp in Sources */, + E41016621ACFA858000E994F /* PltSsdp.cpp in Sources */, + E410165B1ACFA858000E994F /* PltIconsData.cpp in Sources */, + E41016431ACFA858000E994F /* PltArgument.cpp in Sources */, + E41016921ACFA8B9000E994F /* PltFrameBuffer.cpp in Sources */, + E41016571ACFA858000E994F /* PltHttpServer.cpp in Sources */, + E41016641ACFA858000E994F /* PltStateVariable.cpp in Sources */, + E41016861ACFA8A1000E994F /* PltMediaServer.cpp in Sources */, + E41016881ACFA8A1000E994F /* PltSyncMediaBrowser.cpp in Sources */, + E410164D1ACFA858000E994F /* PltDeviceData.cpp in Sources */, + E41016451ACFA858000E994F /* PltConstants.cpp in Sources */, + E41016791ACFA8A1000E994F /* ContentDirectorySCPD.cpp in Sources */, + E410168D1ACFA8B9000E994F /* PltUPnPObject.mm in Sources */, + E41016601ACFA858000E994F /* PltService.cpp in Sources */, + E410165C1ACFA858000E994F /* PltMimeType.cpp in Sources */, + E410167A1ACFA8A1000E994F /* ConnectionManagerSCPD.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "rm -rf \"${PROJECT_DIR}/../../../Targets/universal-apple-macosx/${CONFIGURATION}/${FULL_PRODUCT_NAME}\"\ncp -Rfp \"${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME}\" \"${PROJECT_DIR}/../../../Targets/universal-apple-${PLATFORM_NAME}/${CONFIGURATION}\""; }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ E423F35E18415DC500E24E39 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -4168,605 +2018,80 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - E46E0E1614482FCB00CE9E65 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E457AC2F144AA48D00C34B69 /* NptCrypto.cpp in Sources */, - E457ADA4144AA4A000C34B69 /* aes.c in Sources */, - E457ADA7144AA4A000C34B69 /* bigint.c in Sources */, - E457ADB3144AA4A000C34B69 /* crypto_misc.c in Sources */, - E457ADB6144AA4A000C34B69 /* hmac.c in Sources */, - E457ADB9144AA4A000C34B69 /* md2.c in Sources */, - E457ADBC144AA4A000C34B69 /* md5.c in Sources */, - E457ADBF144AA4A000C34B69 /* rc4.c in Sources */, - E457ADC2144AA4A000C34B69 /* rsa.c in Sources */, - E457ADC5144AA4A000C34B69 /* sha1.c in Sources */, - E457ADC8144AA4A000C34B69 /* asn1.c in Sources */, - E457ADD1144AA4A000C34B69 /* gen_cert.c in Sources */, - E457ADD4144AA4A000C34B69 /* loader.c in Sources */, - E457ADDA144AA4A000C34B69 /* p12.c in Sources */, - E457ADE0144AA4A000C34B69 /* tls1.c in Sources */, - E457ADE6144AA4A000C34B69 /* tls1_clnt.c in Sources */, - E457ADE9144AA4A000C34B69 /* tls1_svr.c in Sources */, - E457ADEF144AA4A000C34B69 /* x509.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E48F89F51632007E009E46A5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E43E5FFF163FAFBC008A39D8 /* NptAppleLogConfig.mm in Sources */, - E48F89F61632007E009E46A5 /* PltAction.cpp in Sources */, - E48F89F71632007E009E46A5 /* PltArgument.cpp in Sources */, - E48F89F81632007E009E46A5 /* PltConstants.cpp in Sources */, - E48F89F91632007E009E46A5 /* PltCtrlPoint.cpp in Sources */, - E48F89FA1632007E009E46A5 /* PltCtrlPointTask.cpp in Sources */, - E48F89FB1632007E009E46A5 /* PltDatagramStream.cpp in Sources */, - E48F89FC1632007E009E46A5 /* PltDeviceData.cpp in Sources */, - E48F89FD1632007E009E46A5 /* PltDeviceHost.cpp in Sources */, - E48F89FE1632007E009E46A5 /* PltDidl.cpp in Sources */, - E48F89FF1632007E009E46A5 /* PltEvent.cpp in Sources */, - E48F8A001632007E009E46A5 /* PltFileMediaServer.cpp in Sources */, - E48F8A011632007E009E46A5 /* PltHttp.cpp in Sources */, - E48F8A021632007E009E46A5 /* PltHttpClientTask.cpp in Sources */, - E48F8A031632007E009E46A5 /* PltHttpServer.cpp in Sources */, - E48F8A041632007E009E46A5 /* PltHttpServerTask.cpp in Sources */, - E48F8A051632007E009E46A5 /* PltIconsData.cpp in Sources */, - E48F8A061632007E009E46A5 /* PltMediaBrowser.cpp in Sources */, - E48F8A071632007E009E46A5 /* PltMediaCache.cpp in Sources */, - E48F8A081632007E009E46A5 /* PltMediaController.cpp in Sources */, - E48F8A091632007E009E46A5 /* PltMediaItem.cpp in Sources */, - E48F8A0A1632007E009E46A5 /* PltMediaRenderer.cpp in Sources */, - E48F8A0B1632007E009E46A5 /* PltMediaServer.cpp in Sources */, - E48F8A0C1632007E009E46A5 /* PltService.cpp in Sources */, - E48F8A0D1632007E009E46A5 /* PltSsdp.cpp in Sources */, - E48F8A0E1632007E009E46A5 /* PltStateVariable.cpp in Sources */, - E48F8A0F1632007E009E46A5 /* PltSyncMediaBrowser.cpp in Sources */, - E48F8A101632007E009E46A5 /* PltTaskManager.cpp in Sources */, - E48F8A111632007E009E46A5 /* PltThreadTask.cpp in Sources */, - E48F8A121632007E009E46A5 /* PltUPnP.cpp in Sources */, - E48F8A131632007E009E46A5 /* AVTransportSCPD.cpp in Sources */, - E48F8A141632007E009E46A5 /* RdrConnectionManagerSCPD.cpp in Sources */, - E48F8A151632007E009E46A5 /* RenderingControlSCPD.cpp in Sources */, - E48F8A161632007E009E46A5 /* ConnectionManagerSCPD.cpp in Sources */, - E48F8A171632007E009E46A5 /* ContentDirectorywSearchSCPD.cpp in Sources */, - E48F8A181632007E009E46A5 /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */, - E48F8A191632007E009E46A5 /* PltXbox360.cpp in Sources */, - E48F8A1A1632007E009E46A5 /* PltMediaConnect.cpp in Sources */, - E48F8A1B1632007E009E46A5 /* PltFrameBuffer.cpp in Sources */, - E48F8A1C1632007E009E46A5 /* PltFrameServer.cpp in Sources */, - E48F8A1D1632007E009E46A5 /* PltFrameStream.cpp in Sources */, - E48F8A1E1632007E009E46A5 /* PltLeaks.cpp in Sources */, - E48F8A1F1632007E009E46A5 /* PltMetadataHandler.cpp in Sources */, - E48F8A201632007E009E46A5 /* PltRingBufferStream.cpp in Sources */, - E48F8A211632007E009E46A5 /* PltDownloader.cpp in Sources */, - E48F8A221632007E009E46A5 /* PltStreamPump.cpp in Sources */, - E48F8A231632007E009E46A5 /* PltMediaServerObject.mm in Sources */, - E48F8A241632007E009E46A5 /* PltUPnPObject.mm in Sources */, - E48F8A251632007E009E46A5 /* ContentDirectorySCPD.cpp in Sources */, - E48F8A261632007E009E46A5 /* PltProtocolInfo.cpp in Sources */, - E48F8A271632007E009E46A5 /* PltMimeType.cpp in Sources */, - E48F8A281632007E009E46A5 /* NptTlsDefaultTrustAnchorsBase.cpp in Sources */, - E48F8A291632007E009E46A5 /* NptTlsDefaultTrustAnchorsExtended.cpp in Sources */, - E48F8A2A1632007E009E46A5 /* NptHash.cpp in Sources */, - E48F8A2B1632007E009E46A5 /* NptCrypto.cpp in Sources */, - E48F8A2C1632007E009E46A5 /* NptDigest.cpp in Sources */, - E48F8A2D1632007E009E46A5 /* NptResults.cpp in Sources */, - E48F8A2E1632007E009E46A5 /* NptTls.cpp in Sources */, - E48F8A2F1632007E009E46A5 /* NptDynamicLibraries.cpp in Sources */, - E48F8A301632007E009E46A5 /* Neptune.cpp in Sources */, - E48F8A311632007E009E46A5 /* NptBase64.cpp in Sources */, - E48F8A321632007E009E46A5 /* NptBufferedStreams.cpp in Sources */, - E48F8A331632007E009E46A5 /* NptCommon.cpp in Sources */, - E48F8A341632007E009E46A5 /* NptConsole.cpp in Sources */, - E48F8A351632007E009E46A5 /* NptDataBuffer.cpp in Sources */, - E48F8A361632007E009E46A5 /* NptDebug.cpp in Sources */, - E48F8A371632007E009E46A5 /* NptFile.cpp in Sources */, - E48F8A381632007E009E46A5 /* NptHttp.cpp in Sources */, - E48F8A391632007E009E46A5 /* NptList.cpp in Sources */, - E48F8A3A1632007E009E46A5 /* NptLogging.cpp in Sources */, - E48F8A3B1632007E009E46A5 /* NptMessaging.cpp in Sources */, - E48F8A3C1632007E009E46A5 /* NptNetwork.cpp in Sources */, - E48F8A3D1632007E009E46A5 /* NptQueue.cpp in Sources */, - E48F8A3E1632007E009E46A5 /* NptRingBuffer.cpp in Sources */, - E48F8A3F1632007E009E46A5 /* NptSimpleMessageQueue.cpp in Sources */, - E48F8A401632007E009E46A5 /* NptSockets.cpp in Sources */, - E48F8A411632007E009E46A5 /* NptStreams.cpp in Sources */, - E48F8A421632007E009E46A5 /* NptStrings.cpp in Sources */, - E48F8A431632007E009E46A5 /* NptSystem.cpp in Sources */, - E48F8A441632007E009E46A5 /* NptThreads.cpp in Sources */, - E48F8A451632007E009E46A5 /* NptTime.cpp in Sources */, - E48F8A461632007E009E46A5 /* NptUri.cpp in Sources */, - E48F8A471632007E009E46A5 /* NptUtils.cpp in Sources */, - E48F8A481632007E009E46A5 /* NptXml.cpp in Sources */, - E48F8A491632007E009E46A5 /* NptZip.cpp in Sources */, - E48F8A4A1632007E009E46A5 /* NptCocoaConsole.mm in Sources */, - E48F8A4B1632007E009E46A5 /* NptCocoaMessageQueue.mm in Sources */, - E48F8A4C1632007E009E46A5 /* NptNullSerialPort.cpp in Sources */, - E48F8A4D1632007E009E46A5 /* NptBsdResolver.cpp in Sources */, - E48F8A4E1632007E009E46A5 /* NptBsdNetwork.cpp in Sources */, - E48F8A4F1632007E009E46A5 /* NptBsdSockets.cpp in Sources */, - E48F8A501632007E009E46A5 /* NptPosixTime.cpp in Sources */, - E48F8A511632007E009E46A5 /* NptPosixDynamicLibraries.cpp in Sources */, - E48F8A521632007E009E46A5 /* NptPosixNetwork.cpp in Sources */, - E48F8A531632007E009E46A5 /* NptPosixFile.cpp in Sources */, - E48F8A541632007E009E46A5 /* NptPosixQueue.cpp in Sources */, - E48F8A551632007E009E46A5 /* NptPosixSystem.cpp in Sources */, - E48F8A561632007E009E46A5 /* NptPosixThreads.cpp in Sources */, - E48F8A571632007E009E46A5 /* NptSelectableMessageQueue.cpp in Sources */, - E48F8A581632007E009E46A5 /* NptStdcDebug.cpp in Sources */, - E48F8A591632007E009E46A5 /* NptStdcEnvironment.cpp in Sources */, - E48F8A5A1632007E009E46A5 /* NptStdcFile.cpp in Sources */, - E48F8A5B1632007E009E46A5 /* aes.c in Sources */, - E48F8A5C1632007E009E46A5 /* bigint.c in Sources */, - E48F8A5D1632007E009E46A5 /* crypto_misc.c in Sources */, - E48F8A5E1632007E009E46A5 /* hmac.c in Sources */, - E48F8A5F1632007E009E46A5 /* md2.c in Sources */, - E48F8A601632007E009E46A5 /* md5.c in Sources */, - E48F8A611632007E009E46A5 /* rc4.c in Sources */, - E48F8A621632007E009E46A5 /* rsa.c in Sources */, - E48F8A631632007E009E46A5 /* sha1.c in Sources */, - E48F8A641632007E009E46A5 /* asn1.c in Sources */, - E48F8A651632007E009E46A5 /* gen_cert.c in Sources */, - E48F8A661632007E009E46A5 /* loader.c in Sources */, - E48F8A671632007E009E46A5 /* p12.c in Sources */, - E48F8A681632007E009E46A5 /* tls1.c in Sources */, - E48F8A691632007E009E46A5 /* tls1_clnt.c in Sources */, - E48F8A6A1632007E009E46A5 /* tls1_svr.c in Sources */, - E48F8A6B1632007E009E46A5 /* x509.c in Sources */, - E48F8A6C1632007E009E46A5 /* compress.c in Sources */, - E48F8A6D1632007E009E46A5 /* adler32.c in Sources */, - E48F8A6E1632007E009E46A5 /* crc32.c in Sources */, - E48F8A6F1632007E009E46A5 /* deflate.c in Sources */, - E48F8A701632007E009E46A5 /* infback.c in Sources */, - E48F8A711632007E009E46A5 /* inffast.c in Sources */, - E48F8A721632007E009E46A5 /* inflate.c in Sources */, - E48F8A731632007E009E46A5 /* inftrees.c in Sources */, - E48F8A741632007E009E46A5 /* trees.c in Sources */, - E48F8A751632007E009E46A5 /* zutil.c in Sources */, - E48F8A761632007E009E46A5 /* NptAppleAutoreleasePool.mm in Sources */, - E48F8A771632007E009E46A5 /* NptCocoaEnviroment.mm in Sources */, - E4A6CA9D1724AEBD003A8778 /* NptAutomaticCleaner.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E496A989146A4D320034BBAE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - E43E6000163FAFC7008A39D8 /* NptAppleLogConfig.mm in Sources */, - E496A98A146A4D320034BBAE /* PltAction.cpp in Sources */, - E496A98B146A4D320034BBAE /* PltArgument.cpp in Sources */, - E496A98C146A4D320034BBAE /* PltConstants.cpp in Sources */, - E496A98D146A4D320034BBAE /* PltCtrlPoint.cpp in Sources */, - E496A98E146A4D320034BBAE /* PltCtrlPointTask.cpp in Sources */, - E496A98F146A4D320034BBAE /* PltDatagramStream.cpp in Sources */, - E496A990146A4D320034BBAE /* PltDeviceData.cpp in Sources */, - E496A991146A4D320034BBAE /* PltDeviceHost.cpp in Sources */, - E496A992146A4D320034BBAE /* PltDidl.cpp in Sources */, - E496A993146A4D320034BBAE /* PltEvent.cpp in Sources */, - E496A994146A4D320034BBAE /* PltFileMediaServer.cpp in Sources */, - E496A995146A4D320034BBAE /* PltHttp.cpp in Sources */, - E496A996146A4D320034BBAE /* PltHttpClientTask.cpp in Sources */, - E496A997146A4D320034BBAE /* PltHttpServer.cpp in Sources */, - E496A998146A4D320034BBAE /* PltHttpServerTask.cpp in Sources */, - E496A999146A4D320034BBAE /* PltIconsData.cpp in Sources */, - E496A99A146A4D320034BBAE /* PltMediaBrowser.cpp in Sources */, - E496A99B146A4D320034BBAE /* PltMediaCache.cpp in Sources */, - E496A99C146A4D320034BBAE /* PltMediaController.cpp in Sources */, - E496A99D146A4D320034BBAE /* PltMediaItem.cpp in Sources */, - E496A99E146A4D320034BBAE /* PltMediaRenderer.cpp in Sources */, - E496A99F146A4D320034BBAE /* PltMediaServer.cpp in Sources */, - E496A9A0146A4D320034BBAE /* PltService.cpp in Sources */, - E496A9A1146A4D320034BBAE /* PltSsdp.cpp in Sources */, - E496A9A2146A4D320034BBAE /* PltStateVariable.cpp in Sources */, - E496A9A3146A4D320034BBAE /* PltSyncMediaBrowser.cpp in Sources */, - E496A9A4146A4D320034BBAE /* PltTaskManager.cpp in Sources */, - E496A9A5146A4D320034BBAE /* PltThreadTask.cpp in Sources */, - E496A9A6146A4D320034BBAE /* PltUPnP.cpp in Sources */, - E496A9A7146A4D320034BBAE /* AVTransportSCPD.cpp in Sources */, - E496A9A8146A4D320034BBAE /* RdrConnectionManagerSCPD.cpp in Sources */, - E496A9A9146A4D320034BBAE /* RenderingControlSCPD.cpp in Sources */, - E496A9AA146A4D320034BBAE /* ConnectionManagerSCPD.cpp in Sources */, - E496A9AB146A4D320034BBAE /* ContentDirectorywSearchSCPD.cpp in Sources */, - E496A9AC146A4D320034BBAE /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */, - E496A9AD146A4D320034BBAE /* PltXbox360.cpp in Sources */, - E496A9AE146A4D320034BBAE /* PltMediaConnect.cpp in Sources */, - E496A9AF146A4D320034BBAE /* PltFrameBuffer.cpp in Sources */, - E496A9B0146A4D320034BBAE /* PltFrameServer.cpp in Sources */, - E496A9B1146A4D320034BBAE /* PltFrameStream.cpp in Sources */, - E496A9B2146A4D320034BBAE /* PltLeaks.cpp in Sources */, - E496A9B3146A4D320034BBAE /* PltMetadataHandler.cpp in Sources */, - E496A9B4146A4D320034BBAE /* PltRingBufferStream.cpp in Sources */, - E496A9B5146A4D320034BBAE /* PltDownloader.cpp in Sources */, - E496A9B6146A4D320034BBAE /* PltStreamPump.cpp in Sources */, - E496A9B7146A4D320034BBAE /* PltMediaServerObject.mm in Sources */, - E496A9B8146A4D320034BBAE /* PltUPnPObject.mm in Sources */, - E496A9B9146A4D320034BBAE /* ContentDirectorySCPD.cpp in Sources */, - E496A9BA146A4D320034BBAE /* PltProtocolInfo.cpp in Sources */, - E496A9BB146A4D320034BBAE /* PltMimeType.cpp in Sources */, - E496A9BC146A4D320034BBAE /* NptTlsDefaultTrustAnchorsBase.cpp in Sources */, - E496A9BD146A4D320034BBAE /* NptTlsDefaultTrustAnchorsExtended.cpp in Sources */, - E496A9BE146A4D320034BBAE /* NptHash.cpp in Sources */, - E496A9BF146A4D320034BBAE /* NptCrypto.cpp in Sources */, - E496A9C0146A4D320034BBAE /* NptDigest.cpp in Sources */, - E496A9C1146A4D320034BBAE /* NptResults.cpp in Sources */, - E496A9C2146A4D320034BBAE /* NptTls.cpp in Sources */, - E496A9C3146A4D320034BBAE /* NptDynamicLibraries.cpp in Sources */, - E496A9C4146A4D320034BBAE /* Neptune.cpp in Sources */, - E496A9C5146A4D320034BBAE /* NptBase64.cpp in Sources */, - E496A9C6146A4D320034BBAE /* NptBufferedStreams.cpp in Sources */, - E496A9C7146A4D320034BBAE /* NptCommon.cpp in Sources */, - E496A9C8146A4D320034BBAE /* NptConsole.cpp in Sources */, - E496A9C9146A4D320034BBAE /* NptDataBuffer.cpp in Sources */, - E496A9CA146A4D320034BBAE /* NptDebug.cpp in Sources */, - E496A9CB146A4D320034BBAE /* NptFile.cpp in Sources */, - E496A9CC146A4D320034BBAE /* NptHttp.cpp in Sources */, - E496A9CD146A4D320034BBAE /* NptList.cpp in Sources */, - E496A9CE146A4D320034BBAE /* NptLogging.cpp in Sources */, - E496A9CF146A4D320034BBAE /* NptMessaging.cpp in Sources */, - E496A9D0146A4D320034BBAE /* NptNetwork.cpp in Sources */, - E496A9D1146A4D320034BBAE /* NptQueue.cpp in Sources */, - E496A9D2146A4D320034BBAE /* NptRingBuffer.cpp in Sources */, - E496A9D3146A4D320034BBAE /* NptSimpleMessageQueue.cpp in Sources */, - E496A9D4146A4D320034BBAE /* NptSockets.cpp in Sources */, - E496A9D5146A4D320034BBAE /* NptStreams.cpp in Sources */, - E496A9D6146A4D320034BBAE /* NptStrings.cpp in Sources */, - E496A9D7146A4D320034BBAE /* NptSystem.cpp in Sources */, - E496A9D8146A4D320034BBAE /* NptThreads.cpp in Sources */, - E496A9D9146A4D320034BBAE /* NptTime.cpp in Sources */, - E496A9DA146A4D320034BBAE /* NptUri.cpp in Sources */, - E496A9DB146A4D320034BBAE /* NptUtils.cpp in Sources */, - E496A9DC146A4D320034BBAE /* NptXml.cpp in Sources */, - E496A9DD146A4D320034BBAE /* NptZip.cpp in Sources */, - E496A9E0146A4D320034BBAE /* NptCocoaConsole.mm in Sources */, - E496A9E1146A4D320034BBAE /* NptCocoaMessageQueue.mm in Sources */, - E496A9E2146A4D320034BBAE /* NptNullSerialPort.cpp in Sources */, - E496A9E3146A4D320034BBAE /* NptBsdResolver.cpp in Sources */, - E496A9E4146A4D320034BBAE /* NptBsdNetwork.cpp in Sources */, - E496A9E5146A4D320034BBAE /* NptBsdSockets.cpp in Sources */, - E496A9E6146A4D320034BBAE /* NptPosixTime.cpp in Sources */, - E496A9E7146A4D320034BBAE /* NptPosixDynamicLibraries.cpp in Sources */, - E496A9E8146A4D320034BBAE /* NptPosixNetwork.cpp in Sources */, - E496A9E9146A4D320034BBAE /* NptPosixFile.cpp in Sources */, - E496A9EA146A4D320034BBAE /* NptPosixQueue.cpp in Sources */, - E496A9EB146A4D320034BBAE /* NptPosixSystem.cpp in Sources */, - E496A9EC146A4D320034BBAE /* NptPosixThreads.cpp in Sources */, - E496A9ED146A4D320034BBAE /* NptSelectableMessageQueue.cpp in Sources */, - E496A9EE146A4D320034BBAE /* NptStdcDebug.cpp in Sources */, - E496A9EF146A4D320034BBAE /* NptStdcEnvironment.cpp in Sources */, - E496A9F0146A4D320034BBAE /* NptStdcFile.cpp in Sources */, - E496A9F1146A4D320034BBAE /* aes.c in Sources */, - E496A9F2146A4D320034BBAE /* bigint.c in Sources */, - E496A9F3146A4D320034BBAE /* crypto_misc.c in Sources */, - E496A9F4146A4D320034BBAE /* hmac.c in Sources */, - E496A9F5146A4D320034BBAE /* md2.c in Sources */, - E496A9F6146A4D320034BBAE /* md5.c in Sources */, - E496A9F7146A4D320034BBAE /* rc4.c in Sources */, - E496A9F8146A4D320034BBAE /* rsa.c in Sources */, - E496A9F9146A4D320034BBAE /* sha1.c in Sources */, - E496A9FA146A4D320034BBAE /* asn1.c in Sources */, - E496A9FB146A4D320034BBAE /* gen_cert.c in Sources */, - E496A9FC146A4D320034BBAE /* loader.c in Sources */, - E496A9FD146A4D320034BBAE /* p12.c in Sources */, - E496A9FE146A4D320034BBAE /* tls1.c in Sources */, - E496A9FF146A4D320034BBAE /* tls1_clnt.c in Sources */, - E496AA00146A4D320034BBAE /* tls1_svr.c in Sources */, - E496AA01146A4D320034BBAE /* x509.c in Sources */, - E496AA02146A4D320034BBAE /* compress.c in Sources */, - E496AA03146A4D320034BBAE /* adler32.c in Sources */, - E496AA04146A4D320034BBAE /* crc32.c in Sources */, - E496AA05146A4D320034BBAE /* deflate.c in Sources */, - E496AA06146A4D320034BBAE /* infback.c in Sources */, - E496AA07146A4D320034BBAE /* inffast.c in Sources */, - E496AA08146A4D320034BBAE /* inflate.c in Sources */, - E496AA09146A4D320034BBAE /* inftrees.c in Sources */, - E496AA0A146A4D320034BBAE /* trees.c in Sources */, - E496AA0B146A4D320034BBAE /* zutil.c in Sources */, - E448216B151011270069F573 /* NptAppleAutoreleasePool.mm in Sources */, - E46E95B8153F9D2100ED95D5 /* NptCocoaEnviroment.mm in Sources */, - E4A6CA9C1724AEBC003A8778 /* NptAutomaticCleaner.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E4B95EC71446575700DBBF49 /* Sources */ = { + E44E2B241AE761220092347B /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - E43E5FFD163FAEF1008A39D8 /* NptStdcEnvironment.cpp in Sources */, - E43E5FDB163FAD74008A39D8 /* Neptune.cpp in Sources */, - E43E5FDC163FAD74008A39D8 /* NptBase64.cpp in Sources */, - E43E5FDD163FAD74008A39D8 /* NptBufferedStreams.cpp in Sources */, - E43E5FDE163FAD74008A39D8 /* NptCommon.cpp in Sources */, - E43E5FDF163FAD74008A39D8 /* NptConsole.cpp in Sources */, - E43E5FE0163FAD74008A39D8 /* NptCrypto.cpp in Sources */, - E43E5FE1163FAD74008A39D8 /* NptDataBuffer.cpp in Sources */, - E43E5FE2163FAD74008A39D8 /* NptDebug.cpp in Sources */, - E43E5FE3163FAD74008A39D8 /* NptDigest.cpp in Sources */, - E43E5FE4163FAD74008A39D8 /* NptDynamicLibraries.cpp in Sources */, - E43E5FE5163FAD74008A39D8 /* NptFile.cpp in Sources */, - E43E5FE6163FAD74008A39D8 /* NptHash.cpp in Sources */, - E43E5FE7163FAD74008A39D8 /* NptHttp.cpp in Sources */, - E43E5FE8163FAD74008A39D8 /* NptList.cpp in Sources */, - E43E5FE9163FAD74008A39D8 /* NptLogging.cpp in Sources */, - E43E5FEA163FAD74008A39D8 /* NptMessaging.cpp in Sources */, - E43E5FEB163FAD74008A39D8 /* NptNetwork.cpp in Sources */, - E43E5FEC163FAD74008A39D8 /* NptQueue.cpp in Sources */, - E43E5FED163FAD74008A39D8 /* NptResults.cpp in Sources */, - E43E5FEE163FAD74008A39D8 /* NptRingBuffer.cpp in Sources */, - E43E5FEF163FAD74008A39D8 /* NptSimpleMessageQueue.cpp in Sources */, - E43E5FF0163FAD74008A39D8 /* NptSockets.cpp in Sources */, - E43E5FF1163FAD74008A39D8 /* NptStreams.cpp in Sources */, - E43E5FF2163FAD74008A39D8 /* NptStrings.cpp in Sources */, - E43E5FF3163FAD74008A39D8 /* NptSystem.cpp in Sources */, - E43E5FF4163FAD74008A39D8 /* NptThreads.cpp in Sources */, - E43E5FF5163FAD74008A39D8 /* NptTime.cpp in Sources */, - E43E5FF6163FAD74008A39D8 /* NptTls.cpp in Sources */, - E43E5FF7163FAD74008A39D8 /* NptUri.cpp in Sources */, - E43E5FF8163FAD74008A39D8 /* NptUtils.cpp in Sources */, - E43E5FF9163FAD74008A39D8 /* NptXml.cpp in Sources */, - E43E5FFA163FAD74008A39D8 /* NptZip.cpp in Sources */, - E43E5FFB163FAD74008A39D8 /* NptTlsDefaultTrustAnchorsBase.cpp in Sources */, - E43E5FFC163FAD74008A39D8 /* NptTlsDefaultTrustAnchorsExtended.cpp in Sources */, - E43E5FAD163FAD47008A39D8 /* aes.c in Sources */, - E43E5FAE163FAD47008A39D8 /* bigint.c in Sources */, - E43E5FAF163FAD47008A39D8 /* crypto_misc.c in Sources */, - E43E5FB0163FAD47008A39D8 /* hmac.c in Sources */, - E43E5FB1163FAD47008A39D8 /* md2.c in Sources */, - E43E5FB2163FAD47008A39D8 /* md5.c in Sources */, - E43E5FB3163FAD47008A39D8 /* rc4.c in Sources */, - E43E5FB4163FAD47008A39D8 /* rsa.c in Sources */, - E43E5FB5163FAD47008A39D8 /* sha1.c in Sources */, - E43E5FB6163FAD47008A39D8 /* asn1.c in Sources */, - E43E5FB7163FAD47008A39D8 /* gen_cert.c in Sources */, - E43E5FB8163FAD47008A39D8 /* loader.c in Sources */, - E43E5FB9163FAD47008A39D8 /* p12.c in Sources */, - E43E5FBA163FAD47008A39D8 /* tls1.c in Sources */, - E43E5FBB163FAD47008A39D8 /* tls1_clnt.c in Sources */, - E43E5FBC163FAD47008A39D8 /* tls1_svr.c in Sources */, - E43E5FBD163FAD47008A39D8 /* x509.c in Sources */, - E43E5FBE163FAD47008A39D8 /* compress.c in Sources */, - E43E5FBF163FAD47008A39D8 /* adler32.c in Sources */, - E43E5FC0163FAD47008A39D8 /* crc32.c in Sources */, - E43E5FC1163FAD47008A39D8 /* deflate.c in Sources */, - E43E5FC2163FAD47008A39D8 /* infback.c in Sources */, - E43E5FC3163FAD47008A39D8 /* inffast.c in Sources */, - E43E5FC4163FAD47008A39D8 /* inflate.c in Sources */, - E43E5FC5163FAD47008A39D8 /* inftrees.c in Sources */, - E43E5FC6163FAD47008A39D8 /* trees.c in Sources */, - E43E5FC7163FAD47008A39D8 /* zutil.c in Sources */, - E43E5FC8163FAD47008A39D8 /* NptAppleAutoreleasePool.mm in Sources */, - E43E5FC9163FAD47008A39D8 /* NptAppleLogConfig.mm in Sources */, - E43E5FCA163FAD47008A39D8 /* NptCocoaEnviroment.mm in Sources */, - E43E5FCB163FAD47008A39D8 /* NptCocoaConsole.mm in Sources */, - E43E5FCC163FAD47008A39D8 /* NptCocoaMessageQueue.mm in Sources */, - E43E5FCD163FAD47008A39D8 /* NptBsdResolver.cpp in Sources */, - E43E5FCE163FAD47008A39D8 /* NptBsdNetwork.cpp in Sources */, - E43E5FCF163FAD47008A39D8 /* NptBsdSockets.cpp in Sources */, - E43E5FD1163FAD47008A39D8 /* NptPosixTime.cpp in Sources */, - E43E5FD2163FAD47008A39D8 /* NptPosixDynamicLibraries.cpp in Sources */, - E43E5FD3163FAD47008A39D8 /* NptPosixNetwork.cpp in Sources */, - E43E5FD4163FAD47008A39D8 /* NptPosixFile.cpp in Sources */, - E43E5FD5163FAD47008A39D8 /* NptPosixQueue.cpp in Sources */, - E43E5FD6163FAD47008A39D8 /* NptPosixSystem.cpp in Sources */, - E43E5FD7163FAD47008A39D8 /* NptPosixThreads.cpp in Sources */, - E43E5FD8163FAD47008A39D8 /* NptSelectableMessageQueue.cpp in Sources */, - E43E5FD9163FAD47008A39D8 /* NptStdcDebug.cpp in Sources */, - E43E5FDA163FAD47008A39D8 /* NptStdcFile.cpp in Sources */, - E43E5F91163FACE6008A39D8 /* PltXbox360.cpp in Sources */, - E43E5F92163FACE6008A39D8 /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */, - E43E5F93163FACE6008A39D8 /* PltMediaConnect.cpp in Sources */, - E43E5F94163FACE6008A39D8 /* AVTransportSCPD.cpp in Sources */, - E43E5F95163FACE6008A39D8 /* RdrConnectionManagerSCPD.cpp in Sources */, - E43E5F96163FACE6008A39D8 /* RenderingControlSCPD.cpp in Sources */, - E43E5F97163FACE6008A39D8 /* PltMediaController.cpp in Sources */, - E43E5F98163FACE6008A39D8 /* PltMediaRenderer.cpp in Sources */, - E43E5F99163FACE6008A39D8 /* ContentDirectorySCPD.cpp in Sources */, - E43E5F9A163FACE6008A39D8 /* ConnectionManagerSCPD.cpp in Sources */, - E43E5F9B163FACE6008A39D8 /* ContentDirectorywSearchSCPD.cpp in Sources */, - E43E5F9C163FACE6008A39D8 /* PltDidl.cpp in Sources */, - E43E5F9D163FACE6008A39D8 /* PltFileMediaServer.cpp in Sources */, - E43E5F9E163FACE6008A39D8 /* PltMediaBrowser.cpp in Sources */, - E43E5F9F163FACE6008A39D8 /* PltMediaCache.cpp in Sources */, - E43E5FA0163FACE6008A39D8 /* PltMediaItem.cpp in Sources */, - E43E5FA1163FACE6008A39D8 /* PltMediaServer.cpp in Sources */, - E43E5FA2163FACE6008A39D8 /* PltSyncMediaBrowser.cpp in Sources */, - E43E5FA3163FACE6008A39D8 /* PltMediaServerObject.mm in Sources */, - E43E5FA4163FACE6008A39D8 /* PltUPnPObject.mm in Sources */, - E43E5FA5163FACE6008A39D8 /* PltDownloader.cpp in Sources */, - E43E5FA6163FACE6008A39D8 /* PltStreamPump.cpp in Sources */, - E43E5FA7163FACE6008A39D8 /* PltFrameBuffer.cpp in Sources */, - E43E5FA8163FACE6008A39D8 /* PltFrameServer.cpp in Sources */, - E43E5FA9163FACE6008A39D8 /* PltFrameStream.cpp in Sources */, - E43E5FAA163FACE6008A39D8 /* PltLeaks.cpp in Sources */, - E43E5FAB163FACE6008A39D8 /* PltMetadataHandler.cpp in Sources */, - E43E5FAC163FACE6008A39D8 /* PltRingBufferStream.cpp in Sources */, - E43E5F65163FAC6C008A39D8 /* PltAction.cpp in Sources */, - E43E5F67163FAC6C008A39D8 /* PltArgument.cpp in Sources */, - E43E5F69163FAC6C008A39D8 /* PltConstants.cpp in Sources */, - E43E5F6B163FAC6C008A39D8 /* PltCtrlPoint.cpp in Sources */, - E43E5F6D163FAC6C008A39D8 /* PltCtrlPointTask.cpp in Sources */, - E43E5F6F163FAC6C008A39D8 /* PltDatagramStream.cpp in Sources */, - E43E5F71163FAC6C008A39D8 /* PltDeviceData.cpp in Sources */, - E43E5F73163FAC6D008A39D8 /* PltDeviceHost.cpp in Sources */, - E43E5F75163FAC6D008A39D8 /* PltEvent.cpp in Sources */, - E43E5F77163FAC6D008A39D8 /* PltHttp.cpp in Sources */, - E43E5F79163FAC6D008A39D8 /* PltHttpClientTask.cpp in Sources */, - E43E5F7B163FAC6D008A39D8 /* PltHttpServer.cpp in Sources */, - E43E5F7D163FAC6D008A39D8 /* PltHttpServerTask.cpp in Sources */, - E43E5F7F163FAC6D008A39D8 /* PltIconsData.cpp in Sources */, - E43E5F80163FAC6D008A39D8 /* PltMimeType.cpp in Sources */, - E43E5F82163FAC6D008A39D8 /* PltProtocolInfo.cpp in Sources */, - E43E5F84163FAC6D008A39D8 /* PltService.cpp in Sources */, - E43E5F86163FAC6D008A39D8 /* PltSsdp.cpp in Sources */, - E43E5F88163FAC6D008A39D8 /* PltStateVariable.cpp in Sources */, - E43E5F8A163FAC6D008A39D8 /* PltTaskManager.cpp in Sources */, - E43E5F8C163FAC6D008A39D8 /* PltThreadTask.cpp in Sources */, - E43E5F8E163FAC6D008A39D8 /* PltUPnP.cpp in Sources */, - E4A6CA9E1724AEC0003A8778 /* NptAutomaticCleaner.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E4D874F6144776B700CCB1B4 /* Sources */ = { + E44E2B251AE761220092347B /* PltMediaServerObject.mm in Sources */, + E44E2B261AE761220092347B /* PltFrameServer.cpp in Sources */, + E44E2B271AE761220092347B /* PltRingBufferStream.cpp in Sources */, + E44E2B281AE761220092347B /* PltHttp.cpp in Sources */, + E44E2B291AE761220092347B /* PltDeviceHost.cpp in Sources */, + E44E2B2A1AE761220092347B /* PltMediaController.cpp in Sources */, + E44E2B2B1AE761220092347B /* PltProtocolInfo.cpp in Sources */, + E44E2B2C1AE761220092347B /* PltCtrlPoint.cpp in Sources */, + E44E2B2D1AE761220092347B /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */, + E44E2B2E1AE761220092347B /* RdrConnectionManagerSCPD.cpp in Sources */, + E44E2B2F1AE761220092347B /* PltStreamPump.cpp in Sources */, + E44E2B301AE761220092347B /* RenderingControlSCPD.cpp in Sources */, + E44E2B311AE761220092347B /* PltMediaItem.cpp in Sources */, + E44E2B321AE761220092347B /* PltMediaRenderer.cpp in Sources */, + E44E2B331AE761220092347B /* PltFileMediaServer.cpp in Sources */, + E44E2B341AE761220092347B /* PltDidl.cpp in Sources */, + E44E2B351AE761220092347B /* PltDatagramStream.cpp in Sources */, + E44E2B361AE761220092347B /* PltThreadTask.cpp in Sources */, + E44E2B371AE761220092347B /* PltCtrlPointTask.cpp in Sources */, + E44E2B381AE761220092347B /* PltFrameStream.cpp in Sources */, + E44E2B391AE761220092347B /* ContentDirectorywSearchSCPD.cpp in Sources */, + E44E2B3A1AE761220092347B /* PltMetadataHandler.cpp in Sources */, + E44E2B3B1AE761220092347B /* PltUPnP.cpp in Sources */, + E44E2B3C1AE761220092347B /* PltEvent.cpp in Sources */, + E44E2B3D1AE761220092347B /* PltHttpServerTask.cpp in Sources */, + E44E2B3E1AE761220092347B /* PltDownloader.cpp in Sources */, + E44E2B3F1AE761220092347B /* PltHttpClientTask.cpp in Sources */, + E44E2B401AE761220092347B /* PltMediaConnect.cpp in Sources */, + E44E2B411AE761220092347B /* PltMediaBrowser.cpp in Sources */, + E44E2B421AE761220092347B /* PltXbox360.cpp in Sources */, + E44E2B431AE761220092347B /* AVTransportSCPD.cpp in Sources */, + E44E2B441AE761220092347B /* PltLeaks.cpp in Sources */, + E44E2B451AE761220092347B /* PltTaskManager.cpp in Sources */, + E44E2B461AE761220092347B /* PltMediaCache.cpp in Sources */, + E44E2B471AE761220092347B /* PltAction.cpp in Sources */, + E44E2B481AE761220092347B /* PltSsdp.cpp in Sources */, + E44E2B491AE761220092347B /* PltIconsData.cpp in Sources */, + E44E2B4A1AE761220092347B /* PltArgument.cpp in Sources */, + E44E2B4B1AE761220092347B /* PltFrameBuffer.cpp in Sources */, + E44E2B4C1AE761220092347B /* PltHttpServer.cpp in Sources */, + E44E2B4D1AE761220092347B /* PltStateVariable.cpp in Sources */, + E44E2B4E1AE761220092347B /* PltMediaServer.cpp in Sources */, + E44E2B4F1AE761220092347B /* PltSyncMediaBrowser.cpp in Sources */, + E44E2B501AE761220092347B /* PltDeviceData.cpp in Sources */, + E44E2B511AE761220092347B /* PltConstants.cpp in Sources */, + E44E2B521AE761220092347B /* ContentDirectorySCPD.cpp in Sources */, + E44E2B531AE761220092347B /* PltUPnPObject.mm in Sources */, + E44E2B541AE761220092347B /* PltService.cpp in Sources */, + E44E2B551AE761220092347B /* PltMimeType.cpp in Sources */, + E44E2B561AE761220092347B /* ConnectionManagerSCPD.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E45332A91AAED318004A52FD /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - E43E6001163FAFE7008A39D8 /* NptAppleAutoreleasePool.mm in Sources */, - E43E6002163FAFE7008A39D8 /* NptAppleLogConfig.mm in Sources */, - E43E6003163FAFE7008A39D8 /* NptCocoaEnviroment.mm in Sources */, - E43E6004163FAFE7008A39D8 /* NptCocoaConsole.mm in Sources */, - E4D874F7144776B700CCB1B4 /* PltAction.cpp in Sources */, - E4D874F8144776B700CCB1B4 /* PltArgument.cpp in Sources */, - E4D874F9144776B700CCB1B4 /* PltConstants.cpp in Sources */, - E4D874FA144776B700CCB1B4 /* PltCtrlPoint.cpp in Sources */, - E4D874FB144776B700CCB1B4 /* PltCtrlPointTask.cpp in Sources */, - E4D874FC144776B700CCB1B4 /* PltDatagramStream.cpp in Sources */, - E4D874FD144776B700CCB1B4 /* PltDeviceData.cpp in Sources */, - E4D874FE144776B700CCB1B4 /* PltDeviceHost.cpp in Sources */, - E4D874FF144776B700CCB1B4 /* PltDidl.cpp in Sources */, - E4D87500144776B700CCB1B4 /* PltEvent.cpp in Sources */, - E4D87501144776B700CCB1B4 /* PltFileMediaServer.cpp in Sources */, - E4D87502144776B700CCB1B4 /* PltHttp.cpp in Sources */, - E4D87503144776B700CCB1B4 /* PltHttpClientTask.cpp in Sources */, - E4D87504144776B700CCB1B4 /* PltHttpServer.cpp in Sources */, - E4D87505144776B700CCB1B4 /* PltHttpServerTask.cpp in Sources */, - E4D87506144776B700CCB1B4 /* PltIconsData.cpp in Sources */, - E4D87507144776B700CCB1B4 /* PltMediaBrowser.cpp in Sources */, - E4D87508144776B700CCB1B4 /* PltMediaCache.cpp in Sources */, - E4D87509144776B700CCB1B4 /* PltMediaController.cpp in Sources */, - E4D8750A144776B700CCB1B4 /* PltMediaItem.cpp in Sources */, - E4D8750B144776B700CCB1B4 /* PltMediaRenderer.cpp in Sources */, - E4D8750C144776B700CCB1B4 /* PltMediaServer.cpp in Sources */, - E4D8750D144776B700CCB1B4 /* PltService.cpp in Sources */, - E4D8750E144776B700CCB1B4 /* PltSsdp.cpp in Sources */, - E4D8750F144776B700CCB1B4 /* PltStateVariable.cpp in Sources */, - E4D87510144776B700CCB1B4 /* PltSyncMediaBrowser.cpp in Sources */, - E4D87511144776B700CCB1B4 /* PltTaskManager.cpp in Sources */, - E4D87512144776B700CCB1B4 /* PltThreadTask.cpp in Sources */, - E4D87513144776B700CCB1B4 /* PltUPnP.cpp in Sources */, - E4D87514144776B700CCB1B4 /* AVTransportSCPD.cpp in Sources */, - E4D87515144776B700CCB1B4 /* RdrConnectionManagerSCPD.cpp in Sources */, - E4D87516144776B700CCB1B4 /* RenderingControlSCPD.cpp in Sources */, - E4D87517144776B700CCB1B4 /* ConnectionManagerSCPD.cpp in Sources */, - E4D87518144776B700CCB1B4 /* ContentDirectorywSearchSCPD.cpp in Sources */, - E4D87519144776B700CCB1B4 /* X_MS_MediaReceiverRegistrarSCPD.cpp in Sources */, - E4D8751A144776B700CCB1B4 /* PltXbox360.cpp in Sources */, - E4D8751B144776B700CCB1B4 /* PltMediaConnect.cpp in Sources */, - E4D8751C144776B700CCB1B4 /* PltFrameBuffer.cpp in Sources */, - E4D8751D144776B700CCB1B4 /* PltFrameServer.cpp in Sources */, - E4D8751E144776B700CCB1B4 /* PltFrameStream.cpp in Sources */, - E4D8751F144776B700CCB1B4 /* PltLeaks.cpp in Sources */, - E4D87520144776B700CCB1B4 /* PltMetadataHandler.cpp in Sources */, - E4D87521144776B700CCB1B4 /* PltRingBufferStream.cpp in Sources */, - E4D87522144776B700CCB1B4 /* PltDownloader.cpp in Sources */, - E4D87523144776B700CCB1B4 /* PltStreamPump.cpp in Sources */, - E4D87524144776B700CCB1B4 /* PltMediaServerObject.mm in Sources */, - E4D87525144776B700CCB1B4 /* PltUPnPObject.mm in Sources */, - E4D87526144776B700CCB1B4 /* ContentDirectorySCPD.cpp in Sources */, - E4D87527144776B700CCB1B4 /* PltProtocolInfo.cpp in Sources */, - E4D87528144776B700CCB1B4 /* PltMimeType.cpp in Sources */, - E457ABD3144AA48100C34B69 /* NptTlsDefaultTrustAnchorsBase.cpp in Sources */, - E457ABD6144AA48100C34B69 /* NptTlsDefaultTrustAnchorsExtended.cpp in Sources */, - E457AC27144AA48D00C34B69 /* NptHash.cpp in Sources */, - E457AC2D144AA48D00C34B69 /* NptCrypto.cpp in Sources */, - E457AC33144AA48D00C34B69 /* NptDigest.cpp in Sources */, - E457AC3C144AA48D00C34B69 /* NptResults.cpp in Sources */, - E457AC3F144AA48D00C34B69 /* NptTls.cpp in Sources */, - E457AC45144AA48D00C34B69 /* NptDynamicLibraries.cpp in Sources */, - E457AC4E144AA48D00C34B69 /* Neptune.cpp in Sources */, - E457AC57144AA48D00C34B69 /* NptBase64.cpp in Sources */, - E457AC5D144AA48D00C34B69 /* NptBufferedStreams.cpp in Sources */, - E457AC63144AA48D00C34B69 /* NptCommon.cpp in Sources */, - E457AC6C144AA48D00C34B69 /* NptConsole.cpp in Sources */, - E457AC75144AA48D00C34B69 /* NptDataBuffer.cpp in Sources */, - E457AC7B144AA48D00C34B69 /* NptDebug.cpp in Sources */, - E457AC84144AA48D00C34B69 /* NptFile.cpp in Sources */, - E457AC8A144AA48D00C34B69 /* NptHttp.cpp in Sources */, - E457AC93144AA48D00C34B69 /* NptList.cpp in Sources */, - E457AC99144AA48D00C34B69 /* NptLogging.cpp in Sources */, - E457ACA2144AA48D00C34B69 /* NptMessaging.cpp in Sources */, - E457ACA8144AA48D00C34B69 /* NptNetwork.cpp in Sources */, - E457ACAE144AA48E00C34B69 /* NptQueue.cpp in Sources */, - E457ACBA144AA48E00C34B69 /* NptRingBuffer.cpp in Sources */, - E457ACC3144AA48E00C34B69 /* NptSimpleMessageQueue.cpp in Sources */, - E457ACC9144AA48E00C34B69 /* NptSockets.cpp in Sources */, - E457ACD2144AA48E00C34B69 /* NptStreams.cpp in Sources */, - E457ACD8144AA48E00C34B69 /* NptStrings.cpp in Sources */, - E457ACDE144AA48E00C34B69 /* NptSystem.cpp in Sources */, - E457ACE4144AA48E00C34B69 /* NptThreads.cpp in Sources */, - E457ACEA144AA48E00C34B69 /* NptTime.cpp in Sources */, - E457ACF3144AA48E00C34B69 /* NptUri.cpp in Sources */, - E457ACF9144AA48E00C34B69 /* NptUtils.cpp in Sources */, - E457AD02144AA48E00C34B69 /* NptXml.cpp in Sources */, - E457AD0B144AA48E00C34B69 /* NptZip.cpp in Sources */, - E457AD36144AA49500C34B69 /* NptCocoaMessageQueue.mm in Sources */, - E457AD39144AA49500C34B69 /* NptNullSerialPort.cpp in Sources */, - E457AD3C144AA49500C34B69 /* NptBsdResolver.cpp in Sources */, - E457AD3F144AA49500C34B69 /* NptBsdNetwork.cpp in Sources */, - E457AD42144AA49500C34B69 /* NptBsdSockets.cpp in Sources */, - E457AD45144AA49500C34B69 /* NptPosixTime.cpp in Sources */, - E457AD48144AA49500C34B69 /* NptPosixDynamicLibraries.cpp in Sources */, - E457AD4B144AA49500C34B69 /* NptPosixNetwork.cpp in Sources */, - E457AD4E144AA49500C34B69 /* NptPosixFile.cpp in Sources */, - E457AD51144AA49500C34B69 /* NptPosixQueue.cpp in Sources */, - E457AD54144AA49500C34B69 /* NptPosixSystem.cpp in Sources */, - E457AD57144AA49500C34B69 /* NptPosixThreads.cpp in Sources */, - E457AD5A144AA49500C34B69 /* NptSelectableMessageQueue.cpp in Sources */, - E457AD60144AA49500C34B69 /* NptStdcDebug.cpp in Sources */, - E457AD63144AA49500C34B69 /* NptStdcEnvironment.cpp in Sources */, - E457AD66144AA49500C34B69 /* NptStdcFile.cpp in Sources */, - E457ADA2144AA4A000C34B69 /* aes.c in Sources */, - E457ADA5144AA4A000C34B69 /* bigint.c in Sources */, - E457ADB1144AA4A000C34B69 /* crypto_misc.c in Sources */, - E457ADB4144AA4A000C34B69 /* hmac.c in Sources */, - E457ADB7144AA4A000C34B69 /* md2.c in Sources */, - E457ADBA144AA4A000C34B69 /* md5.c in Sources */, - E457ADBD144AA4A000C34B69 /* rc4.c in Sources */, - E457ADC0144AA4A000C34B69 /* rsa.c in Sources */, - E457ADC3144AA4A000C34B69 /* sha1.c in Sources */, - E457ADC6144AA4A000C34B69 /* asn1.c in Sources */, - E457ADCF144AA4A000C34B69 /* gen_cert.c in Sources */, - E457ADD2144AA4A000C34B69 /* loader.c in Sources */, - E457ADD8144AA4A000C34B69 /* p12.c in Sources */, - E457ADDE144AA4A000C34B69 /* tls1.c in Sources */, - E457ADE4144AA4A000C34B69 /* tls1_clnt.c in Sources */, - E457ADE7144AA4A000C34B69 /* tls1_svr.c in Sources */, - E457ADED144AA4A000C34B69 /* x509.c in Sources */, - E457ADF0144AA4A000C34B69 /* compress.c in Sources */, - E457ADF3144AA4A000C34B69 /* adler32.c in Sources */, - E457ADF6144AA4A000C34B69 /* crc32.c in Sources */, - E457ADFC144AA4A000C34B69 /* deflate.c in Sources */, - E457AE02144AA4A000C34B69 /* infback.c in Sources */, - E457AE05144AA4A000C34B69 /* inffast.c in Sources */, - E457AE0E144AA4A000C34B69 /* inflate.c in Sources */, - E457AE14144AA4A000C34B69 /* inftrees.c in Sources */, - E457AE1A144AA4A100C34B69 /* trees.c in Sources */, - E457AE26144AA4A100C34B69 /* zutil.c in Sources */, - E46E95B5153F92F100ED95D5 /* NptNullAutoreleasePool.cpp in Sources */, - E46E95BC153F9D3800ED95D5 /* NptStdcConsole.cpp in Sources */, - E4A6CA9B1724AEBC003A8778 /* NptAutomaticCleaner.cpp in Sources */, + E45332B81AAED318004A52FD /* ViewController.mm in Sources */, + E45332B51AAED318004A52FD /* AppDelegate.m in Sources */, + E45332B21AAED318004A52FD /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - E412ABB314478C240078A367 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E4B95ECB1446575700DBBF49 /* Platinum-MacOSX-Framework */; - targetProxy = E412ABB214478C240078A367 /* PBXContainerItemProxy */; - }; - E423F35C18415DC500E24E39 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E423F35D18415DC500E24E39 /* PBXContainerItemProxy */; - }; - E42BD4CF176BD26A00134F8A /* PBXTargetDependency */ = { + E41016371ACFA826000E994F /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E496A914146A4D320034BBAE /* Platinum-iPhone-Static */; - targetProxy = E42BD4CE176BD26A00134F8A /* PBXContainerItemProxy */; + target = E41016201ACFA826000E994F /* Platinum-iOS */; + targetProxy = E41016361ACFA826000E994F /* PBXContainerItemProxy */; }; E42D3B080FDC890F0045379C /* PBXTargetDependency */ = { isa = PBXTargetDependency; @@ -4828,87 +2153,89 @@ target = E43741FB123FFB9800000109 /* MediaServerCocoaTest */; targetProxy = E44470C012C31C1100E01480 /* PBXContainerItemProxy */; }; - E445E4CF14497BC400F221B3 /* PBXTargetDependency */ = { + E44E2BC31AE76D7B0092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E46E0E51144830AB00CE9E65 /* Platinum-iPhone-Framework-Universal */; - targetProxy = E445E4CE14497BC400F221B3 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BC21AE76D7B0092347B /* PBXContainerItemProxy */; }; - E445E4D914497BFA00F221B3 /* PBXTargetDependency */ = { + E44E2BD51AE7755C0092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E445E4C814497B8F00F221B3 /* All-iPhone */; - targetProxy = E445E4D814497BFA00F221B3 /* PBXContainerItemProxy */; + target = E41016201ACFA826000E994F /* Platinum-iOS */; + targetProxy = E44E2BD41AE7755C0092347B /* PBXContainerItemProxy */; }; - E459CC2811F82C7F00621896 /* PBXTargetDependency */ = { + E44E2BD71AE7755C0092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E459CC2111F82C3F00621896 /* Help */; - targetProxy = E459CC2711F82C7F00621896 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BD61AE7755C0092347B /* PBXContainerItemProxy */; }; - E488DDA31447EF93005E84BD /* PBXTargetDependency */ = { + E44E2BD91AE775600092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E4B95ECB1446575700DBBF49 /* Platinum-MacOSX-Framework */; - targetProxy = E488DDA21447EF93005E84BD /* PBXContainerItemProxy */; + target = E44E2BD01AE775510092347B /* Frameworks */; + targetProxy = E44E2BD81AE775600092347B /* PBXContainerItemProxy */; }; - E48F8A7F163200F6009E46A5 /* PBXTargetDependency */ = { + E44E2BDB1AE776060092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A7E163200F6009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BDA1AE776060092347B /* PBXContainerItemProxy */; }; - E48F8A821632010F009E46A5 /* PBXTargetDependency */ = { + E44E2BE11AE779130092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A811632010F009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BE01AE779130092347B /* PBXContainerItemProxy */; }; - E48F8A851632011A009E46A5 /* PBXTargetDependency */ = { + E44E2BE31AE7794D0092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A841632011A009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BE21AE7794D0092347B /* PBXContainerItemProxy */; }; - E48F8A8816320129009E46A5 /* PBXTargetDependency */ = { + E44E2BE51AE779520092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A8716320129009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BE41AE779520092347B /* PBXContainerItemProxy */; }; - E48F8A8B16320138009E46A5 /* PBXTargetDependency */ = { + E44E2BE71AE779580092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A8A16320138009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BE61AE779580092347B /* PBXContainerItemProxy */; }; - E48F8A8E16320143009E46A5 /* PBXTargetDependency */ = { + E44E2BE91AE7795C0092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A8D16320143009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BE81AE7795C0092347B /* PBXContainerItemProxy */; }; - E48F8A9116320151009E46A5 /* PBXTargetDependency */ = { + E44E2BEB1AE779600092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A9016320151009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BEA1AE779600092347B /* PBXContainerItemProxy */; }; - E48F8A941632015D009E46A5 /* PBXTargetDependency */ = { + E44E2BED1AE779640092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A931632015D009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BEC1AE779640092347B /* PBXContainerItemProxy */; }; - E48F8A9716320169009E46A5 /* PBXTargetDependency */ = { + E44E2BEF1AE779680092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A9616320169009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BEE1AE779680092347B /* PBXContainerItemProxy */; }; - E48F8A9A16320174009E46A5 /* PBXTargetDependency */ = { + E44E2BF11AE7796C0092347B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = E48F89811632007E009E46A5 /* Platinum-MacOSX-Static */; - targetProxy = E48F8A9916320174009E46A5 /* PBXContainerItemProxy */; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BF01AE7796C0092347B /* PBXContainerItemProxy */; + }; + E44E2BF31AE779700092347B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E44E2B231AE761220092347B /* Platinum-Mac */; + targetProxy = E44E2BF21AE779700092347B /* PBXContainerItemProxy */; + }; + E459CC2811F82C7F00621896 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E459CC2111F82C3F00621896 /* Help */; + targetProxy = E459CC2711F82C7F00621896 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ - E4294C6514319C9400B6FDED /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - E4294C6614319C9400B6FDED /* en */, - ); - name = InfoPlist.strings; - sourceTree = "<group>"; - }; E4374242123FFE9100000109 /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( @@ -4931,7 +2258,8 @@ 1DEB91F108733DB70010E9CD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ENABLE_OBJC_ARC = YES; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 1.0; DEBUG_INFORMATION_FORMAT = dwarf; @@ -4941,8 +2269,6 @@ GCC_PREPROCESSOR_DEFINITIONS = ( NPT_CONFIG_ENABLE_LOGGING, PLATINUM_UPNP_SPECS_STRICT, - NPT_CONFIG_ENABLE_ZIP, - NPT_CONFIG_ENABLE_TLS, ); GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; @@ -4968,7 +2294,7 @@ GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VALUE = YES; GCC_WARN_UNUSED_VARIABLE = NO; - MACOSX_DEPLOYMENT_TARGET = 10.5; + MACOSX_DEPLOYMENT_TARGET = 10.10; ONLY_ACTIVE_ARCH = NO; WARNING_CFLAGS = ( "-Wextra", @@ -4977,27 +2303,120 @@ }; name = Release; }; - E416590C162C8E1C005A306E /* Debug */ = { + E410163B1ACFA826000E994F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - INSTALL_PATH = /usr/local/lib; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/iOS", + ); + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/iOS/Neptune.framework/Headers", + ); + INFOPLIST_FILE = Platinum/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; PRODUCT_NAME = Platinum; SDKROOT = iphoneos; - SEPARATE_STRIP = YES; - STRIP_INSTALLED_PRODUCT = YES; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; }; name = Debug; }; - E416590D162C8E1C005A306E /* Release */ = { + E410163C1ACFA826000E994F /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - INSTALL_PATH = /usr/local/lib; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/iOS", + ); + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/iOS/Neptune.framework/Headers", + ); + INFOPLIST_FILE = Platinum/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_NAME = Platinum; SDKROOT = iphoneos; - SEPARATE_STRIP = YES; - STRIP_INSTALLED_PRODUCT = YES; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; }; name = Release; }; @@ -5006,13 +2425,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = SsdpTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5025,9 +2454,19 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = SsdpTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5040,13 +2479,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = MediaCrawler; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5059,10 +2508,20 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = MediaCrawler; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5075,9 +2534,19 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = MediaConnect; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5090,9 +2559,19 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = MediaConnect; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5103,15 +2582,25 @@ E42D3ADF0FDC87F60045379C /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; + ALWAYS_SEARCH_USER_PATHS = YES; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = MicroMediaController; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5121,13 +2610,23 @@ E42D3AE00FDC87F60045379C /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; + ALWAYS_SEARCH_USER_PATHS = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = MicroMediaController; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5140,13 +2639,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = FrameStreamer; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5159,10 +2668,20 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = FrameStreamer; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5199,13 +2718,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = FileMediaServerTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5218,9 +2747,19 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = FileMediaServerTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5233,13 +2772,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = HttpTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5252,9 +2801,19 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = HttpTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5267,13 +2826,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = LightSampleTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5286,9 +2855,19 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = LightSampleTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5301,13 +2880,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = MediaRendererTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5320,9 +2909,19 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = MediaRendererTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5335,13 +2934,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = SimpleTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5354,9 +2963,19 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = SimpleTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5418,6 +3037,10 @@ ALWAYS_SEARCH_USER_PATHS = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = YES; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; @@ -5427,7 +3050,7 @@ GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = NO; GCC_TREAT_WARNINGS_AS_ERRORS = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_VERSION = ""; GCC_WARN_ABOUT_MISSING_NEWLINE = NO; GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; @@ -5442,10 +3065,12 @@ GCC_WARN_UNUSED_VALUE = NO; INFOPLIST_FILE = "../../../Source/Tests/MediaServerCocoaTest/MediaServerCocoaTest-Info.plist"; INSTALL_PATH = "$(HOME)/Applications"; + LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks"; + ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = MediaServerCocoaTest; + SDKROOT = macosx; STRIP_INSTALLED_PRODUCT = NO; SUPPORTED_PLATFORMS = macosx; - VALID_ARCHS = "i386 x86_64"; WARNING_CFLAGS = ""; }; name = Debug; @@ -5457,20 +3082,25 @@ COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ../../../Source/Tests/MediaServerCocoaTest/MediaServerCocoaTest_Prefix.pch; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_TREAT_WARNINGS_AS_ERRORS = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_VERSION = ""; GCC_WARN_UNUSED_PARAMETER = NO; GCC_WARN_UNUSED_VALUE = NO; INFOPLIST_FILE = "../../../Source/Tests/MediaServerCocoaTest/MediaServerCocoaTest-Info.plist"; INSTALL_PATH = "$(HOME)/Applications"; + LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks"; PRODUCT_NAME = MediaServerCocoaTest; + SDKROOT = macosx; STRIP_INSTALLED_PRODUCT = YES; SUPPORTED_PLATFORMS = macosx; - VALID_ARCHS = "i386 x86_64"; WARNING_CFLAGS = ""; ZERO_LINK = NO; }; @@ -5481,13 +3111,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_DYNAMIC_NO_PIC = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = TimeTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5500,9 +3140,19 @@ ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + ); GCC_MODEL_TUNING = G5; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); INSTALL_PATH = /usr/local/bin; + LD_RUNPATH_SEARCH_PATHS = "$(SRCROOT)/../../../Carthage/Build/Mac"; PRODUCT_NAME = TimeTest; SUPPORTED_PLATFORMS = macosx; VALID_ARCHS = "i386 x86_64"; @@ -5510,23 +3160,224 @@ }; name = Release; }; - E445E4CA14497B8F00F221B3 /* Debug */ = { + E44E2B891AE761220092347B /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + /Users/sylvain/dev/Plutinosoft/Platinum/Carthage/Build/Mac, + ); + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); + INFOPLIST_FILE = Platinum/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = Platinum; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = macosx; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E44E2B8A1AE761220092347B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/Mac", + /Users/sylvain/dev/Plutinosoft/Platinum/Carthage/Build/Mac, + ); + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../../../Carthage/Build/Mac/Neptune.framework/Headers", + ); + INFOPLIST_FILE = Platinum/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = Platinum; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = macosx; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + E44E2BD21AE775510092347B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + E44E2BD31AE775510092347B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + E45332CE1AAED318004A52FD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/iOS", + ); + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_TREAT_WARNINGS_AS_ERRORS = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = NO; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = "MobileMediaServer-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; - E445E4CB14497B8F00F221B3 /* Release */ = { + E45332CF1AAED318004A52FD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../../Carthage/Build/iOS", + ); + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_TREAT_WARNINGS_AS_ERRORS = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = NO; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = "MobileMediaServer-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; }; name = Release; }; @@ -5557,7 +3408,8 @@ E46270E90F81F4F8007FE869 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ENABLE_OBJC_ARC = YES; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 1.0; DEBUG_INFORMATION_FORMAT = dwarf; @@ -5569,8 +3421,6 @@ NPT_DEBUG, _PLATINUM_UPNP_SPECS_STRICT, NPT_CONFIG_ENABLE_LOGGING, - NPT_CONFIG_ENABLE_ZIP, - NPT_CONFIG_ENABLE_TLS, ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; @@ -5596,8 +3446,8 @@ GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VALUE = YES; GCC_WARN_UNUSED_VARIABLE = NO; - MACOSX_DEPLOYMENT_TARGET = 10.5; - ONLY_ACTIVE_ARCH = NO; + MACOSX_DEPLOYMENT_TARGET = 10.10; + ONLY_ACTIVE_ARCH = YES; WARNING_CFLAGS = ( "-Wextra", "-Wno-long-long", @@ -5605,249 +3455,6 @@ }; name = Debug; }; - E46E0E4E14482FCB00CE9E65 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - "ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD)"; - "ARCHS[sdk=iphonesimulator*]" = i386; - DEAD_CODE_STRIPPING = NO; - DYLIB_COMPATIBILITY_VERSION = 1; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_THUMB_SUPPORT = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - INFOPLIST_FILE = "PlatinumFramework/PlatinumFramework-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 3.0; - LINK_WITH_STANDARD_LIBRARIES = NO; - MACH_O_TYPE = mh_object; - OTHER_LDFLAGS = "-ObjC"; - PRODUCT_NAME = Platinum; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - WRAPPER_EXTENSION = framework; - }; - name = Debug; - }; - E46E0E4F14482FCB00CE9E65 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - "ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD)"; - "ARCHS[sdk=iphonesimulator*]" = i386; - COPY_PHASE_STRIP = YES; - DEAD_CODE_STRIPPING = NO; - DYLIB_COMPATIBILITY_VERSION = 1; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_THUMB_SUPPORT = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - INFOPLIST_FILE = "PlatinumFramework/PlatinumFramework-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 3.0; - "IPHONEOS_DEPLOYMENT_TARGET[sdk=iphonesimulator*]" = 5.1.1; - LINK_WITH_STANDARD_LIBRARIES = NO; - MACH_O_TYPE = mh_object; - OTHER_LDFLAGS = "-ObjC"; - PRODUCT_NAME = Platinum; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - STRIP_INSTALLED_PRODUCT = YES; - WRAPPER_EXTENSION = framework; - ZERO_LINK = NO; - }; - name = Release; - }; - E46E0E53144830AB00CE9E65 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - PRODUCT_NAME = Platinum; - SDKROOT = iphoneos; - }; - name = Debug; - }; - E46E0E54144830AB00CE9E65 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - PRODUCT_NAME = Platinum; - SDKROOT = iphoneos; - }; - name = Release; - }; - E48F8A7B1632007E009E46A5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; - DOXYGEN_PATH = /Applications/Doxygen.app/Contents/Resources/doxygen; - GCC_ENABLE_SYMBOL_SEPARATION = YES; - GCC_MODEL_TUNING = G5; - GCC_THUMB_SUPPORT = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; - IPHONEOS_DEPLOYMENT_TARGET = 3.0; - PRODUCT_NAME = Platinum; - SEPARATE_STRIP = NO; - SKIP_INSTALL = YES; - STRIP_INSTALLED_PRODUCT = NO; - }; - name = Debug; - }; - E48F8A7C1632007E009E46A5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; - DOXYGEN_PATH = /Applications/Doxygen.app/Contents/Resources/doxygen; - GCC_ENABLE_SYMBOL_SEPARATION = YES; - GCC_MODEL_TUNING = G5; - GCC_THUMB_SUPPORT = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; - INSTALL_PATH = /usr/local/lib; - IPHONEOS_DEPLOYMENT_TARGET = 3.0; - PRODUCT_NAME = Platinum; - SEPARATE_STRIP = NO; - SKIP_INSTALL = YES; - STRIP_INSTALLED_PRODUCT = NO; - }; - name = Release; - }; - E496AA0F146A4D320034BBAE /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - "ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD)"; - "ARCHS[sdk=iphonesimulator*]" = i386; - DOXYGEN_PATH = /Applications/Doxygen.app/Contents/Resources/doxygen; - GCC_ENABLE_SYMBOL_SEPARATION = YES; - GCC_MODEL_TUNING = G5; - GCC_THUMB_SUPPORT = NO; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; - IPHONEOS_DEPLOYMENT_TARGET = 3.0; - PRODUCT_NAME = Platinum; - SDKROOT = iphoneos; - SEPARATE_STRIP = NO; - SKIP_INSTALL = YES; - STRIP_INSTALLED_PRODUCT = NO; - }; - name = Debug; - }; - E496AA10146A4D320034BBAE /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - "ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD)"; - "ARCHS[sdk=iphonesimulator*]" = i386; - DOXYGEN_PATH = /Applications/Doxygen.app/Contents/Resources/doxygen; - GCC_ENABLE_SYMBOL_SEPARATION = YES; - GCC_MODEL_TUNING = G5; - GCC_THUMB_SUPPORT = NO; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; - INSTALL_PATH = /usr/local/lib; - IPHONEOS_DEPLOYMENT_TARGET = 5.1.1; - PRODUCT_NAME = Platinum; - SDKROOT = iphoneos; - SEPARATE_STRIP = NO; - SKIP_INSTALL = YES; - STRIP_INSTALLED_PRODUCT = NO; - }; - name = Release; - }; - E4B95EDD1446575700DBBF49 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; - COMBINE_HIDPI_IMAGES = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - FRAMEWORK_VERSION = A; - GCC_DYNAMIC_NO_PIC = NO; - GCC_INLINES_ARE_PRIVATE_EXTERN = NO; - GCC_PRECOMPILE_PREFIX_HEADER = NO; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - INFOPLIST_FILE = "PlatinumFramework/PlatinumFramework-Info.plist"; - INSTALL_PATH = "@loader_path/../Frameworks"; - PRODUCT_NAME = Platinum; - SDKROOT = macosx; - SEPARATE_STRIP = YES; - SUPPORTED_PLATFORMS = macosx; - WRAPPER_EXTENSION = framework; - }; - name = Debug; - }; - E4B95EDE1446575700DBBF49 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; - COMBINE_HIDPI_IMAGES = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - FRAMEWORK_VERSION = A; - GCC_INLINES_ARE_PRIVATE_EXTERN = NO; - GCC_PRECOMPILE_PREFIX_HEADER = NO; - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - INFOPLIST_FILE = "PlatinumFramework/PlatinumFramework-Info.plist"; - INSTALL_PATH = "@loader_path/../Frameworks"; - PRODUCT_NAME = Platinum; - SDKROOT = macosx; - SEPARATE_STRIP = YES; - SUPPORTED_PLATFORMS = macosx; - WRAPPER_EXTENSION = framework; - }; - name = Release; - }; - E4D8752D144776B700CCB1B4 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - "ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD_32_64_BIT)"; - "ARCHS[sdk=iphonesimulator*]" = i386; - COMBINE_HIDPI_IMAGES = YES; - DOXYGEN_PATH = /Applications/Doxygen.app/Contents/Resources/doxygen; - GCC_ENABLE_SYMBOL_SEPARATION = YES; - GCC_MODEL_TUNING = G5; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; - GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; - GCC_WARN_SHADOW = NO; - PRODUCT_NAME = Platinum; - SEPARATE_STRIP = NO; - SKIP_INSTALL = YES; - STRIP_INSTALLED_PRODUCT = YES; - }; - name = Debug; - }; - E4D8752E144776B700CCB1B4 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - "ARCHS[sdk=iphoneos*]" = "$(ARCHS_STANDARD_32_64_BIT)"; - "ARCHS[sdk=iphonesimulator*]" = i386; - COMBINE_HIDPI_IMAGES = YES; - DOXYGEN_PATH = /Applications/Doxygen.app/Contents/Resources/doxygen; - GCC_ENABLE_SYMBOL_SEPARATION = YES; - GCC_MODEL_TUNING = G5; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; - GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO; - GCC_WARN_SHADOW = NO; - INSTALL_PATH = /usr/local/lib; - PRODUCT_NAME = Platinum; - SEPARATE_STRIP = NO; - SKIP_INSTALL = YES; - STRIP_INSTALLED_PRODUCT = YES; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -5860,11 +3467,11 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - E416590B162C8E1C005A306E /* Build configuration list for PBXAggregateTarget "Platinum-iPhone-Static-Universal" */ = { + E410163A1ACFA826000E994F /* Build configuration list for PBXNativeTarget "Platinum-iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - E416590C162C8E1C005A306E /* Debug */, - E416590D162C8E1C005A306E /* Release */, + E410163B1ACFA826000E994F /* Debug */, + E410163C1ACFA826000E994F /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -6004,74 +3611,38 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - E445E4C914497B8F00F221B3 /* Build configuration list for PBXAggregateTarget "All-iPhone" */ = { + E44E2B881AE761220092347B /* Build configuration list for PBXNativeTarget "Platinum-Mac" */ = { isa = XCConfigurationList; buildConfigurations = ( - E445E4CA14497B8F00F221B3 /* Debug */, - E445E4CB14497B8F00F221B3 /* Release */, + E44E2B891AE761220092347B /* Debug */, + E44E2B8A1AE761220092347B /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - E459CC2411F82C5E00621896 /* Build configuration list for PBXAggregateTarget "Help" */ = { + E44E2BD11AE775510092347B /* Build configuration list for PBXAggregateTarget "Frameworks" */ = { isa = XCConfigurationList; buildConfigurations = ( - E459CC2211F82C4000621896 /* Debug */, - E459CC2311F82C4000621896 /* Release */, + E44E2BD21AE775510092347B /* Debug */, + E44E2BD31AE775510092347B /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - E46E0E4D14482FCB00CE9E65 /* Build configuration list for PBXNativeTarget "Platinum-iPhone-Framework" */ = { + E45332CD1AAED318004A52FD /* Build configuration list for PBXNativeTarget "MobileMediaServer" */ = { isa = XCConfigurationList; buildConfigurations = ( - E46E0E4E14482FCB00CE9E65 /* Debug */, - E46E0E4F14482FCB00CE9E65 /* Release */, + E45332CE1AAED318004A52FD /* Debug */, + E45332CF1AAED318004A52FD /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - E46E0E52144830AB00CE9E65 /* Build configuration list for PBXAggregateTarget "Platinum-iPhone-Framework-Universal" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E46E0E53144830AB00CE9E65 /* Debug */, - E46E0E54144830AB00CE9E65 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E48F8A7A1632007E009E46A5 /* Build configuration list for PBXNativeTarget "Platinum-MacOSX-Static" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E48F8A7B1632007E009E46A5 /* Debug */, - E48F8A7C1632007E009E46A5 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E496AA0E146A4D320034BBAE /* Build configuration list for PBXNativeTarget "Platinum-iPhone-Static" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E496AA0F146A4D320034BBAE /* Debug */, - E496AA10146A4D320034BBAE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E4B95EDC1446575700DBBF49 /* Build configuration list for PBXNativeTarget "Platinum-MacOSX-Framework" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E4B95EDD1446575700DBBF49 /* Debug */, - E4B95EDE1446575700DBBF49 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - E4D8752C144776B700CCB1B4 /* Build configuration list for PBXNativeTarget "Platinum-Static" */ = { + E459CC2411F82C5E00621896 /* Build configuration list for PBXAggregateTarget "Help" */ = { isa = XCConfigurationList; buildConfigurations = ( - E4D8752D144776B700CCB1B4 /* Debug */, - E4D8752E144776B700CCB1B4 /* Release */, + E459CC2211F82C4000621896 /* Debug */, + E459CC2311F82C4000621896 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/xcshareddata/xcschemes/Platinum-Mac.xcscheme b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/xcshareddata/xcschemes/Platinum-Mac.xcscheme new file mode 100644 index 0000000000..0aacf19b6e --- /dev/null +++ b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/xcshareddata/xcschemes/Platinum-Mac.xcscheme @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + LastUpgradeVersion = "0630" + version = "1.3"> + <BuildAction + parallelizeBuildables = "YES" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E44E2B231AE761220092347B" + BuildableName = "Platinum.framework" + BlueprintName = "Platinum-Mac" + ReferencedContainer = "container:Platinum.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + </Testables> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug" + ignoresPersistentStateOnLaunch = "NO" + debugDocumentVersioning = "YES" + allowLocationSimulation = "YES"> + <MacroExpansion> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E44E2B231AE761220092347B" + BuildableName = "Platinum.framework" + BlueprintName = "Platinum-Mac" + ReferencedContainer = "container:Platinum.xcodeproj"> + </BuildableReference> + </MacroExpansion> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release" + debugDocumentVersioning = "YES"> + <MacroExpansion> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E44E2B231AE761220092347B" + BuildableName = "Platinum.framework" + BlueprintName = "Platinum-Mac" + ReferencedContainer = "container:Platinum.xcodeproj"> + </BuildableReference> + </MacroExpansion> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme> diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/xcshareddata/xcschemes/Platinum-iOS.xcscheme b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/xcshareddata/xcschemes/Platinum-iOS.xcscheme new file mode 100644 index 0000000000..33a6099e8d --- /dev/null +++ b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj/xcshareddata/xcschemes/Platinum-iOS.xcscheme @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + LastUpgradeVersion = "0620" + version = "1.3"> + <BuildAction + parallelizeBuildables = "YES" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E41016201ACFA826000E994F" + BuildableName = "Platinum.framework" + BlueprintName = "Platinum-iOS" + ReferencedContainer = "container:Platinum.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + </Testables> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug" + ignoresPersistentStateOnLaunch = "NO" + debugDocumentVersioning = "YES" + allowLocationSimulation = "YES"> + <MacroExpansion> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E41016201ACFA826000E994F" + BuildableName = "Platinum.framework" + BlueprintName = "Platinum-iOS" + ReferencedContainer = "container:Platinum.xcodeproj"> + </BuildableReference> + </MacroExpansion> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release" + debugDocumentVersioning = "YES"> + <MacroExpansion> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E41016201ACFA826000E994F" + BuildableName = "Platinum.framework" + BlueprintName = "Platinum-iOS" + ReferencedContainer = "container:Platinum.xcodeproj"> + </BuildableReference> + </MacroExpansion> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme> diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/PlatinumFramework/PlatinumFramework-Info.plist b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum/Info.plist index de1a36ad1c..d7da8c816b 100644 --- a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/PlatinumFramework/PlatinumFramework-Info.plist +++ b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum/Info.plist @@ -3,26 +3,24 @@ <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> - <string>English</string> + <string>en</string> <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIconFile</key> - <string></string> + <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> - <string>com.plutinosoft.${PRODUCT_NAME:rfc1034identifier}</string> + <string>com.plutinosoft.$(PRODUCT_NAME:rfc1034identifier)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> + <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>FMWK</string> <key>CFBundleShortVersionString</key> - <string>0.6.9</string> + <string>1.0</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>0.6.9</string> - <key>NSHumanReadableCopyright</key> - <string>Copyright © 2011 Plutinosoft LLC. All rights reserved.</string> + <string>$(CURRENT_PROJECT_VERSION)</string> + <key>NSPrincipalClass</key> + <string></string> </dict> </plist> diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum/Neptune.h b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum/Neptune.h new file mode 100644 index 0000000000..4baae688d5 --- /dev/null +++ b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum/Neptune.h @@ -0,0 +1,2 @@ +// Neptune Framework path +#include <Neptune/Neptune.h> diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum/Platinum.h b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum/Platinum.h new file mode 100644 index 0000000000..d8a4ac2790 --- /dev/null +++ b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/Platinum/Platinum.h @@ -0,0 +1,66 @@ +// +// Platinum.h +// Platinum +// +// Created by Sylvain Rebaud on 4/3/15. +// +// + +//#include <UIKit/UIKit.h> +// +////! Project version number for Platinum. +//FOUNDATION_EXPORT double PlatinumVersionNumber; +// +////! Project version string for Platinum. +//FOUNDATION_EXPORT const unsigned char PlatinumVersionString[]; + +#ifndef _PLATINUM_H_ +#define _PLATINUM_H_ + +#include <Platinum/PltUPnP.h> +#include <Platinum/PltCtrlPoint.h> +#include <Platinum/PltDeviceData.h> +#include <Platinum/PltHttpServer.h> +#include <Platinum/PltVersion.h> + +#include <Platinum/PltMimeType.h> +#include <Platinum/PltProtocolInfo.h> +#include <Platinum/PltAction.h> +#include <Platinum/PltArgument.h> +#include <Platinum/PltConstants.h> +#include <Platinum/PltCtrlPointTask.h> +#include <Platinum/PltDatagramStream.h> +#include <Platinum/PltDeviceHost.h> +#include <Platinum/PltEvent.h> +#include <Platinum/PltHttp.h> +#include <Platinum/PltHttpClientTask.h> +#include <Platinum/PltHttpServer.h> +#include <Platinum/PltHttpServerTask.h> +#include <Platinum/PltService.h> +#include <Platinum/PltSsdp.h> +#include <Platinum/PltStateVariable.h> +#include <Platinum/PltTaskManager.h> +#include <Platinum/PltThreadTask.h> +#include <Platinum/PltUtilities.h> + +#include <Platinum/PltMediaServer.h> +#include <Platinum/PltMediaBrowser.h> +#include <Platinum/PltMediaRenderer.h> +#include <Platinum/PltMediaController.h> +#include <Platinum/PltDidl.h> +#include <Platinum/PltFileMediaServer.h> +#include <Platinum/PltMediaCache.h> +#include <Platinum/PltMediaItem.h> +#include <Platinum/PltSyncMediaBrowser.h> + +#include <Platinum/PltXbox360.h> +#include <Platinum/PltMediaConnect.h> + +#include <Platinum/PltDownloader.h> +#include <Platinum/PltStreamPump.h> +#include <Platinum/PltFrameBuffer.h> +#include <Platinum/PltFrameServer.h> +#include <Platinum/PltFrameStream.h> +#include <Platinum/PltRingBufferStream.h> + +#endif // _PLATINUM_H_ diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/PlatinumFramework/PlatinumFramework-Prefix.pch b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/PlatinumFramework/PlatinumFramework-Prefix.pch deleted file mode 100644 index c7429a5f36..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/PlatinumFramework/PlatinumFramework-Prefix.pch +++ /dev/null @@ -1,7 +0,0 @@ -// -// Prefix header for all source files of the 'PlatinumFramework' target in the 'PlatinumFramework' project -// - -#ifdef __OBJC__ -#import <Foundation/Foundation.h> -#endif diff --git a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/PlatinumFramework/en.lproj/InfoPlist.strings b/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/PlatinumFramework/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28ff8f..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/universal-apple-macosx/PlatinumFramework/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/FileMediaServerTest/FileMediaServerTest.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/FileMediaServerTest/FileMediaServerTest.vcproj deleted file mode 100644 index 5281ee48e0..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/FileMediaServerTest/FileMediaServerTest.vcproj +++ /dev/null @@ -1,205 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="FileMediaServerTest" - ProjectGUID="{8D8B3A3A-76C1-41FC-AFED-E214096F86E5}" - RootNamespace="FileMediaServerTest" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - BufferSecurityCheck="true" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/FileMediaServerTest.exe" - LinkIncremental="2" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/FileMediaServerTest.exe" - LinkIncremental="1" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Tests\FileMediaServer\FileMediaServerTest.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/FrameStreamer/FrameStreamer.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/FrameStreamer/FrameStreamer.vcproj deleted file mode 100644 index b951e2a02b..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/FrameStreamer/FrameStreamer.vcproj +++ /dev/null @@ -1,197 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="FrameStreamer" - ProjectGUID="{6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}" - RootNamespace="FrameStreamer" - Keyword="Win32Proj" - TargetFrameworkVersion="196613" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - LinkIncremental="2" - GenerateDebugInformation="true" - SubSystem="1" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - CharacterSet="2" - WholeProgramOptimization="1" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="2" - EnableIntrinsicFunctions="true" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - EnableFunctionLevelLinking="true" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - LinkIncremental="1" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Apps\FrameStreamer\main.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/HttpTest/HttpTest.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/HttpTest/HttpTest.vcproj deleted file mode 100644 index 4efd07127d..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/HttpTest/HttpTest.vcproj +++ /dev/null @@ -1,204 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="HttpTest" - ProjectGUID="{D3DAAD44-FD60-4CC9-8CEC-30D587F42979}" - RootNamespace="HttpTest" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/HttpTest.exe" - LinkIncremental="2" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/HttpTest.exe" - LinkIncremental="1" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Tests\Http\HttpTest.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/LightSampleTest/LightSampleTest.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/LightSampleTest/LightSampleTest.vcproj deleted file mode 100644 index 130ae9695d..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/LightSampleTest/LightSampleTest.vcproj +++ /dev/null @@ -1,212 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="LightSampleTest" - ProjectGUID="{255281DE-5127-424E-8D78-21D85B8E6DD3}" - RootNamespace="LightSampleTest" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/LightSampleTest.exe" - LinkIncremental="2" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/LightSampleTest.exe" - LinkIncremental="1" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Tests\LightSample\LightSampleTest.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Tests\LightSample\PltLightSample.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - <File - RelativePath="..\..\..\..\Source\Tests\LightSample\PltLightSample.h" - > - </File> - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaConnect/MediaConnect.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaConnect/MediaConnect.vcproj deleted file mode 100644 index ea846d930b..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaConnect/MediaConnect.vcproj +++ /dev/null @@ -1,199 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="MediaConnect" - ProjectGUID="{44414C6A-4683-4280-9A64-E90B10D4B61B}" - RootNamespace="MediaConnect" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - LinkIncremental="2" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - CharacterSet="2" - WholeProgramOptimization="1" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - LinkIncremental="1" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Apps\MediaConnect\main.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaCrawler/MediaCrawler.sln b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaCrawler/MediaCrawler.sln deleted file mode 100644 index ac0432c182..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaCrawler/MediaCrawler.sln +++ /dev/null @@ -1,35 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual C++ Express 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Platinum", "..\Platinum\Platinum.vcproj", "{568611D3-AFA7-4294-99C1-E9AED0D8057E}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Neptune", "..\..\..\..\ThirdParty\Neptune\Build\Targets\x86-microsoft-win32-vs2008\Neptune\Neptune.vcproj", "{12AFF2E5-6D95-4809-9728-9551677C078A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MediaCrawler", "MediaCrawler.vcproj", "{453587AB-29A1-4C1C-8F3C-AFF59404EA91}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Win32.ActiveCfg = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Win32.Build.0 = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Win32.ActiveCfg = Release|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Win32.Build.0 = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Win32.ActiveCfg = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Win32.Build.0 = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Win32.ActiveCfg = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Win32.Build.0 = Release|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Win32.ActiveCfg = Debug|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Win32.Build.0 = Debug|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Release|Win32.ActiveCfg = Release|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaCrawler/MediaCrawler.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaCrawler/MediaCrawler.vcproj deleted file mode 100644 index 73975675d0..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaCrawler/MediaCrawler.vcproj +++ /dev/null @@ -1,217 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="MediaCrawler" - ProjectGUID="{453587AB-29A1-4C1C-8F3C-AFF59404EA91}" - RootNamespace="MediaCrawlerConsole" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - BufferSecurityCheck="true" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/$(ProjectName).exe" - LinkIncremental="2" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/$(ProjectName).exe" - LinkIncremental="1" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Apps\MediaCrawler\main.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Apps\MediaCrawler\MediaCrawler.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - <File - RelativePath="..\..\..\..\Source\Apps\MediaCrawler\MediaCrawler.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Apps\MediaCrawler\StreamHandler.h" - > - </File> - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaRendererTest/MediaRendererTest.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaRendererTest/MediaRendererTest.vcproj deleted file mode 100644 index 9f1adbd404..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MediaRendererTest/MediaRendererTest.vcproj +++ /dev/null @@ -1,205 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="MediaRendererTest" - ProjectGUID="{052F76B5-2F71-4D6E-A507-2C2EBF9150F5}" - RootNamespace="MediaRendererTest" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - BufferSecurityCheck="true" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/MediaRendererTest.exe" - LinkIncremental="2" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/MediaRenderer.exe" - LinkIncremental="1" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Tests\MediaRenderer\MediaRendererTest.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MicroMediaController/MicroMediaController.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MicroMediaController/MicroMediaController.vcproj deleted file mode 100644 index 7b3095ed0a..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/MicroMediaController/MicroMediaController.vcproj +++ /dev/null @@ -1,213 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="MicroMediaController" - ProjectGUID="{0479F32A-29A1-4C1C-8F3C-AFF59404EA91}" - RootNamespace="MediaBrowserConsole" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\..\Neptune\Source\Core;..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - BufferSecurityCheck="true" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/$(ProjectName).exe" - LinkIncremental="2" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\..\Neptune\Source\Core;..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/$(ProjectName).exe" - LinkIncremental="1" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Apps\MicroMediaController\main.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Apps\MicroMediaController\PltMicroMediaController.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - <File - RelativePath="..\..\..\..\Source\Apps\MicroMediaController\PltMicroMediaController.h" - > - </File> - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/Platinum.Managed.MediaServerTest.csproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/Platinum.Managed.MediaServerTest.csproj deleted file mode 100644 index b458b5ff0e..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/Platinum.Managed.MediaServerTest.csproj +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProductVersion>9.0.30729</ProductVersion> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}</ProjectGuid> - <OutputType>Exe</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>Platinum.Managed.MediaServerTest</RootNamespace> - <AssemblyName>Platinum.Managed.MediaServerTest</AssemblyName> - <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> - <FileAlignment>512</FileAlignment> - <PublishUrl>publish\</PublishUrl> - <Install>true</Install> - <InstallFrom>Disk</InstallFrom> - <UpdateEnabled>false</UpdateEnabled> - <UpdateMode>Foreground</UpdateMode> - <UpdateInterval>7</UpdateInterval> - <UpdateIntervalUnits>Days</UpdateIntervalUnits> - <UpdatePeriodically>false</UpdatePeriodically> - <UpdateRequired>false</UpdateRequired> - <MapFileExtensions>true</MapFileExtensions> - <ApplicationRevision>0</ApplicationRevision> - <ApplicationVersion>1.0.0.%2a</ApplicationVersion> - <IsWebBootstrapper>false</IsWebBootstrapper> - <UseApplicationTrust>false</UseApplicationTrust> - <BootstrapperEnabled>true</BootstrapperEnabled> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>..\Debug\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <PlatformTarget>x86</PlatformTarget> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>..\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <PlatformTarget>x86</PlatformTarget> - </PropertyGroup> - <ItemGroup> - <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> - <HintPath>..\..\..\..\ThirdParty\log4net\log4net.dll</HintPath> - </Reference> - <Reference Include="System" /> - <Reference Include="System.Data" /> - <Reference Include="System.Xml" /> - </ItemGroup> - <ItemGroup> - <Compile Include="Program.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="..\Platinum.Managed\Platinum.Managed.vcproj"> - <Project>{8AA224CC-41AA-44EC-802E-F71E8F272D1E}</Project> - <Name>Platinum.Managed</Name> - </ProjectReference> - </ItemGroup> - <ItemGroup> - <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> - <Visible>False</Visible> - <ProductName>.NET Framework Client Profile</ProductName> - <Install>false</Install> - </BootstrapperPackage> - <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> - <Visible>False</Visible> - <ProductName>.NET Framework 2.0 %28x86%29</ProductName> - <Install>true</Install> - </BootstrapperPackage> - <BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> - <Visible>False</Visible> - <ProductName>.NET Framework 3.0 %28x86%29</ProductName> - <Install>false</Install> - </BootstrapperPackage> - <BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> - <Visible>False</Visible> - <ProductName>.NET Framework 3.5</ProductName> - <Install>false</Install> - </BootstrapperPackage> - <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> - <Visible>False</Visible> - <ProductName>.NET Framework 3.5 SP1</ProductName> - <Install>false</Install> - </BootstrapperPackage> - </ItemGroup> - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> - <!-- To modify your build process, add your task inside one of the targets below and uncomment it. - Other similar extension points exist, see Microsoft.Common.targets. - <Target Name="BeforeBuild"> - </Target> - <Target Name="AfterBuild"> - </Target> - --> - <PropertyGroup> - <PostBuildEvent>mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)" -xcopy /Y "$(TargetPath)" "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)" -</PostBuildEvent> - </PropertyGroup> -</Project>
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/Program.cs b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/Program.cs deleted file mode 100644 index b905adb6ae..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/Program.cs +++ /dev/null @@ -1,180 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Platinum.Managed.MediaServerTest -{ - class Program - { - static void Main(string[] args) - { - new Program().Run(); - } - - private void Run() - { - log4net.Config.BasicConfigurator.Configure(); - - Console.Title = "Press 'q' to quit"; - - Console.WriteLine("Starting..."); - - using (var upnp = new UPnP()) - { - var server = new MediaServer("TestManaged"); - server.BrowseMetadata += new MediaServer.BrowseMetadataDelegate(server_BrowseMetadata); - server.BrowseDirectChildren += new MediaServer.BrowseDirectChildrenDelegate(server_BrowseDirectChildren); - server.ProcessFileRequest += new MediaServer.ProcessFileRequestDelegate(server_ProcessFileRequest); - - upnp.AddDeviceHost(server); - - upnp.Start(); - - #region handle keyboard - - for (bool quit = false; !quit; ) - { - switch (Console.ReadKey(true).KeyChar) - { - case 'q': - quit = true; - - break; - } - } - - #endregion - - server.BrowseMetadata -= new MediaServer.BrowseMetadataDelegate(server_BrowseMetadata); - server.BrowseDirectChildren -= new MediaServer.BrowseDirectChildrenDelegate(server_BrowseDirectChildren); - server.ProcessFileRequest -= new MediaServer.ProcessFileRequestDelegate(server_ProcessFileRequest); - - upnp.Stop(); - } - - Console.WriteLine("Stopped."); - } - - private int server_BrowseMetadata(Action action, String object_id, String filter, Int32 starting_index, Int32 requested_count, String sort_criteria, HttpRequestContext context) - { - Console.WriteLine("BrowseMetadata: " + object_id); - if (object_id == "0") - { - var root = new MediaContainer(); - root.Title = "Root"; - root.ObjectID = "0"; - root.ParentID = "-1"; - root.Class = new ObjectClass("object.container.storageFolder", ""); - - var didl = Didl.header + root.ToDidl(filter) + Didl.footer; - action.SetArgumentValue("Result", didl); - action.SetArgumentValue("NumberReturned", "1"); - action.SetArgumentValue("TotalMatches", "1"); - - // update ID may be wrong here, it should be the one of the container? - // TODO: We need to keep track of the overall updateID of the CDS - action.SetArgumentValue("UpdateId", "1"); - - return 0; - } - else if (object_id == "1") - { - var item = new MediaItem(); - item.Title = "Item"; - item.ObjectID = "1"; - item.ParentID = "0"; - item.Class = new ObjectClass("object.item.audioItem.musicTrack", ""); - - var resource = new MediaResource(); - resource.ProtoInfo = ProtocolInfo.GetProtocolInfoFromMimeType("audio/mp3", true, context); - - // get list of ips and make sure the ip the request came from is used for the first resource returned - // this ensures that clients which look only at the first resource will be able to reach the item - List<String> ips = UPnP.GetIpAddresses(true); - String localIP = context.LocalAddress.ip; - if (localIP != "0.0.0.0") - { - ips.Remove(localIP); - ips.Insert(0, localIP); - } - - // iterate through all ips and create a resource for each - foreach (String ip in ips) - { - resource.URI = new Uri("http://" + ip + ":" + context.LocalAddress.port + "/test/test.mp3").ToString(); - item.AddResource(resource); - } - - var didl = Didl.header + item.ToDidl(filter) + Didl.footer; - action.SetArgumentValue("Result", didl); - action.SetArgumentValue("NumberReturned", "1"); - action.SetArgumentValue("TotalMatches", "1"); - - // update ID may be wrong here, it should be the one of the container? - // TODO: We need to keep track of the overall updateID of the CDS - action.SetArgumentValue("UpdateId", "1"); - - return 0; - } - - return -1; - } - - - private int server_BrowseDirectChildren(Action action, String object_id, String filter, Int32 starting_index, Int32 requested_count, String sort_criteria, HttpRequestContext context) - { - Console.WriteLine("BrowseDirectChildren: " + object_id); - if (object_id != "0") return -1; - - var item = new MediaItem(); - item.Title = "Item"; - item.ObjectID = "1"; - item.ParentID = "0"; - item.Class = new ObjectClass("object.item.audioItem.musicTrack", ""); - - var resource = new MediaResource(); - resource.ProtoInfo = ProtocolInfo.GetProtocolInfoFromMimeType("audio/mp3", true, context); - - // get list of ips and make sure the ip the request came from is used for the first resource returned - // this ensures that clients which look only at the first resource will be able to reach the item - List<String> ips = UPnP.GetIpAddresses(true); - String localIP = context.LocalAddress.ip; - if (localIP != "0.0.0.0") - { - ips.Remove(localIP); - ips.Insert(0, localIP); - } - - // iterate through all ips and create a resource for each - foreach (String ip in ips) - { - resource.URI = new Uri("http://" + ip + ":" + context.LocalAddress.port + "/test/test.mp3").ToString(); - item.AddResource(resource); - } - - var didl = Didl.header + item.ToDidl(filter) + Didl.footer; - action.SetArgumentValue("Result", didl); - action.SetArgumentValue("NumberReturned", "1"); - action.SetArgumentValue("TotalMatches", "1"); - - // update ID may be wrong here, it should be the one of the container? - // TODO: We need to keep track of the overall updateID of the CDS - action.SetArgumentValue("UpdateId", "1"); - - return 0; - } - - private int server_ProcessFileRequest(HttpRequestContext context, HttpResponse response) - { - Uri uri = context.Request.URI; - if (uri.AbsolutePath == "/test/test.mp3") - { - MediaServer.SetResponseFilePath(context, response, "C:\\Test.mp3"); - return 0; - } - - return -1; - } - - } -} diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/Properties/AssemblyInfo.cs b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/Properties/AssemblyInfo.cs deleted file mode 100644 index a7ce9fa599..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Platinum.Managed.MediaServerTest")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Platinum.Managed.MediaServerTest")] -[assembly: AssemblyCopyright("Copyright © 2010")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("d767bc4d-ccf7-498d-ae2b-406dbee5d02f")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/app.config b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/app.config deleted file mode 100644 index e59af44de2..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.MediaServerTest/app.config +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0"?> -<configuration> -<startup><supportedRuntime version="v2.0.50727"/></startup></configuration> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/Platinum.Managed.SsdpTest.csproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/Platinum.Managed.SsdpTest.csproj deleted file mode 100644 index 956ab73e66..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/Platinum.Managed.SsdpTest.csproj +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProductVersion>9.0.30729</ProductVersion> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{BE0A8A03-7EBA-438D-A60D-11AC101CD766}</ProjectGuid> - <OutputType>Exe</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>Platinum.Managed.SsdpTest</RootNamespace> - <AssemblyName>Platinum.Managed.SsdpTest</AssemblyName> - <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> - <FileAlignment>512</FileAlignment> - <StartupObject> - </StartupObject> - <PublishUrl>http://localhost/Platinum.Managed.SsdpTest/</PublishUrl> - <Install>true</Install> - <InstallFrom>Web</InstallFrom> - <UpdateEnabled>true</UpdateEnabled> - <UpdateMode>Foreground</UpdateMode> - <UpdateInterval>7</UpdateInterval> - <UpdateIntervalUnits>Days</UpdateIntervalUnits> - <UpdatePeriodically>false</UpdatePeriodically> - <UpdateRequired>false</UpdateRequired> - <MapFileExtensions>true</MapFileExtensions> - <ApplicationRevision>0</ApplicationRevision> - <ApplicationVersion>1.0.0.%2a</ApplicationVersion> - <IsWebBootstrapper>true</IsWebBootstrapper> - <UseApplicationTrust>false</UseApplicationTrust> - <BootstrapperEnabled>true</BootstrapperEnabled> - <TargetFrameworkSubset> - </TargetFrameworkSubset> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>..\Debug\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <PlatformTarget>x86</PlatformTarget> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>..\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <PlatformTarget>x86</PlatformTarget> - </PropertyGroup> - <ItemGroup> - <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> - <HintPath>..\..\..\..\ThirdParty\log4net\log4net.dll</HintPath> - </Reference> - <Reference Include="System" /> - <Reference Include="System.Data" /> - <Reference Include="System.Xml" /> - </ItemGroup> - <ItemGroup> - <Compile Include="Program.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> - </ItemGroup> - <ItemGroup> - <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> - <Visible>False</Visible> - <ProductName>.NET Framework Client Profile</ProductName> - <Install>false</Install> - </BootstrapperPackage> - <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> - <Visible>False</Visible> - <ProductName>.NET Framework 2.0 %28x86%29</ProductName> - <Install>true</Install> - </BootstrapperPackage> - <BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> - <Visible>False</Visible> - <ProductName>.NET Framework 3.0 %28x86%29</ProductName> - <Install>false</Install> - </BootstrapperPackage> - <BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> - <Visible>False</Visible> - <ProductName>.NET Framework 3.5</ProductName> - <Install>false</Install> - </BootstrapperPackage> - <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> - <Visible>False</Visible> - <ProductName>.NET Framework 3.5 SP1</ProductName> - <Install>false</Install> - </BootstrapperPackage> - </ItemGroup> - <ItemGroup> - <ProjectReference Include="..\Platinum.Managed\Platinum.Managed.vcproj"> - <Project>{8AA224CC-41AA-44EC-802E-F71E8F272D1E}</Project> - <Name>Platinum.Managed</Name> - </ProjectReference> - </ItemGroup> - <ItemGroup> - <WCFMetadata Include="Service References\" /> - </ItemGroup> - <ItemGroup> - <None Include="app.config" /> - </ItemGroup> - <ItemGroup> - <Folder Include="Service References\" /> - </ItemGroup> - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> - <!-- To modify your build process, add your task inside one of the targets below and uncomment it. - Other similar extension points exist, see Microsoft.Common.targets. - <Target Name="BeforeBuild"> - </Target> - <Target Name="AfterBuild"> - </Target> - --> -</Project>
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/Program.cs b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/Program.cs deleted file mode 100644 index 4c68a2f743..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/Program.cs +++ /dev/null @@ -1,87 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Platinum.Managed.SsdpTest -{ - class Program - { - static void Main(string[] args) - { - new Program().Run(); - } - - private void Run() - { - log4net.Config.BasicConfigurator.Configure(); - - Console.Title = "Press 'q' to quit; 'l' to list devices"; - - Console.WriteLine("Starting..."); - - using (var upnp = new UPnP()) - { - upnp.Start(); - - var cp = new ControlPoint(true); - - cp.DeviceAdded += new ControlPoint.DeviceAddedDelegate(cp_DeviceAdded); - cp.DeviceRemoved += new ControlPoint.DeviceRemovedDelegate(cp_DeviceRemoved); - cp.ActionResponse += new ControlPoint.ActionResponseDelegate(cp_ActionResponse); - - upnp.AddControlPoint(cp); - - #region handle keyboard - - for (bool quit = false; !quit; ) - { - switch (Console.ReadKey(true).KeyChar) - { - case 'q': - quit = true; - - break; - - case 'l': - { - var devs = cp.Devices; - - Console.WriteLine("Devices (" + devs.Length + "):"); - - foreach (var d in devs) - { - Console.WriteLine(" " + d.FriendlyName); - } - - break; - } - } - } - - #endregion - - cp.DeviceAdded -= new ControlPoint.DeviceAddedDelegate(cp_DeviceAdded); - cp.DeviceRemoved -= new ControlPoint.DeviceRemovedDelegate(cp_DeviceRemoved); - - upnp.Stop(); - } - - Console.WriteLine("Stopped."); - } - - private void cp_DeviceRemoved(DeviceData dev) - { - Console.WriteLine("Removed: " + dev.FriendlyName); - } - - private void cp_DeviceAdded(DeviceData dev) - { - Console.WriteLine("Added: " + dev.FriendlyName); - } - - private void cp_ActionResponse(NeptuneException error, Action action) - { - Console.WriteLine("Action Response: " + action.Description + " (result = " + error.ErrorResult + ")"); - } - } -}
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/Properties/AssemblyInfo.cs b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/Properties/AssemblyInfo.cs deleted file mode 100644 index 148c8193af..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Platinum.Managed.SsdpTest")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Plutinosoft")] -[assembly: AssemblyProduct("Platinum.Managed.SsdpTest")] -[assembly: AssemblyCopyright("Copyright © Plutinosoft 2010")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("d7cc4e93-dbe7-481a-a19f-a582e4f8e2f4")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/app.config b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/app.config deleted file mode 100644 index e59af44de2..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed.SsdpTest/app.config +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0"?> -<configuration> -<startup><supportedRuntime version="v2.0.50727"/></startup></configuration> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/AssemblyInfo.cpp b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/AssemblyInfo.cpp deleted file mode 100644 index 081d5a90ef..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/AssemblyInfo.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "stdafx.h" - -using namespace System; -using namespace System::Reflection; -using namespace System::Runtime::CompilerServices; -using namespace System::Runtime::InteropServices; -using namespace System::Security::Permissions; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly:AssemblyTitleAttribute("PlatinumManaged")]; -[assembly:AssemblyDescriptionAttribute("")]; -[assembly:AssemblyConfigurationAttribute("")]; -[assembly:AssemblyCompanyAttribute("Plutinosoft")]; -[assembly:AssemblyProductAttribute("PlatinumManaged")]; -[assembly:AssemblyCopyrightAttribute("Copyright (c) Plutinosoft 2010")]; -[assembly:AssemblyTrademarkAttribute("")]; -[assembly:AssemblyCultureAttribute("")]; - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the value or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly:AssemblyVersionAttribute("1.0.*")]; - -[assembly:ComVisible(false)]; - -[assembly:CLSCompliantAttribute(true)]; - -[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)]; diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Platinum.Managed.snk b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Platinum.Managed.snk Binary files differdeleted file mode 100644 index 4eb4b2ed29..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Platinum.Managed.snk +++ /dev/null diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Platinum.Managed.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Platinum.Managed.vcproj deleted file mode 100644 index c16212ff66..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Platinum.Managed.vcproj +++ /dev/null @@ -1,421 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="Platinum.Managed" - ProjectGUID="{8AA224CC-41AA-44EC-802E-F71E8F272D1E}" - RootNamespace="PlatinumManaged" - Keyword="ManagedCProj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="2" - CharacterSet="1" - ManagedExtensions="1" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Core;..\..\..\..\Source\Platinum;..\..\..\..\Source\Extras;..\..\..\..\Source\Extras\Managed;..\..\..\..\..\Neptune\Source\Core;..\..\..\..\..\Neptune\Source\Neptune;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\Source\Devices\MediaRenderer" - PreprocessorDefinitions="WIN32;_DEBUG" - RuntimeLibrary="3" - UsePrecompiledHeader="2" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalOptions="/NOENTRY" - LinkIncremental="2" - IgnoreDefaultLibraryNames="libcmtd.lib" - ForceSymbolReferences="__DllMainCRTStartup@12" - GenerateDebugInformation="true" - AssemblyDebug="1" - TargetMachine="1" - KeyFile="Platinum.Managed.snk" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - EmbedManifest="true" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
copy "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)\$(TargetFileName)"
copy "$(ProjectDir)\..\..\..\..\ThirdParty\log4net\log4net.*" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="2" - CharacterSet="1" - ManagedExtensions="1" - WholeProgramOptimization="1" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Core;..\..\..\..\Source\Platinum;..\..\..\..\Source\Extras;..\..\..\..\Source\Extras\Managed;..\..\..\..\..\Neptune\Source\Core;..\..\..\..\..\Neptune\Source\Neptune;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\Source\Devices\MediaRenderer" - PreprocessorDefinitions="WIN32;NDEBUG" - RuntimeLibrary="2" - UsePrecompiledHeader="2" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalOptions="/NOENTRY" - LinkIncremental="1" - IgnoreDefaultLibraryNames="libcmt.lib" - ForceSymbolReferences="__DllMainCRTStartup@12" - GenerateDebugInformation="true" - TargetMachine="1" - KeyFile="Platinum.Managed.snk" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - EmbedManifest="true" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
copy "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)\$(TargetFileName)"
copy "$(ProjectDir)\..\..\..\..\ThirdParty\log4net\log4net.*" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - <AssemblyReference - RelativePath="System.dll" - AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" - MinFrameworkVersion="131072" - /> - <AssemblyReference - RelativePath="System.Data.dll" - AssemblyName="System.Data, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=x86" - MinFrameworkVersion="131072" - /> - <AssemblyReference - RelativePath="System.XML.dll" - AssemblyName="System.Xml, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" - MinFrameworkVersion="131072" - /> - <ProjectReference - ReferencedProjectIdentifier="{568611D3-AFA7-4294-99C1-E9AED0D8057E}" - RelativePathToProject=".\Platinum\Platinum.vcproj" - /> - <ProjectReference - ReferencedProjectIdentifier="{12AFF2E5-6D95-4809-9728-9551677C078A}" - RelativePathToProject="..\..\..\..\Neptune\Build\Targets\x86-microsoft-win32-vs2008\Neptune\Neptune.vcproj" - /> - <AssemblyReference - RelativePath="..\..\..\..\ThirdParty\log4net\log4net.dll" - AssemblyName="log4net, Version=1.2.10.0, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL" - MinFrameworkVersion="131072" - /> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Action.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Action.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\ActionArgumentDescription.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\ActionArgumentDescription.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\ActionDescription.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\ActionDescription.h" - > - </File> - <File - RelativePath=".\AssemblyInfo.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\ControlPoint.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\ControlPoint.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\ControlPointEventBridge.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\ControlPointEventBridge.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\DeviceData.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\DeviceData.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\DeviceHost.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\DeviceHost.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Didl.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Didl.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Http.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Http.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\MediaConnect.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\MediaConnect.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\MediaObject.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\MediaObject.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\MediaServer.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\MediaServer.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\MediaServerEventBridge.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\MediaServerEventBridge.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\NeptuneException.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\NeptuneException.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\NeptuneLoggingBridge.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\NeptuneLoggingBridge.h" - > - </File> - <File - RelativePath=".\Platinum.Managed.snk" - > - </File> - <File - RelativePath=".\resource.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Service.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Service.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\StateVariable.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\StateVariable.h" - > - </File> - <File - RelativePath=".\Stdafx.cpp" - > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCLCompilerTool" - UsePrecompiledHeader="1" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCLCompilerTool" - UsePrecompiledHeader="1" - /> - </FileConfiguration> - </File> - <File - RelativePath=".\Stdafx.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\UPnP.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\UPnP.h" - > - </File> - <Filter - Name="Helpers" - > - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Clix.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\EnumerableNptArray.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\EnumerableNptList.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Helpers.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Helpers.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\Managed\Neptun_marshal_as.h" - > - </File> - </Filter> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Stdafx.cpp b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Stdafx.cpp deleted file mode 100644 index 28358bd1c3..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Stdafx.cpp +++ /dev/null @@ -1,5 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// Platinum.Managed.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Stdafx.h b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Stdafx.h deleted file mode 100644 index 78da842470..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/Stdafx.h +++ /dev/null @@ -1,20 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, -// but are changed infrequently - -#pragma once - -#include <Platinum.h> -#include "PltMediaItem.h" -#include "PltMediaServer.h" - -#include <msclr\marshal.h> -#include <vcclr.h> - -using namespace System; -using namespace System::Collections::Generic; -using namespace msclr::interop; - -#include "Neptun_marshal_as.h" -#include "NeptuneException.h" -#include "Helpers.h" diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/app.aps b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/app.aps Binary files differdeleted file mode 100644 index 37d06e0cae..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/app.aps +++ /dev/null diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/resource.h b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/resource.h deleted file mode 100644 index d5ac7c42aa..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.Managed/resource.h +++ /dev/null @@ -1,3 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by app.rc diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.sln b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.sln deleted file mode 100644 index 1054362ba1..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum.sln +++ /dev/null @@ -1,218 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Platinum", "Platinum\Platinum.vcproj", "{568611D3-AFA7-4294-99C1-E9AED0D8057E}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MicroMediaController", "MicroMediaController\MicroMediaController.vcproj", "{0479F32A-29A1-4C1C-8F3C-AFF59404EA91}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileMediaServerTest", "FileMediaServerTest\FileMediaServerTest.vcproj", "{8D8B3A3A-76C1-41FC-AFED-E214096F86E5}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MediaCrawler", "MediaCrawler\MediaCrawler.vcproj", "{453587AB-29A1-4C1C-8F3C-AFF59404EA91}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MediaRendererTest", "MediaRendererTest\MediaRendererTest.vcproj", "{052F76B5-2F71-4D6E-A507-2C2EBF9150F5}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LightSampleTest", "LightSampleTest\LightSampleTest.vcproj", "{255281DE-5127-424E-8D78-21D85B8E6DD3}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HttpTest", "HttpTest\HttpTest.vcproj", "{D3DAAD44-FD60-4CC9-8CEC-30D587F42979}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MediaConnect", "MediaConnect\MediaConnect.vcproj", "{44414C6A-4683-4280-9A64-E90B10D4B61B}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SimpleTest", "SimpleTest\SimpleTest.vcproj", "{88064B86-8C37-43D1-A960-FFAAE82432E4}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FrameStreamer", "FrameStreamer\FrameStreamer.vcproj", "{6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Neptune", "..\..\..\..\Neptune\Build\Targets\x86-microsoft-win32-vs2008\Neptune\Neptune.vcproj", "{12AFF2E5-6D95-4809-9728-9551677C078A}" - ProjectSection(ProjectDependencies) = postProject - {5A06F861-0EFF-417B-89C3-963A172CE6EE} = {5A06F861-0EFF-417B-89C3-963A172CE6EE} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TimeTest", "TimeTest\TimeTest.vcproj", "{94EC393E-7CD5-4969-B7B3-829C9A3A4D57}" - ProjectSection(ProjectDependencies) = postProject - {568611D3-AFA7-4294-99C1-E9AED0D8057E} = {568611D3-AFA7-4294-99C1-E9AED0D8057E} - {12AFF2E5-6D95-4809-9728-9551677C078A} = {12AFF2E5-6D95-4809-9728-9551677C078A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "axTLS", "..\..\..\..\Neptune\Build\Targets\x86-microsoft-win32-vs2008\axTLS\axTLS.vcproj", "{5A06F861-0EFF-417B-89C3-963A172CE6EE}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Win32 = Debug|Win32 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Win32.ActiveCfg = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Win32.Build.0 = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Any CPU.ActiveCfg = Release|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Mixed Platforms.Build.0 = Release|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Win32.ActiveCfg = Release|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Win32.Build.0 = Release|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Win32.ActiveCfg = Debug|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Win32.Build.0 = Debug|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Release|Any CPU.ActiveCfg = Release|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Release|Mixed Platforms.Build.0 = Release|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Release|Win32.ActiveCfg = Release|Win32 - {0479F32A-29A1-4C1C-8F3C-AFF59404EA91}.Release|Win32.Build.0 = Release|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Debug|Win32.ActiveCfg = Debug|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Debug|Win32.Build.0 = Debug|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Release|Any CPU.ActiveCfg = Release|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Release|Mixed Platforms.Build.0 = Release|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Release|Win32.ActiveCfg = Release|Win32 - {8D8B3A3A-76C1-41FC-AFED-E214096F86E5}.Release|Win32.Build.0 = Release|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Win32.ActiveCfg = Debug|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Debug|Win32.Build.0 = Debug|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Release|Any CPU.ActiveCfg = Release|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Release|Mixed Platforms.Build.0 = Release|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Release|Win32.ActiveCfg = Release|Win32 - {453587AB-29A1-4C1C-8F3C-AFF59404EA91}.Release|Win32.Build.0 = Release|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Debug|Win32.ActiveCfg = Debug|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Debug|Win32.Build.0 = Debug|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Release|Any CPU.ActiveCfg = Release|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Release|Mixed Platforms.Build.0 = Release|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Release|Win32.ActiveCfg = Release|Win32 - {052F76B5-2F71-4D6E-A507-2C2EBF9150F5}.Release|Win32.Build.0 = Release|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Debug|Win32.ActiveCfg = Debug|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Debug|Win32.Build.0 = Debug|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Release|Any CPU.ActiveCfg = Release|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Release|Mixed Platforms.Build.0 = Release|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Release|Win32.ActiveCfg = Release|Win32 - {255281DE-5127-424E-8D78-21D85B8E6DD3}.Release|Win32.Build.0 = Release|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Debug|Win32.ActiveCfg = Debug|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Debug|Win32.Build.0 = Debug|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Release|Any CPU.ActiveCfg = Release|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Release|Mixed Platforms.Build.0 = Release|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Release|Win32.ActiveCfg = Release|Win32 - {D3DAAD44-FD60-4CC9-8CEC-30D587F42979}.Release|Win32.Build.0 = Release|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Debug|Win32.ActiveCfg = Debug|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Debug|Win32.Build.0 = Debug|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Release|Any CPU.ActiveCfg = Release|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Release|Mixed Platforms.Build.0 = Release|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Release|Win32.ActiveCfg = Release|Win32 - {44414C6A-4683-4280-9A64-E90B10D4B61B}.Release|Win32.Build.0 = Release|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Debug|Win32.ActiveCfg = Debug|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Debug|Win32.Build.0 = Debug|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Release|Any CPU.ActiveCfg = Release|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Release|Mixed Platforms.Build.0 = Release|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Release|Win32.ActiveCfg = Release|Win32 - {88064B86-8C37-43D1-A960-FFAAE82432E4}.Release|Win32.Build.0 = Release|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Debug|Win32.ActiveCfg = Debug|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Debug|Win32.Build.0 = Debug|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Release|Any CPU.ActiveCfg = Release|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Release|Mixed Platforms.Build.0 = Release|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Release|Win32.ActiveCfg = Release|Win32 - {6C33AA12-1309-4FCA-BCE8-C3A9520AA9BF}.Release|Win32.Build.0 = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Win32.ActiveCfg = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Win32.Build.0 = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Any CPU.ActiveCfg = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Mixed Platforms.Build.0 = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Win32.ActiveCfg = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Win32.Build.0 = Release|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Debug|Win32.ActiveCfg = Debug|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Debug|Win32.Build.0 = Debug|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Release|Any CPU.ActiveCfg = Release|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Release|Mixed Platforms.Build.0 = Release|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Release|Win32.ActiveCfg = Release|Win32 - {94EC393E-7CD5-4969-B7B3-829C9A3A4D57}.Release|Win32.Build.0 = Release|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Debug|Win32.ActiveCfg = Debug|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Debug|Win32.Build.0 = Debug|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Release|Any CPU.ActiveCfg = Release|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Release|Mixed Platforms.Build.0 = Release|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Release|Win32.ActiveCfg = Release|Win32 - {5A06F861-0EFF-417B-89C3-963A172CE6EE}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum/Platinum.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum/Platinum.vcproj deleted file mode 100644 index 6bb3c369b9..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/Platinum/Platinum.vcproj +++ /dev/null @@ -1,584 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="Platinum" - ProjectGUID="{568611D3-AFA7-4294-99C1-E9AED0D8057E}" - RootNamespace="Platinum" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="4" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\..\Neptune\Source\Core;..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect" - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - BufferSecurityCheck="true" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - OutputFile="$(OutDir)/Platinum.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="4" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\..\Neptune\Source\Core;..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect" - PreprocessorDefinitions="WIN32;NDEBUG;_LIB;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - OutputFile="$(OutDir)/Platinum.lib" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{D5F7DD40-709C-455b-A225-F1917F8750A3}" - > - <Filter - Name="Core" - > - <File - RelativePath="..\..\..\..\Source\Core\PltAction.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltArgument.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltConstants.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltCtrlPoint.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltCtrlPointTask.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltDatagramStream.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltDeviceData.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltDeviceHost.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltEvent.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltHttp.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltHttpClientTask.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltHttpServer.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltHttpServerTask.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltIconsData.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltMimeType.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltProtocolInfo.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltService.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltSsdp.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltStateVariable.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltTaskManager.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltThreadTask.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltUPnP.cpp" - > - </File> - </Filter> - <Filter - Name="MediaServer" - > - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\ConnectionManagerSCPD.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\ContentDirectorySCPD.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\ContentDirectorywSearchSCPD.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltDidl.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltFileMediaServer.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltMediaBrowser.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltMediaCache.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltMediaItem.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltMediaServer.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltSyncMediaBrowser.cpp" - > - </File> - </Filter> - <Filter - Name="MediaRenderer" - > - <File - RelativePath="..\..\..\..\Source\Devices\MediaRenderer\AVTransportSCPD.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaRenderer\PltMediaController.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaRenderer\PltMediaRenderer.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaRenderer\RdrConnectionManagerSCPD.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaRenderer\RenderingControlSCPD.cpp" - > - </File> - </Filter> - <Filter - Name="MediaConnect" - > - <File - RelativePath="..\..\..\..\Source\Devices\MediaConnect\PltMediaConnect.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaConnect\PltXbox360.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaConnect\X_MS_MediaReceiverRegistrarSCPD.cpp" - > - </File> - </Filter> - <Filter - Name="Extras" - > - <File - RelativePath="..\..\..\..\Source\Extras\PltDownloader.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltFrameBuffer.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltFrameServer.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltFrameStream.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltLeaks.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltMetadataHandler.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltRingBufferStream.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltStreamPump.cpp" - > - </File> - </Filter> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{564B3B10-7EA5-4cb8-AE61-F5C00342EBCE}" - > - <Filter - Name="Core" - > - <File - RelativePath="..\..\..\..\Source\Platinum\Platinum.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltAction.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltArgument.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltConstants.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltCtrlPoint.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltCtrlPointTask.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltDatagramStream.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltDeviceData.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltDeviceHost.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltEvent.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltHttp.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltHttpClientTask.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltHttpServer.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltHttpServerTask.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltService.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltSsdp.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltStateVariable.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Platinum\PltSvnVersion.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltTaskManager.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltThreadTask.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltUPnP.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltUPnPHelper.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Platinum\PltVersion.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltXmlHelper.h" - > - </File> - </Filter> - <Filter - Name="MediaServer" - > - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltDidl.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltFileMediaServer.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltMediaBrowser.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltMediaCache.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltMediaItem.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltMediaServer.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltMimeType.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Core\PltProtocolInfo.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaServer\PltSyncMediaBrowser.h" - > - </File> - </Filter> - <Filter - Name="MediaRenderer" - > - <File - RelativePath="..\..\..\..\Source\Devices\MediaRenderer\PltMediaController.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaRenderer\PltMediaRenderer.h" - > - </File> - </Filter> - <Filter - Name="MediaConnect" - > - <File - RelativePath="..\..\..\..\Source\Devices\MediaConnect\PltMediaConnect.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Devices\MediaConnect\PltXbox360.h" - > - </File> - </Filter> - <Filter - Name="Extras" - > - <File - RelativePath="..\..\..\..\Source\Extras\PltDownloader.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltFrameBuffer.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltFrameServer.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltFrameStream.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltLeaks.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltMetadataHandler.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltRingBufferStream.h" - > - </File> - <File - RelativePath="..\..\..\..\Source\Extras\PltStreamPump.h" - > - </File> - </Filter> - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{D679E99D-9E2C-4288-A353-B64B3A54D93F}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/PlatinumManaged.sln b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/PlatinumManaged.sln deleted file mode 100644 index ec9d3843d1..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/PlatinumManaged.sln +++ /dev/null @@ -1,81 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Platinum.Managed", "Platinum.Managed\Platinum.Managed.vcproj", "{8AA224CC-41AA-44EC-802E-F71E8F272D1E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Platinum.Managed.MediaServerTest", "Platinum.Managed.MediaServerTest\Platinum.Managed.MediaServerTest.csproj", "{F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}" - ProjectSection(ProjectDependencies) = postProject - {8AA224CC-41AA-44EC-802E-F71E8F272D1E} = {8AA224CC-41AA-44EC-802E-F71E8F272D1E} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Platinum.Managed.SsdpTest", "Platinum.Managed.SsdpTest\Platinum.Managed.SsdpTest.csproj", "{BE0A8A03-7EBA-438D-A60D-11AC101CD766}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Platinum", "Platinum\Platinum.vcproj", "{568611D3-AFA7-4294-99C1-E9AED0D8057E}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Neptune", "..\..\..\..\Neptune\Build\Targets\x86-microsoft-win32-vs2008\Neptune\Neptune.vcproj", "{12AFF2E5-6D95-4809-9728-9551677C078A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Win32 = Debug|Win32 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Debug|Win32.ActiveCfg = Debug|Win32 - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Debug|Win32.Build.0 = Debug|Win32 - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Release|Any CPU.ActiveCfg = Release|Win32 - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Release|Mixed Platforms.Build.0 = Release|Win32 - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Release|Win32.ActiveCfg = Release|Win32 - {8AA224CC-41AA-44EC-802E-F71E8F272D1E}.Release|Win32.Build.0 = Release|Win32 - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Debug|Win32.ActiveCfg = Debug|Any CPU - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Release|Any CPU.Build.0 = Release|Any CPU - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {F0AAE0D9-FA94-47EE-B823-9D997B42CEAD}.Release|Win32.ActiveCfg = Release|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Debug|Win32.ActiveCfg = Debug|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Release|Any CPU.Build.0 = Release|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {BE0A8A03-7EBA-438D-A60D-11AC101CD766}.Release|Win32.ActiveCfg = Release|Any CPU - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Win32.ActiveCfg = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Debug|Win32.Build.0 = Debug|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Any CPU.ActiveCfg = Release|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Mixed Platforms.Build.0 = Release|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Win32.ActiveCfg = Release|Win32 - {568611D3-AFA7-4294-99C1-E9AED0D8057E}.Release|Win32.Build.0 = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Win32.ActiveCfg = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Debug|Win32.Build.0 = Debug|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Any CPU.ActiveCfg = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Mixed Platforms.Build.0 = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Win32.ActiveCfg = Release|Win32 - {12AFF2E5-6D95-4809-9728-9551677C078A}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/SimpleTest/SimpleTest.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/SimpleTest/SimpleTest.vcproj deleted file mode 100644 index a029baf781..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/SimpleTest/SimpleTest.vcproj +++ /dev/null @@ -1,205 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="SimpleTest" - ProjectGUID="{88064B86-8C37-43D1-A960-FFAAE82432E4}" - RootNamespace="SimpleTest" - Keyword="Win32Proj" - TargetFrameworkVersion="196613" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - LinkIncremental="2" - GenerateDebugInformation="true" - SubSystem="1" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - CharacterSet="2" - WholeProgramOptimization="1" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="2" - EnableIntrinsicFunctions="true" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - EnableFunctionLevelLinking="true" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - LinkIncremental="1" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Tests\Simple\PltSimple.cpp" - > - </File> - <File - RelativePath="..\..\..\..\Source\Tests\Simple\SimpleTest.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - <File - RelativePath="..\..\..\..\Source\Tests\Simple\PltSimple.h" - > - </File> - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/SsdpProxy/SsdpProxy.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/SsdpProxy/SsdpProxy.vcproj deleted file mode 100644 index 39ca32c985..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/SsdpProxy/SsdpProxy.vcproj +++ /dev/null @@ -1,209 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="SsdpProxy" - ProjectGUID="{8516247D-0FFC-4E76-8B6B-EB8C52B94D2E}" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Core;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - Detect64BitPortabilityProblems="false" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="ws2_32.lib" - OutputFile="$(OutDir)/SsdpProxy.exe" - LinkIncremental="2" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(OutDir)/SsdpProxy.pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\Debug"
copy "$(TargetPath)" "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\Debug\$(TargetFileName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Core;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - Detect64BitPortabilityProblems="false" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="ws2_32.lib" - OutputFile="$(OutDir)/SsdpProxy.exe" - LinkIncremental="1" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\Release"
copy "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\Release\$(TargetFileName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Tools\SsdpProxy\SsdpProxy.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - <File - RelativePath="..\..\..\..\Source\Tools\SsdpProxy\SsdpProxy.h" - > - </File> - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/SsdpTest/SsdpTest1.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/SsdpTest/SsdpTest1.vcproj deleted file mode 100644 index efa8a81264..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/SsdpTest/SsdpTest1.vcproj +++ /dev/null @@ -1,208 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="SsdpTest1" - ProjectGUID="{4098FD0D-82F8-4587-AE6C-BE00DFD2CF7E}" - RootNamespace="SsdpTest" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Core;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_DEBUG;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - Detect64BitPortabilityProblems="false" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="ws2_32.lib" - OutputFile="$(OutDir)/SsdpTest.exe" - LinkIncremental="2" - AdditionalLibraryDirectories=""..\..\..\..\..\ThirdParty\Neptune\Targets\x86-microsoft-win32\lib"" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(OutDir)/SsdpTest.pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\Debug"
copy "$(TargetPath)" "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\Debug\$(TargetFileName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Core;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - Detect64BitPortabilityProblems="false" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="ws2_32.lib" - OutputFile="$(OutDir)/SsdpTest.exe" - LinkIncremental="1" - AdditionalLibraryDirectories=""..\..\..\..\..\ThirdParty\Neptune\Targets\x86-microsoft-win32\lib"" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\Release"
copy "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\Release\$(TargetFileName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" - > - <File - RelativePath="..\..\..\..\Source\Tests\Ssdp\SsdpTest1.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/TimeTest/TimeTest.vcproj b/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/TimeTest/TimeTest.vcproj deleted file mode 100644 index 59a9b5f9d2..0000000000 --- a/lib/libUPnP/Platinum/Build/Targets/x86-microsoft-win32-vs2008/TimeTest/TimeTest.vcproj +++ /dev/null @@ -1,204 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="TimeTest" - ProjectGUID="{94EC393E-7CD5-4969-B7B3-829C9A3A4D57}" - RootNamespace="TimeTest" - Keyword="Win32Proj" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;NPT_DEBUG;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - MinimalRebuild="true" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="4" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/TimeTest.exe" - LinkIncremental="2" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="$(SolutionDir)$(ConfigurationName)" - IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - AdditionalIncludeDirectories="..\..\..\..\Source\Platinum;..\..\..\..\Source\Core;..\..\..\..\Source\Extras;..\..\..\..\Source\Devices\MediaServer;..\..\..\..\Source\Devices\MediaRenderer;..\..\..\..\Source\Devices\MediaConnect;..\..\..\..\..\Neptune\Source\Core" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;NPT_CONFIG_ENABLE_LOGGING;_CRT_SECURE_NO_DEPRECATE" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - DebugInformationFormat="3" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/TimeTest.exe" - LinkIncremental="1" - AdditionalLibraryDirectories="" - GenerateDebugInformation="true" - SubSystem="1" - OptimizeReferences="2" - EnableCOMDATFolding="2" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - CommandLine="mkdir "$(ProjectDir)..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
xcopy /Y "$(TargetPath)" "$(ProjectDir)\..\..\..\..\Targets\x86-microsoft-win32-vs2008\$(ConfigurationName)"
" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{E7C09619-E40C-4c31-A936-0AF5B540F182}" - > - <File - RelativePath="..\..\..\..\Source\Tests\Time\TimeTest1.cpp" - > - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" - > - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{7CD7C546-2A2E-4a2f-95F0-A0094A3AE148}" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-unknown-cygwin/Config.scons b/lib/libUPnP/Platinum/Build/Targets/x86-unknown-cygwin/Config.scons index e4346b927d..9f2c801a5d 100644 --- a/lib/libUPnP/Platinum/Build/Targets/x86-unknown-cygwin/Config.scons +++ b/lib/libUPnP/Platinum/Build/Targets/x86-unknown-cygwin/Config.scons @@ -1,4 +1,4 @@ LoadTool('gcc-generic', env) ### Neptune System Files -env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp'}
\ No newline at end of file +env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp', 'System/Null':'NptNullAutoreleasePool.cpp'}
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Build/Targets/x86-unknown-linux/Config.scons b/lib/libUPnP/Platinum/Build/Targets/x86-unknown-linux/Config.scons index 006a40f441..a8824bc695 100644 --- a/lib/libUPnP/Platinum/Build/Targets/x86-unknown-linux/Config.scons +++ b/lib/libUPnP/Platinum/Build/Targets/x86-unknown-linux/Config.scons @@ -1,5 +1,5 @@ LoadTool('gcc-generic', env) ### Neptune System Files -env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp'} +env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Bsd':'*.cpp', 'System/Posix':'*.cpp', 'System/Null':'NptNullAutoreleasePool.cpp NptNullSerialPort.cpp'} env['NPT_EXTRA_LIBS']=['pthread'] diff --git a/lib/libUPnP/Platinum/README.md b/lib/libUPnP/Platinum/README.md new file mode 100644 index 0000000000..6a1c11f75c --- /dev/null +++ b/lib/libUPnP/Platinum/README.md @@ -0,0 +1,131 @@ +#PLATINUM UPNP SDK [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Build Status](https://travis-ci.org/plutinosoft/Platinum.svg?branch=master)](https://travis-ci.org/plutinosoft/Platinum) + +This toolkit consists of 2 modules: +* Neptune : a C++ Runtime Library +* Platinum: a modular UPnP Framework [Platinum depends on Neptune] + +Unless you intend to use Neptune independently from Platinum, it is recommended that you build binaries directly from the Platinum root directory. All the dependent binaries will be rebuilt automatically (including Neptune). + +#Building SDK and Sample Applications + +## Windows: +Open the Visual Studio 2010 solution located @ Build\Targets\x86-microsoft-win32-vs2010\Platinum.sln + +## Mac, iOS: +First install carthage (https://github.com/Carthage/Carthage) +``` +> brew update || brew install carthage +``` +Build Neptune & Platinum frameworks +``` +> carthage bootstrap +> carthage build --no-skip-current +``` + +Both Neptune and Platinum frameworks binaries can be found under Carthage/Build folders which you can link with your applications. +Follow the instructions on the [carthage page](https://github.com/Carthage/Carthage). +If you are building for iOS, special [instructions here](https://github.com/Carthage/Carthage#if-youre-building-for-ios). + +If you are interested in building sample apps or tests, you can also open the XCode project file located @ Build/Targets/universal-apple-macosx/Platinum.xcodeproj. + +## Linux, Cygwin, etc ... +Open a shell, go to the Platinum root directory and type 'scons' (http://scons.org). +``` +> brew update || brew install scons +> git submodule update --init +> scons target={TARGET} build_config={Debug|Release} +``` +The output of the scons build will be found under Build/Targets/{TARGET}/{Debug|Release}. +Additionally, the output is copied under Targets/{TARGET}/{Debug|Release} for convenience when applicable. + +#Running Sample Applications + +## FileMediaServerTest +This is an example of a UPnP MediaServer. Given a path, it allows a UPnP ControlPoint to browse the content of the directory and its sub-directories. Additionally, files can be streamed (Note that only files with known mimetypes are advertised). + +``` +FileMediaServerTest [-f <friendly_name>] <path> + -f : optional upnp server friendly name + <path> : local path to serve +``` + +Once started, type 'q' to quit. + +## MediaRendererTest +This is an example shell of a UPnP MediaRenderer. It is to be contolled by a UPnP ControlPoint. This is just a SHELL, this won't play anything yet. You need to hook up the playback functionality yourself. + +``` +MediaRendererTest [-f <friendly_name>] + -f : optional upnp server friendly name +``` + +Once started, type 'q' to quit. + +## MediaCrawler +This is a combo UPnP MediaServer + ControlPoint. It browses content from other MediaServers it finds on the network and present them under one single aggregated view. This is useful for some devices that need to select one single MediaServer at boot time (i.e. Roku). + +Once started, type 'q' to quit. + +## MicroMediaController +This is a ControlPoint (synchronous) that lets you browse any MediaServer using a shell-like interface. Once started, a command prompt lets you enter commands such as: +``` + quit - shutdown + exit - same as quit + setms - select a media server to become the active media server + getms - print the friendly name of the active media server + ls - list the contents of the current directory on the active + media server + cd - traverse down one level in the content tree on the active + media server + cd .. - traverse up one level in the content tree on the active + media server + pwd - print the path from the root to your current position in the + content tree on the active media server +``` + +Experimental MediaRenderer commands (not yet full implemented): +``` + setmr - select a media renderer to become the active media renderer + getmr - print the friendly name of the active media renderer + open - set the uri on the active media renderer + play - play the active uri on the active media renderer + stop - stop the active uri on the active media renderer +``` + +## MediaConnect +This is a derived implementation of the FileMediaServerTest with the only difference that it makes it visible to a XBox 360. + +## MediaServerCocoaTest +A basic cocoa test server app showing how to use the Platinum framework on Mac OSX. + +#Language Bindings + +## Objective-C +Under Source/Extras/ObjectiveC + +## C++/CLR +Under Source/Extras/Managed + +## Android Java/JNI +To build the JNI shared library, you will need to install the Android NDK and set up the proper environment variables such as ANDROID_NDK_ROOT. +``` +> scons target=arm-android-linux build_config=Release +> cd Source/Platform/Android/module/platinum +> ndk-build NDK_DEBUG=0 +``` + +This will create the libplatinum-jni.so files under the Source/Platform/Android/module/platinum/libs folder. +You can then import eclipse Android .project located @ Source/Platform/Android/modules/platinum to create the jar file @ Source/Platform/Android/modules/platinum/bin/platinum.jar + +To Test the Platinum jni layer, import into eclipse both Android projects located @ Source/Platform/Android/samples/sample-upnp & Source/Platform/Android/modules/platinum. + +#Contributing + +We're glad you're interested in Platinum, and we'd love to see where you take it. + +Any contributors to the master Platinum repository must sign the [Individual Contributor License Agreement (CLA)](https://docs.google.com/forms/d/1-SuyEu0LfYuhY3kKDDdfdYn5cmTU2lrQRSQSDHau4PI/viewform). +It's a short form that covers our bases and makes sure you're eligible to contribute. + +When you have a change you'd like to see in the master repository, [send a pull request](https://github.com/plutinosoft/Platinum/pulls). Before we merge your request, we'll make sure you're in the list of people who have signed a CLA. + +Thanks! diff --git a/lib/libUPnP/Platinum/README.txt b/lib/libUPnP/Platinum/README.txt deleted file mode 100644 index 23e116c658..0000000000 --- a/lib/libUPnP/Platinum/README.txt +++ /dev/null @@ -1,117 +0,0 @@ -Platinum UPnP SDK -================= - -This toolkit consists of 2 modules: -* Neptune : a C++ Runtime Library -* Platinum: a modular UPnP Framework [Platinum uses Neptune] - -Unless you intend to use Neptune independently from Platinum, it is recommended that you build binaries directly from the "Build" tree of Platinum. All the dependent binaries will be rebuilt automatically (including Neptune). - ---------------------------------------------- -BUILDING SDK & SAMPLE APPLICATIONS - -* Windows: -Open the Visual Studio 2008 solution located @ Platinum\Build\Targets\x86-microsoft-win32-vs2008\Platinum.sln - -* MacOSX, iOS: -Open the XCode project file located @ Platinum/Build/Targets/universal-apple-macosx/Platinum.xcodeproj -To include Platinum to your XCode projects, simply add the project file then add Platinum as a Target Dependency as well as libPlatinum.lib in Link Binaries. -Alternatively, you can build the Platinum.Framework using the PlatinumFramework target and add it to your project. - -* Linux, Cygwin, MacOSX, iOS -Open a shell, go to the Platinum root directory and type 'scons' (http://scons.org). -The output of the scons build will be found under Platinum/Build/Targets/{TARGET}/{Debug|Release}. -Additionally, the output is copied under Platinum/Targets/{TARGET}/{Debug|Release} for convenience when applicable. - -Command Line Examples: -Builds libPlatinum.a, Platinum.Framework on both OSX & iOS using Xcode. Apps & Tests on OSX only. -[The framework for OSX is i386 and x86_64 compatible, the iOS version is armv6, armv7 and i386 compatible so you can link with it and run your app on device and simulator] -> scons target=universal-apple-macosx-xcode build_config=Release - -Builds Platinum.lib, Tests & Apps for Windows -> scons target=x86-microsoft-win32 build_config=Release - ---------------------------------------------- -RUNNING SAMPLE APPLICATIONS - -* FileMediaServerTest ---------------------- -This is an example of a UPnP MediaServer. Given a path, it allows a UPnP ControlPoint to browse the content of the directory and its sub-directories. Additionally, files can be streamed (Note that only files with known mimetypes are advertised). - -usage: FileMediaServerTest [-f <friendly_name>] <path> - -f : optional upnp server friendly name - <path> : local path to serve - -Once started, type 'q' to quit. - -* MediaRendererTest -------------------- -This is an example shell of a UPnP MediaRenderer. It is to be contolled by a UPnP ControlPoint. This is just a SHELL, this won't play anything yet. You need to hook up the playback functionality yourself. - -usage: MediaRendererTest [-f <friendly_name>] - -f : optional upnp server friendly name - -Once started, type 'q' to quit. - -* MediaCrawler --------------- -This is a combo UPnP MediaServer + ControlPoint. It browses content from other MediaServers it finds on the network and present them under one single aggregated view. This is useful for some devices that need to select one single MediaServer at boot time (i.e. Roku). - -Once started, type 'q' to quit. - -* MicroMediaController ----------------------- -This is a ControlPoint (synchronous) that lets you browse any MediaServer using a shell-like interface. Once started, a command prompt lets you enter commands such as: - quit - shutdown - exit - same as quit - setms - select a media server to become the active media server - getms - print the friendly name of the active media server - ls - list the contents of the current directory on the active - media server - cd - traverse down one level in the content tree on the active - media server - cd .. - traverse up one level in the content tree on the active - media server - pwd - print the path from the root to your current position in the - content tree on the active media server - -Experimental MediaRenderer commands (not yet full implemented): - setmr - select a media renderer to become the active media renderer - getmr - print the friendly name of the active media renderer - open - set the uri on the active media renderer - play - play the active uri on the active media renderer - stop - stop the active uri on the active media renderer - -* MediaConnect --------------- -This is a derived implementation of the FileMediaServerTest with the only difference that it makes it visible to a XBox 360. - -* MediaServerCocoaTest ----------------------- -A basic cocoa test server app showing how to use the Platinum framework on Mac OSX. - ---------------------------------------------- -LANGUAGE BINDINGS - -* Objective-C -------------- -Under Source/Extras/ObjectiveC - -* C++/CLR ---------- -Under Source/Extras/Managed - -* Android Java/JNI ------------------- -To build the JNI shared library, you will need to have installed the Android NDK and set up the proper environment variables such as ANDROID_NDK_ROOT. -> cd <PlatinumKit>/Platinum -> scons target=arm-android-linux build_config=Release - -> cd <PlatinumKit>/Platinum/Source/Platform/Android/module/platinum -> ndk-build NDK_DEBUG=0 - -> import eclipse Android .project located @ <PlatinumKit>/Platinum/Source/Platform/Android/modules/platinum/ -This will create the jar file @ <PlatinumKit>/Platinum/Source/Platform/Android/modules/platinum/bin/platinum.jar - -> To Test the Platinum jni layer, import into eclipse both Android projects located @ <PlatinumKit>/Platinum/Source/Platform/Android/samples/sample-upnp & <PlatinumKit>/Platinum/Source/Platform/Android/modules/platinum. - diff --git a/lib/libUPnP/Platinum/Source/Apps/MediaCrawler/MediaCrawler.cpp b/lib/libUPnP/Platinum/Source/Apps/MediaCrawler/MediaCrawler.cpp index 95593b8dba..ed0c726399 100644 --- a/lib/libUPnP/Platinum/Source/Apps/MediaCrawler/MediaCrawler.cpp +++ b/lib/libUPnP/Platinum/Source/Apps/MediaCrawler/MediaCrawler.cpp @@ -495,7 +495,7 @@ CMediaCrawler::ProcessFileRequest(NPT_HttpRequest& request, { NPT_COMPILER_UNUSED(context); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINE, "CMediaCrawler::ProcessFileRequest:", &request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINE, "CMediaCrawler::ProcessFileRequest:", &request); if (request.GetMethod().Compare("GET", true) && request.GetMethod().Compare("HEAD", true)) { response.SetStatus(500, "Internal Server Error"); diff --git a/lib/libUPnP/Platinum/Source/Apps/MediaCrawler/StreamHandler.h b/lib/libUPnP/Platinum/Source/Apps/MediaCrawler/StreamHandler.h index 6042a983c6..1f03fde2d0 100644 --- a/lib/libUPnP/Platinum/Source/Apps/MediaCrawler/StreamHandler.h +++ b/lib/libUPnP/Platinum/Source/Apps/MediaCrawler/StreamHandler.h @@ -38,10 +38,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptStreams.h" -#include "NptStrings.h" -#include "NptTime.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | forward declarations diff --git a/lib/libUPnP/Platinum/Source/Apps/MicroMediaController/PltMicroMediaController.h b/lib/libUPnP/Platinum/Source/Apps/MicroMediaController/PltMicroMediaController.h index 77a91a1ff2..c5b17bfb3f 100644 --- a/lib/libUPnP/Platinum/Source/Apps/MicroMediaController/PltMicroMediaController.h +++ b/lib/libUPnP/Platinum/Source/Apps/MicroMediaController/PltMicroMediaController.h @@ -42,8 +42,7 @@ #include "PltMediaServer.h" #include "PltSyncMediaBrowser.h" #include "PltMediaController.h" -#include "NptMap.h" -#include "NptStack.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | definitions diff --git a/lib/libUPnP/Platinum/Source/Apps/MicroMediaController/main.cpp b/lib/libUPnP/Platinum/Source/Apps/MicroMediaController/main.cpp index 20e5e32585..4813db0dfd 100644 --- a/lib/libUPnP/Platinum/Source/Apps/MicroMediaController/main.cpp +++ b/lib/libUPnP/Platinum/Source/Apps/MicroMediaController/main.cpp @@ -57,7 +57,7 @@ int main(void) { // setup Neptune logging - NPT_LogManager::GetDefault().Configure("plist:.level=FINE;.handlers=ConsoleHandler;.ConsoleHandler.colors=off;.ConsoleHandler.filter=24"); + NPT_LogManager::GetDefault().Configure("plist:.level=INFO;.handlers=ConsoleHandler;.ConsoleHandler.colors=off;.ConsoleHandler.filter=24"); // Create upnp engine PLT_UPnP upnp; @@ -101,9 +101,9 @@ int main(void) #ifdef SIMULATE_XBOX_360 // override default headers - NPT_HttpClient::m_UserAgentHeader = "Xbox/2.0.8955.0 UPnP/1.0 Xbox/2.0.8955.0"; - NPT_HttpServer::m_ServerHeader = "Xbox/2.0.8955.0 UPnP/1.0 Xbox/2.0.8955.0"; - + PLT_Constants::GetInstance().SetDefaultUserAgent("Xbox/2.0.8955.0 UPnP/1.0 Xbox/2.0.8955.0"); +// NPT_HttpServer::m_ServerHeader = "Xbox/2.0.8955.0 UPnP/1.0 Xbox/2.0.8955.0"; + // create device PLT_DeviceHostReference xbox(new PLT_Xbox360("30848576-1775-2000-0000-00125a8fefad")); xbox->SetByeByeFirst(false); @@ -119,10 +119,10 @@ int main(void) ctrlPoint->Search( NPT_HttpUrl("239.255.255.250", 1900, "*"), - "urn:schemas-microsoft-com:service:MSContentDirectory:1", 2, 10000, NPT_TimeInterval(10, 0)); + "urn:schemas-microsoft-com:service:MSContentDirectory:1", 2, NPT_TimeInterval(10.), NPT_TimeInterval(10.)); ctrlPoint->Search( NPT_HttpUrl("239.255.255.250", 1900, "*"), - "urn:schemas-upnp-org:service:ContentDirectory:1", 2, 10000, NPT_TimeInterval(10, 0)); + "urn:schemas-upnp-org:service:ContentDirectory:1", 2, NPT_TimeInterval(10.), NPT_TimeInterval(10.)); #endif diff --git a/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/AppDelegate.h b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/AppDelegate.h new file mode 100644 index 0000000000..4c061b4c76 --- /dev/null +++ b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/AppDelegate.h @@ -0,0 +1,17 @@ +// +// AppDelegate.h +// MobileMediaServer +// +// Created by Sylvain Rebaud on 3/10/15. +// +// + +#import <UIKit/UIKit.h> + +@interface AppDelegate : UIResponder <UIApplicationDelegate> + +@property (strong, nonatomic) UIWindow *window; + + +@end + diff --git a/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/AppDelegate.m b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/AppDelegate.m new file mode 100644 index 0000000000..49e7db5c4d --- /dev/null +++ b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/AppDelegate.m @@ -0,0 +1,45 @@ +// +// AppDelegate.m +// MobileMediaServer +// +// Created by Sylvain Rebaud on 3/10/15. +// +// + +#import "AppDelegate.h" + +@interface AppDelegate () + +@end + +@implementation AppDelegate + + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + // Override point for customization after application launch. + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application { + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end diff --git a/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/LaunchScreen.xib b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/LaunchScreen.xib new file mode 100644 index 0000000000..92aedf8254 --- /dev/null +++ b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/LaunchScreen.xib @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6751" systemVersion="14D127a" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES"> + <dependencies> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6736"/> + <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <view contentMode="scaleToFill" id="iN0-l3-epB"> + <rect key="frame" x="0.0" y="0.0" width="480" height="480"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye"> + <rect key="frame" x="20" y="439" width="441" height="21"/> + <fontDescription key="fontDescription" type="system" pointSize="17"/> + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> + <nil key="highlightedColor"/> + </label> + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MobileMediaServer" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX"> + <rect key="frame" x="20" y="140" width="441" height="43"/> + <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/> + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> + <nil key="highlightedColor"/> + </label> + </subviews> + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> + <constraints> + <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/> + <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/> + <constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/> + <constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/> + <constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/> + <constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/> + </constraints> + <nil key="simulatedStatusBarMetrics"/> + <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> + <point key="canvasLocation" x="548" y="455"/> + </view> + </objects> +</document> diff --git a/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/Main.storyboard b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/Main.storyboard new file mode 100644 index 0000000000..f56d2f3bb5 --- /dev/null +++ b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/Main.storyboard @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r"> + <dependencies> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/> + </dependencies> + <scenes> + <!--View Controller--> + <scene sceneID="tne-QT-ifu"> + <objects> + <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController"> + <layoutGuides> + <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/> + <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/> + </layoutGuides> + <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> + </view> + </viewController> + <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> + </objects> + </scene> + </scenes> +</document> diff --git a/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/ViewController.h b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/ViewController.h new file mode 100644 index 0000000000..9f253abdd2 --- /dev/null +++ b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/ViewController.h @@ -0,0 +1,14 @@ +// +// ViewController.h +// MobileMediaServer +// +// Created by Sylvain Rebaud on 3/10/15. +// +// + +#import <UIKit/UIKit.h> + +@interface ViewController : UIViewController + +@end + diff --git a/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/ViewController.mm b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/ViewController.mm new file mode 100644 index 0000000000..33d715c49a --- /dev/null +++ b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/ViewController.mm @@ -0,0 +1,70 @@ +// +// ViewController.m +// MobileMediaServer +// +// Created by Sylvain Rebaud on 3/10/15. +// +// + +#import "ViewController.h" +#import <Neptune/Neptune.h> +#import <Platinum/PltUPnPObject.h> +#import <Platinum/PltMediaServerObject.h> + +@interface ViewController () <PLT_MediaServerDelegateObject> + +@property (nonatomic) PLT_UPnPObject* upnp; + +@end + +@implementation ViewController + ++ (void)initialize { + NPT_LogManager::GetDefault().Configure("plist:.level=INFO;.handlers=ConsoleHandler;.ConsoleHandler.outputs=1;.ConsoleHandler.filter=61"); +} + +- (void)awakeFromNib { + self.upnp = [[PLT_UPnPObject alloc] init]; + + // create server and add ourselves as the delegate + PLT_MediaServerObject* server = [[PLT_MediaServerObject alloc] init]; + server.delegate = self; + + [self.upnp addDevice:server]; +} + +- (void)viewDidLoad { + [super viewDidLoad]; + + // Do any additional setup after loading the view, typically from a nib. + [self.upnp start]; +} + +- (void)didReceiveMemoryWarning { + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +#pragma mark - PLT_MediaServerDelegateObject + +- (NPT_Result)onBrowseMetadata:(PLT_MediaServerBrowseCapsule*)info +{ + return NPT_FAILURE; +} + +- (NPT_Result)onBrowseDirectChildren:(PLT_MediaServerBrowseCapsule*)info +{ + return NPT_FAILURE; +} + +- (NPT_Result)onSearchContainer:(PLT_MediaServerSearchCapsule*)info +{ + return NPT_FAILURE; +} + +- (NPT_Result)onFileRequest:(PLT_MediaServerFileRequestCapsule*)info +{ + return NPT_FAILURE; +} + +@end diff --git a/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/main.m b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/main.m new file mode 100644 index 0000000000..31847c9f3d --- /dev/null +++ b/lib/libUPnP/Platinum/Source/Apps/MobileMediaServer/main.m @@ -0,0 +1,16 @@ +// +// main.m +// MobileMediaServer +// +// Created by Sylvain Rebaud on 3/10/15. +// +// + +#import <UIKit/UIKit.h> +#import "AppDelegate.h" + +int main(int argc, char * argv[]) { + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/lib/libUPnP/Platinum/Source/Core/PltCtrlPoint.cpp b/lib/libUPnP/Platinum/Source/Core/PltCtrlPoint.cpp index 2871facfb1..bae654572c 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltCtrlPoint.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltCtrlPoint.cpp @@ -235,6 +235,7 @@ public: PLT_CtrlPoint::PLT_CtrlPoint(const char* search_criteria /* = "upnp:rootdevice" */) : m_EventHttpServer(NULL), m_TaskManager(NULL), + m_Lock(true), m_SearchCriteria(search_criteria), m_Started(false) { @@ -371,7 +372,7 @@ PLT_CtrlPoint::CreateSearchTask(const NPT_HttpUrl& url, if (mx<1) mx=1; // create socket - NPT_Reference<NPT_UdpMulticastSocket> socket(new NPT_UdpMulticastSocket()); + NPT_Reference<NPT_UdpMulticastSocket> socket(new NPT_UdpMulticastSocket(NPT_SOCKET_FLAG_CANCELLABLE)); socket->SetInterface(address); socket->SetTimeToLive(PLT_Constants::GetInstance().GetSearchMulticastTimeToLive()); @@ -472,7 +473,7 @@ PLT_CtrlPoint::Discover(const NPT_HttpUrl& url, if (mx<1) mx = 1; // create socket - NPT_UdpSocket* socket = new NPT_UdpSocket(); + NPT_UdpSocket* socket = new NPT_UdpSocket(NPT_SOCKET_FLAG_CANCELLABLE); // create request NPT_HttpRequest* request = new NPT_HttpRequest(url, "M-SEARCH", NPT_HTTP_PROTOCOL_1_1); @@ -871,7 +872,7 @@ PLT_CtrlPoint::ProcessPendingEventNotifications() service = sub->GetService(); // Reprocess notification - NPT_LOG_WARNING_1("Reprocessing delayed notification for subscriber", (const char*)notification->m_SID); + NPT_LOG_WARNING_1("Reprocessing delayed notification for subscriber %s", (const char*)notification->m_SID); NPT_Result result = ProcessEventNotification(sub, notification, vars); delete notification; @@ -904,7 +905,7 @@ PLT_CtrlPoint::ProcessHttpNotify(const NPT_HttpRequest& request, PLT_EventSubscriberReference sub; NPT_Result result; - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, "PLT_CtrlPoint::ProcessHttpNotify:", request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINER, "PLT_CtrlPoint::ProcessHttpNotify:", &request); // Create notification from request PLT_EventNotification* notification = PLT_EventNotification::Parse(request, context, response); @@ -962,7 +963,7 @@ PLT_CtrlPoint::ProcessSsdpSearchResponse(NPT_Result res, NPT_String prefix = NPT_String::Format("PLT_CtrlPoint::ProcessSsdpSearchResponse from %s:%d", (const char*)context.GetRemoteAddress().GetIpAddress().ToString() , context.GetRemoteAddress().GetPort()); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, prefix, response); + PLT_LOG_HTTP_RESPONSE(NPT_LOG_LEVEL_FINER, prefix, response); // any 2xx responses are ok if (response->GetStatusCode()/100 == 2) { @@ -1033,7 +1034,7 @@ PLT_CtrlPoint::ProcessSsdpNotify(const NPT_HttpRequest& request, context.GetRemoteAddress().GetIpAddress().ToString().GetChars(), context.GetRemoteAddress().GetPort(), usn?usn->GetChars():"unknown"); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, prefix, request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINER, prefix, &request); if ((uri.Compare("*") != 0) || (protocol.Compare("HTTP/1.1") != 0)) return NPT_FAILURE; @@ -1341,7 +1342,7 @@ PLT_CtrlPoint::ProcessGetDescriptionResponse(NPT_Result res, NPT_CHECK_POINTER_LABEL_FATAL(response, bad_response); // log response - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, prefix, response); + PLT_LOG_HTTP_RESPONSE(NPT_LOG_LEVEL_FINER, prefix, response); // get response body res = PLT_HttpHelper::GetBody(*response, desc); @@ -1418,7 +1419,7 @@ PLT_CtrlPoint::ProcessGetSCPDResponse(NPT_Result res, NPT_CHECK_LABEL_FATAL(res, bad_response); NPT_CHECK_POINTER_LABEL_FATAL(response, bad_response); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, prefix, response); + PLT_LOG_HTTP_RESPONSE(NPT_LOG_LEVEL_FINER, prefix, response); // make sure root device hasn't disappeared NPT_CHECK_LABEL_WARNING(FindDevice(device->GetUUID(), root_device, true), @@ -1608,7 +1609,7 @@ PLT_CtrlPoint::ProcessSubscribeResponse(NPT_Result res, NPT_AutoLock lock(m_Lock); const NPT_String* sid = NULL; - NPT_Int32 seconds; + NPT_Int32 seconds = -1; PLT_EventSubscriberReference sub; bool subscription = (request.GetMethod().ToUppercase() == "SUBSCRIBE"); @@ -1617,7 +1618,7 @@ PLT_CtrlPoint::ProcessSubscribeResponse(NPT_Result res, (const char*)service->GetServiceID(), res, response?response->GetStatusCode():0); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, prefix, response); + PLT_LOG_HTTP_RESPONSE(NPT_LOG_LEVEL_FINER, prefix, response); // if there's a failure or it's a response to a cancellation // we get out (any 2xx status code ok) @@ -1731,6 +1732,8 @@ PLT_CtrlPoint::ProcessActionResponse(NPT_Result res, PLT_ActionReference& action, void* userdata) { + NPT_COMPILER_UNUSED(request); + NPT_String service_type; NPT_String str; NPT_XmlElementNode* xml = NULL; @@ -1748,6 +1751,7 @@ PLT_CtrlPoint::ProcessActionResponse(NPT_Result res, // check context validity if (NPT_FAILED(res) || response == NULL) { PLT_Service* service = action_desc.GetService(); + NPT_COMPILER_UNUSED(service); NPT_LOG_WARNING_4("Failed to reach %s for %s.%s (%d)", request.GetUrl().ToString().GetChars(), service->GetDevice()->GetUUID().GetChars(), @@ -1756,7 +1760,7 @@ PLT_CtrlPoint::ProcessActionResponse(NPT_Result res, goto failure; } - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, "PLT_CtrlPoint::ProcessActionResponse:", response); + PLT_LOG_HTTP_RESPONSE(NPT_LOG_LEVEL_FINER, "PLT_CtrlPoint::ProcessActionResponse:", response); NPT_LOG_FINER("Reading/Parsing Action Response Body..."); if (NPT_FAILED(PLT_HttpHelper::ParseBody(*response, xml))) { diff --git a/lib/libUPnP/Platinum/Source/Core/PltDatagramStream.cpp b/lib/libUPnP/Platinum/Source/Core/PltDatagramStream.cpp index 431a50afc2..6138007e67 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltDatagramStream.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltDatagramStream.cpp @@ -36,6 +36,9 @@ | includes +---------------------------------------------------------------------*/ #include "PltDatagramStream.h" +#include "NptLogging.h" + +NPT_SET_LOCAL_LOGGER("platinum.inputdatagramstream") /*---------------------------------------------------------------------- | PLT_InputDatagramStream::PLT_InputDatagramStream @@ -76,6 +79,8 @@ PLT_InputDatagramStream::Read(void* buffer, // update info m_Socket->GetInfo(m_Info); m_Info.remote_address = addr; + + NPT_LOG_FINE_1("PLT_InputDatagramStream received %d", m_Buffer.GetDataSize()); } if (bytes_to_read == 0) return res; @@ -93,6 +98,8 @@ PLT_InputDatagramStream::Read(void* buffer, m_BufferOffset = 0; m_Buffer.SetDataSize(0); } + + NPT_LOG_FINE_3("PLT_InputDatagramStream requested %d, consumed %d, left %d", bytes_to_read, _bytes_to_read, m_Buffer.GetDataSize()); } return res; diff --git a/lib/libUPnP/Platinum/Source/Core/PltDeviceData.cpp b/lib/libUPnP/Platinum/Source/Core/PltDeviceData.cpp index 747779a3e9..a092b77833 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltDeviceData.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltDeviceData.cpp @@ -57,8 +57,7 @@ PLT_DeviceData::PLT_DeviceData(NPT_HttpUrl description_url, m_DeviceType(device_type), m_FriendlyName(friendly_name), m_BootId(0), - m_NextBootId(0), - m_ConfigId(-1) + m_NextBootId(0) { if (uuid == NULL || strlen(uuid) == 0) { PLT_UPnPMessageHelper::GenerateGUID(m_UUID); diff --git a/lib/libUPnP/Platinum/Source/Core/PltDeviceHost.cpp b/lib/libUPnP/Platinum/Source/Core/PltDeviceHost.cpp index 6fbe7a7fd5..b6de5c202d 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltDeviceHost.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltDeviceHost.cpp @@ -392,7 +392,7 @@ PLT_DeviceHost::SetupResponse(NPT_HttpRequest& request, NPT_String method = request.GetMethod(); NPT_String protocol = request.GetProtocol(); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, "PLT_DeviceHost::SetupResponse:", &request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINER, "PLT_DeviceHost::SetupResponse:", &request); if (method.Compare("POST") == 0) { return ProcessHttpPostRequest(request, context, response); @@ -807,7 +807,7 @@ PLT_DeviceHost::OnSsdpPacket(const NPT_HttpRequest& request, NPT_String prefix = NPT_String::Format("PLT_DeviceHost::OnSsdpPacket M-SEARCH for %s from %s:%d", st?st->GetChars():"Unknown", (const char*) ip_address, remote_port); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, prefix, request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINE, prefix, &request); /* // DLNA 7.2.3.5 support @@ -836,7 +836,12 @@ PLT_DeviceHost::OnSsdpPacket(const NPT_HttpRequest& request, PLT_SsdpDeviceSearchResponseTask* task = new PLT_SsdpDeviceSearchResponseTask(this, context.GetRemoteAddress(), *st); m_TaskManager->StartTask(task, &timer); return NPT_SUCCESS; - } + } else { + NPT_String prefix = NPT_String::Format("Ignoring %s request from %s:%d", + method.GetChars(), + (const char*) ip_address, remote_port); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINE, prefix, &request); + } return NPT_FAILURE; } diff --git a/lib/libUPnP/Platinum/Source/Core/PltEvent.cpp b/lib/libUPnP/Platinum/Source/Core/PltEvent.cpp index 0defb73c30..7bc699baf3 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltEvent.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltEvent.cpp @@ -55,7 +55,7 @@ PLT_EventNotification::Parse(const NPT_HttpRequest& request, { NPT_COMPILER_UNUSED(context); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, "PLT_CtrlPoint::ProcessHttpNotify:", request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINER, "PLT_CtrlPoint::ProcessHttpNotify:", &request); PLT_EventNotification *notification = new PLT_EventNotification(); notification->m_RequestUrl = request.GetUrl(); diff --git a/lib/libUPnP/Platinum/Source/Core/PltHttp.cpp b/lib/libUPnP/Platinum/Source/Core/PltHttp.cpp index 644859917c..41159bed5b 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltHttp.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltHttp.cpp @@ -69,28 +69,6 @@ class NPT_HttpHeaderFinder }; /*---------------------------------------------------------------------- -| NPT_HttpHeaderPrinter -+---------------------------------------------------------------------*/ -class NPT_HttpHeaderPrinter -{ -public: - // methods - NPT_HttpHeaderPrinter(NPT_OutputStreamReference& stream) : - m_Stream(stream) {} - NPT_Result operator()(NPT_HttpHeader*& header) const { - m_Stream->WriteString(header->GetName()); - m_Stream->Write(": ", 2); - m_Stream->WriteString(header->GetValue()); - m_Stream->Write("\r\n", 2, NULL); - return NPT_SUCCESS; - } - -private: - // members - NPT_OutputStreamReference& m_Stream; -}; - -/*---------------------------------------------------------------------- | NPT_HttpHeaderLogger +---------------------------------------------------------------------*/ class NPT_HttpHeaderLogger @@ -321,48 +299,6 @@ PLT_HttpHelper::SetHost(NPT_HttpRequest& request, const char* host) } /*---------------------------------------------------------------------- -| PLT_HttpHelper::ToLog -+---------------------------------------------------------------------*/ -NPT_Result -PLT_HttpHelper::ToLog(NPT_LoggerReference logger, - int level, - const char* prefix, - NPT_HttpRequest* request) -{ - if (!request) { - NPT_LOG_L(logger, level, "NULL HTTP Request!"); - return NPT_FAILURE; - } - - return ToLog(logger, level, prefix, *request); -} - -/*---------------------------------------------------------------------- -| PLT_HttpHelper::ToLog -+---------------------------------------------------------------------*/ -NPT_Result -PLT_HttpHelper::ToLog(NPT_LoggerReference logger, - int level, - const char* prefix, - const NPT_HttpRequest& request) -{ - NPT_COMPILER_UNUSED(logger); - NPT_COMPILER_UNUSED(level); - - NPT_StringOutputStreamReference stream(new NPT_StringOutputStream); - NPT_OutputStreamReference output = stream; - request.GetHeaders().GetHeaders().Apply(NPT_HttpHeaderPrinter(output)); - - NPT_LOG_L5(logger, level, "%s\n%s %s %s\n%s", - prefix, - (const char*)request.GetMethod(), - (const char*)request.GetUrl().ToRequestString(true), - (const char*)request.GetProtocol(), - (const char*)stream->GetString()); - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- | PLT_HttpHelper::GetDeviceSignature +---------------------------------------------------------------------*/ PLT_DeviceSignature @@ -371,10 +307,14 @@ PLT_HttpHelper::GetDeviceSignature(const NPT_HttpRequest& request) const NPT_String* agent = request.GetHeaders().GetHeaderValue(NPT_HTTP_HEADER_USER_AGENT); const NPT_String* hdr = request.GetHeaders().GetHeaderValue("X-AV-Client-Info"); const NPT_String* server = request.GetHeaders().GetHeaderValue(NPT_HTTP_HEADER_SERVER); + const NPT_String* dlna_friendly_name = request.GetHeaders().GetHeaderValue("FriendlyName.DLNA.ORG"); + NPT_LOG_FINEST_2("agent: %s, server: %s", agent?agent->GetChars():"none", server?server->GetChars():"none"); if ((agent && (agent->Find("XBox", 0, true) >= 0 || agent->Find("Xenon", 0, true) >= 0)) || (server && server->Find("Xbox", 0, true) >= 0)) { - return PLT_DEVICE_XBOX; + return PLT_DEVICE_XBOX_360; + } else if(dlna_friendly_name && (dlna_friendly_name->Find("XBOX-ONE", 0, true) >= 0)) { + return PLT_DEVICE_XBOX_ONE; } else if (agent && (agent->Find("Windows Media Player", 0, true) >= 0 || agent->Find("Windows-Media-Player", 0, true) >= 0 || agent->Find("Mozilla/4.0", 0, true) >= 0 || agent->Find("WMFSDK", 0, true) >= 0)) { return PLT_DEVICE_WMP; } else if (agent && (agent->Find("Sonos", 0, true) >= 0)) { @@ -389,55 +329,13 @@ PLT_HttpHelper::GetDeviceSignature(const NPT_HttpRequest& request) } else if (agent && (agent->Find("VLC", 0, true) >= 0 || agent->Find("VideoLan", 0, true) >= 0)) { return PLT_DEVICE_VLC; } else { - NPT_LOG_FINER_1("Unknown device signature (ua=%s)", agent?agent->GetChars():"none"); + NPT_LOG_FINER_2("Unknown device signature (ua=%s, server=%s)", agent?agent->GetChars():"none", server?server->GetChars():"none"); } return PLT_DEVICE_UNKNOWN; } /*---------------------------------------------------------------------- -| NPT_HttpResponse::ToLog -+---------------------------------------------------------------------*/ -NPT_Result -PLT_HttpHelper::ToLog(NPT_LoggerReference logger, - int level, - const char* prefix, - NPT_HttpResponse* response) -{ - if (!response) { - NPT_LOG_L(logger, level, "NULL HTTP Response!"); - return NPT_FAILURE; - } - - return ToLog(logger, level, prefix, *response); -} - -/*---------------------------------------------------------------------- -| NPT_HttpResponse::ToLog -+---------------------------------------------------------------------*/ -NPT_Result -PLT_HttpHelper::ToLog(NPT_LoggerReference logger, - int level, - const char* prefix, - const NPT_HttpResponse& response) -{ - NPT_COMPILER_UNUSED(logger); - NPT_COMPILER_UNUSED(level); - - NPT_StringOutputStreamReference stream(new NPT_StringOutputStream); - NPT_OutputStreamReference output = stream; - response.GetHeaders().GetHeaders().Apply(NPT_HttpHeaderPrinter(output)); - - NPT_LOG_L5(logger, level, "%s\n%s %d %s\n%s", - prefix, - (const char*)response.GetProtocol(), - response.GetStatusCode(), - (const char*)response.GetReasonPhrase(), - (const char*)stream->GetString()); - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- | PLT_HttpHelper::SetBasicAuthorization +---------------------------------------------------------------------*/ void diff --git a/lib/libUPnP/Platinum/Source/Core/PltHttp.h b/lib/libUPnP/Platinum/Source/Core/PltHttp.h index 00e2b9f570..7c03c28d7d 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltHttp.h +++ b/lib/libUPnP/Platinum/Source/Core/PltHttp.h @@ -61,7 +61,8 @@ +---------------------------------------------------------------------*/ typedef enum { PLT_DEVICE_UNKNOWN, - PLT_DEVICE_XBOX, + PLT_DEVICE_XBOX_360, + PLT_DEVICE_XBOX_ONE, PLT_DEVICE_PS3, PLT_DEVICE_WMP, PLT_DEVICE_SONOS, @@ -82,11 +83,6 @@ public: static bool IsConnectionKeepAlive(NPT_HttpMessage& message); static bool IsBodyStreamSeekable(NPT_HttpMessage& message); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, NPT_HttpRequest* request); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, const NPT_HttpRequest& request); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, NPT_HttpResponse* response); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, const NPT_HttpResponse& response); - static NPT_Result GetContentType(const NPT_HttpMessage& message, NPT_String& type); static NPT_Result GetContentLength(const NPT_HttpMessage& message, NPT_LargeSize& len); @@ -130,17 +126,64 @@ private: }; /*---------------------------------------------------------------------- +| NPT_HttpHeaderPrinter ++---------------------------------------------------------------------*/ +class NPT_HttpHeaderPrinter +{ +public: + // methods + NPT_HttpHeaderPrinter(NPT_OutputStreamReference& stream) : + m_Stream(stream) {} + NPT_Result operator()(NPT_HttpHeader*& header) const { + m_Stream->WriteString(header->GetName()); + m_Stream->Write(": ", 2); + m_Stream->WriteString(header->GetValue()); + m_Stream->Write("\r\n", 2, NULL); + return NPT_SUCCESS; + } + +private: + // members + NPT_OutputStreamReference& m_Stream; +}; + +/*---------------------------------------------------------------------- | macros +---------------------------------------------------------------------*/ #if defined(NPT_CONFIG_ENABLE_LOGGING) -#define PLT_LOG_HTTP_MESSAGE_L(_logger, _level, _prefix, _msg) \ - PLT_HttpHelper::ToLog((_logger), (_level), (_prefix), (_msg)) -#define PLT_LOG_HTTP_MESSAGE(_level, _prefix, _msg) \ - PLT_HttpHelper::ToLog((_NPT_LocalLogger), (_level), (_prefix), (_msg)) +#define PLT_LOG_HTTP_REQUEST_L(_logger, _level, _prefix, _request) \ +do { \ + if (!_request) break; \ + NPT_LOG_GET_LOGGER((_logger)) \ + if ((_logger).logger && (_level) >= (_logger).logger->GetLevel()) { \ + NPT_StringOutputStreamReference stream(new NPT_StringOutputStream); \ + NPT_OutputStreamReference output = stream; \ + _request->GetHeaders().GetHeaders().Apply(NPT_HttpHeaderPrinter(output)); \ + NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"%s\n%s %s %s\n%s", (const char*)_prefix, (const char*)_request->GetMethod(), (const char*)_request->GetUrl().ToRequestString(true), (const char*)_request->GetProtocol(), (const char*)stream->GetString())); \ + } \ +} while (0) + +#define PLT_LOG_HTTP_RESPONSE_L(_logger, _level, _prefix, _response) \ +do { \ + if (!_response) break; \ + NPT_LOG_GET_LOGGER((_logger)) \ + if ((_logger).logger && (_level) >= (_logger).logger->GetLevel()) { \ + NPT_StringOutputStreamReference stream(new NPT_StringOutputStream); \ + NPT_OutputStreamReference output = stream; \ + _response->GetHeaders().GetHeaders().Apply(NPT_HttpHeaderPrinter(output)); \ + NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"%s\n%s %d %s\n%s", (const char*)_prefix, (const char*)_response->GetProtocol(), _response->GetStatusCode(), (const char*)_response->GetReasonPhrase(), (const char*)stream->GetString())); \ + } \ +} while (0) + +#define PLT_LOG_HTTP_REQUEST(_level,_prefix,_request) PLT_LOG_HTTP_REQUEST_L(_NPT_LocalLogger,(_level),(_prefix),(_request)) + +#define PLT_LOG_HTTP_RESPONSE(_level,_prefix,_response) PLT_LOG_HTTP_RESPONSE_L(_NPT_LocalLogger,(_level),(_prefix),(_response)) #else /* NPT_CONFIG_ENABLE_LOGGING */ -#define PLT_LOG_HTTP_MESSAGE_L(_logger, _level, _prefix, _msg) -#define PLT_LOG_HTTP_MESSAGE(_level, _prefix, _msg) +#define PLT_LOG_HTTP_REQUEST_L(_logger, _level, _prefix, _request) +#define PLT_LOG_HTTP_RESPONSE_L(_logger, _level, _prefix, _response) +#define PLT_LOG_HTTP_REQUEST(_level,_prefix,_request) +#define PLT_LOG_HTTP_RESPONSE(_level,_prefix,_response) #endif /* NPT_CONFIG_ENABLE_LOGGING */ /*---------------------------------------------------------------------- diff --git a/lib/libUPnP/Platinum/Source/Core/PltHttpClientTask.cpp b/lib/libUPnP/Platinum/Source/Core/PltHttpClientTask.cpp index a2547bce11..82c4acd39a 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltHttpClientTask.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltHttpClientTask.cpp @@ -125,7 +125,7 @@ PLT_HttpClientSocketTask::DoRun() res = m_Client.SendRequest(*request, response, &context); NPT_String prefix = NPT_String::Format("PLT_HttpClientSocketTask::DoRun (res = %d):", res); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, prefix, response); + PLT_LOG_HTTP_RESPONSE(NPT_LOG_LEVEL_FINER, prefix, response); // process response ProcessResponse(res, *request, context, response); diff --git a/lib/libUPnP/Platinum/Source/Core/PltHttpServer.cpp b/lib/libUPnP/Platinum/Source/Core/PltHttpServer.cpp index 89f568eb26..3d9180c6a3 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltHttpServer.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltHttpServer.cpp @@ -53,6 +53,7 @@ PLT_HttpServer::PLT_HttpServer(NPT_IpAddress address, bool allow_random_port_on_bind_failure, /* = false */ NPT_Cardinal max_clients, /* = 50 */ bool reuse_address) : /* = false */ + NPT_HttpServer(address, port, true), m_TaskManager(new PLT_TaskManager(max_clients)), m_Address(address), m_Port(port), @@ -159,7 +160,7 @@ PLT_HttpServer::SetupResponse(NPT_HttpRequest& request, (const char*) request.GetMethod(), (const char*) context.GetRemoteAddress().ToString(), (const char*) request.GetUrl().ToString()); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINE, prefix, &request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINE, prefix, &request); NPT_List<NPT_HttpRequestHandler*> handlers = FindRequestHandlers(request); if (handlers.GetItemCount() == 0) return NPT_ERROR_NO_SUCH_ITEM; diff --git a/lib/libUPnP/Platinum/Source/Core/PltHttpServerTask.cpp b/lib/libUPnP/Platinum/Source/Core/PltHttpServerTask.cpp index 41931a648a..ed23d47be8 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltHttpServerTask.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltHttpServerTask.cpp @@ -338,7 +338,7 @@ PLT_HttpServerSocketTask::SendResponseHeaders(NPT_HttpResponse* response, } headers.SetHeader(NPT_HTTP_HEADER_SERVER, PLT_HTTP_DEFAULT_SERVER, false); // set but don't replace - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINE, "PLT_HttpServerSocketTask::Write", response); + PLT_LOG_HTTP_RESPONSE(NPT_LOG_LEVEL_FINE, "PLT_HttpServerSocketTask::Write", response); // create a memory stream to buffer the headers NPT_MemoryStream header_stream; diff --git a/lib/libUPnP/Platinum/Source/Core/PltIconsData.cpp b/lib/libUPnP/Platinum/Source/Core/PltIconsData.cpp index 9ce63d078b..56b60b57c0 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltIconsData.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltIconsData.cpp @@ -35,7 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | globals diff --git a/lib/libUPnP/Platinum/Source/Core/PltMimeType.cpp b/lib/libUPnP/Platinum/Source/Core/PltMimeType.cpp index f53ede2379..a4665953ed 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltMimeType.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltMimeType.cpp @@ -53,18 +53,16 @@ PLT_HttpFileRequestHandler_DefaultFileTypeMap[] = { {"wavm", "audio/wav"}, {"alac", "audio/x-alac"}, //{"wavm", "audio/x-wav"}, - {"l16m32", "audio/L16;rate=32000;channels=1"} }; const NPT_HttpFileRequestHandler_FileTypeMapEntry PLT_HttpFileRequestHandler_360FileTypeMap[] = { - {"l16", "audio/L16"}, - {"l16m", "audio/L16"}, - {"l16m32", "audio/L16"}, - {"avi", "video/avi"}, - {"divx", "video/avi"}, - {"xvid", "video/avi"}, - {"mov", "video/quicktime"} + {"l16", "audio/L16"}, + {"l16m", "audio/L16;rate=44100;channels=1"}, + {"avi", "video/avi"}, + {"divx", "video/avi"}, + {"xvid", "video/avi"}, + {"mov", "video/quicktime"} }; const NPT_HttpFileRequestHandler_FileTypeMapEntry @@ -125,7 +123,7 @@ PLT_MimeType::GetMimeTypeFromExtension(const NPT_String& extension, { if (signature != PLT_DEVICE_UNKNOWN) { // look for special case for 360 - if (signature == PLT_DEVICE_XBOX /*|| signature == PLT_DEVICE_WMP*/ ) { + if (signature == PLT_DEVICE_XBOX_360 || signature == PLT_DEVICE_XBOX_ONE) { for (unsigned int i=0; i<NPT_ARRAY_SIZE(PLT_HttpFileRequestHandler_360FileTypeMap); i++) { if (extension.Compare(PLT_HttpFileRequestHandler_360FileTypeMap[i].extension, true) == 0) { return PLT_HttpFileRequestHandler_360FileTypeMap[i].mime_type; diff --git a/lib/libUPnP/Platinum/Source/Core/PltProtocolInfo.cpp b/lib/libUPnP/Platinum/Source/Core/PltProtocolInfo.cpp index 9581ea5736..d22dc02bcf 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltProtocolInfo.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltProtocolInfo.cpp @@ -81,7 +81,8 @@ PLT_HttpFileRequestHandler_DefaultDlnaMap[] = { {"image/jp2", "DLNA.ORG_PN=JPEG_LRG"}, {"image/png", "DLNA.ORG_PN=PNG_LRG"}, {"image/bmp", "DLNA.ORG_PN=BMP_LRG"}, - {"image/tiff", "DLNA.ORG_PN=TIFF_LRG"}, + {"image/tiff", "DLNA.ORG_PN=TIFF_LRG"}, + {"audio/L16", "DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000"}, {"audio/L16;rate=44100;channels=2", "DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000"}, {"audio/L16;rate=44100;channels=1", "DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000"}, {"audio/L16;rate=32000;channels=1", "DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000"}, @@ -108,7 +109,6 @@ PLT_HttpFileRequestHandler_360DlnaMap[] = { {"audio/wav", "DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000"}, {"audio/mp4", "DLNA.ORG_PN=AAC_ISO;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000"}, {"audio/mpeg", "DLNA.ORG_PN=MP3;DLNA.ORG_OP=01"}, - {"audio/L16", "DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_CI=1"}, {"audio/x-ms-wma", "DLNA.ORG_PN=WMABASE;DLNA.ORG_OP=01;DLNA.ORG_CI=0"} }; @@ -514,7 +514,7 @@ PLT_ProtocolInfo::GetDlnaExtension(const char* mime_type, if (signature != PLT_DEVICE_UNKNOWN) { // look for special case for 360 - if (signature == PLT_DEVICE_XBOX || signature == PLT_DEVICE_WMP) { + if (signature == PLT_DEVICE_XBOX_360 || signature == PLT_DEVICE_XBOX_ONE || signature == PLT_DEVICE_WMP) { for (unsigned int i=0; i<NPT_ARRAY_SIZE(PLT_HttpFileRequestHandler_360DlnaMap); i++) { if (_mime_type.Compare(PLT_HttpFileRequestHandler_360DlnaMap[i].mime_type, true) == 0) { return PLT_HttpFileRequestHandler_360DlnaMap[i].dlna_ext; diff --git a/lib/libUPnP/Platinum/Source/Core/PltSsdp.cpp b/lib/libUPnP/Platinum/Source/Core/PltSsdp.cpp index dc1e7c1c9f..fda6f35892 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltSsdp.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltSsdp.cpp @@ -61,7 +61,7 @@ PLT_SsdpSender::SendSsdp(NPT_HttpRequest& request, NPT_String prefix = NPT_String::Format("Sending SSDP %s packet for %s", (const char*)request.GetMethod(), usn); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, prefix, &request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINER, prefix, &request); // use a memory stream to write all the data NPT_MemoryStream stream; @@ -93,7 +93,7 @@ PLT_SsdpSender::SendSsdp(NPT_HttpResponse& response, // logging NPT_String prefix = NPT_String::Format("Sending SSDP Response:"); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINER, prefix, &response); + PLT_LOG_HTTP_RESPONSE(NPT_LOG_LEVEL_FINER, prefix, &response); // use a memory stream to write all the data NPT_MemoryStream stream; @@ -147,7 +147,7 @@ PLT_SsdpDeviceSearchResponseInterfaceIterator::operator()(NPT_NetworkInterface*& if (!niaddr) return NPT_SUCCESS; // don't try to bind on port 1900 or connect will fail later - NPT_UdpSocket socket; + NPT_UdpSocket socket(NPT_SOCKET_FLAG_CANCELLABLE); //socket.Bind(NPT_SocketAddress(NPT_IpAddress::Any, 1900), true); // by connecting, the kernel chooses which interface to use to route to the remote @@ -238,8 +238,8 @@ PLT_SsdpAnnounceInterfaceIterator::operator()(NPT_NetworkInterface*& net_if) con } NPT_HttpUrl url; - NPT_UdpMulticastSocket multicast_socket; - NPT_UdpSocket broadcast_socket; + NPT_UdpMulticastSocket multicast_socket(NPT_SOCKET_FLAG_CANCELLABLE); + NPT_UdpSocket broadcast_socket(NPT_SOCKET_FLAG_CANCELLABLE); NPT_UdpSocket* socket; if (m_Broadcast) { diff --git a/lib/libUPnP/Platinum/Source/Core/PltTaskManager.cpp b/lib/libUPnP/Platinum/Source/Core/PltTaskManager.cpp index 93624ac73b..368a05732b 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltTaskManager.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltTaskManager.cpp @@ -190,7 +190,7 @@ PLT_TaskManager::AddTask(PLT_ThreadTask* task) return result; } - NPT_LOG_FINER_3("[TaskManager 0x%08x] %d/%d running tasks", this, ++m_RunningTasks, m_MaxTasks); + NPT_LOG_FINER_3("[TaskManager 0x%p] %d/%d running tasks", (void*)this, ++m_RunningTasks, m_MaxTasks); // keep track of running task result = m_Tasks.Add(task); @@ -223,7 +223,7 @@ PLT_TaskManager::RemoveTask(PLT_ThreadTask* task) } } - NPT_LOG_FINER_3("[TaskManager 0x%08x] %d/%d running tasks", this, --m_RunningTasks, m_MaxTasks); + NPT_LOG_FINER_3("[TaskManager 0x%p] %d/%d running tasks", (void*)this, --m_RunningTasks, m_MaxTasks); m_Tasks.Remove(task); } diff --git a/lib/libUPnP/Platinum/Source/Core/PltTaskManager.h b/lib/libUPnP/Platinum/Source/Core/PltTaskManager.h index cf8f4cb428..aa1a58d6a5 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltTaskManager.h +++ b/lib/libUPnP/Platinum/Source/Core/PltTaskManager.h @@ -105,7 +105,6 @@ private: private: NPT_List<PLT_ThreadTask*> m_Tasks; NPT_Mutex m_TasksLock; - NPT_Mutex m_CallbackLock; NPT_Queue<int>* m_Queue; NPT_Cardinal m_MaxTasks; NPT_Cardinal m_RunningTasks; diff --git a/lib/libUPnP/Platinum/Source/Core/PltUPnP.cpp b/lib/libUPnP/Platinum/Source/Core/PltUPnP.cpp index cb118755b6..e0b1e8b734 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltUPnP.cpp +++ b/lib/libUPnP/Platinum/Source/Core/PltUPnP.cpp @@ -165,7 +165,7 @@ PLT_UPnP::Start() /* Create multicast socket and bind on 1900. If other apps didn't play nicely by setting the REUSE_ADDR flag, this could fail */ - NPT_Reference<NPT_UdpMulticastSocket> socket(new NPT_UdpMulticastSocket()); + NPT_Reference<NPT_UdpMulticastSocket> socket(new NPT_UdpMulticastSocket(NPT_SOCKET_FLAG_CANCELLABLE)); NPT_CHECK_SEVERE(socket->Bind(NPT_SocketAddress(NPT_IpAddress::Any, 1900), true)); /* Join multicast group for every ip we found */ diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaConnect/PltMediaConnect.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaConnect/PltMediaConnect.cpp index 32503feaf3..ccac60d49d 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaConnect/PltMediaConnect.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaConnect/PltMediaConnect.cpp @@ -117,7 +117,7 @@ PLT_MediaConnect::ProcessGetDescription(NPT_HttpRequest& request, PLT_DeviceSignature signature = PLT_HttpHelper::GetDeviceSignature(request); - if (signature == PLT_DEVICE_XBOX /*|| signature == PLT_SONOS*/) { + if (signature == PLT_DEVICE_XBOX_360 || signature == PLT_DEVICE_XBOX_ONE /*|| signature == PLT_SONOS*/) { // XBox needs to see something behind a ':' to even show it if (m_AddHostname && hostname.GetLength() > 0) { m_FriendlyName += ": " + hostname; @@ -130,7 +130,7 @@ PLT_MediaConnect::ProcessGetDescription(NPT_HttpRequest& request, } // change some things based on device signature from request - if (signature == PLT_DEVICE_XBOX || signature == PLT_DEVICE_WMP /*|| signature == PLT_SONOS*/) { + if (signature == PLT_DEVICE_XBOX_360 || signature == PLT_DEVICE_XBOX_ONE || signature == PLT_DEVICE_WMP /*|| signature == PLT_SONOS*/) { m_ModelName = "Windows Media Player Sharing"; m_ModelNumber = (signature == PLT_DEVICE_SONOS)?"3.0":"12.0"; m_ModelURL = "http://www.microsoft.com/";//"http://go.microsoft.com/fwlink/?LinkId=105926"; @@ -183,7 +183,10 @@ PLT_MediaConnect::ProcessGetSCPD(PLT_Service* service, // Override SCPD response by providing an SCPD without a Search action // to all devices except XBox or WMP which need it if (service->GetServiceType() == "urn:schemas-upnp-org:service:ContentDirectory:1" && - signature != PLT_DEVICE_XBOX && signature != PLT_DEVICE_WMP && signature != PLT_DEVICE_SONOS) { + signature != PLT_DEVICE_XBOX_360 && + signature != PLT_DEVICE_XBOX_ONE && + signature != PLT_DEVICE_WMP && + signature != PLT_DEVICE_SONOS) { NPT_HttpEntity* entity; PLT_HttpHelper::SetBody(response, (const char*) MS_ContentDirectorySCPD, &entity); entity->SetContentType("text/xml; charset=\"utf-8\""); diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaConnect/X_MS_MediaReceiverRegistrarSCPD.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaConnect/X_MS_MediaReceiverRegistrarSCPD.cpp index 4ffd2d51d9..e05504bbd2 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaConnect/X_MS_MediaReceiverRegistrarSCPD.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaConnect/X_MS_MediaReceiverRegistrarSCPD.cpp @@ -35,7 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | globals diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/AVTransportSCPD.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/AVTransportSCPD.cpp index 64014edbb6..4803a33cd3 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/AVTransportSCPD.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/AVTransportSCPD.cpp @@ -35,7 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | globals diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/RdrConnectionManagerSCPD.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/RdrConnectionManagerSCPD.cpp index daf011c5d8..4cc0e029aa 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/RdrConnectionManagerSCPD.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/RdrConnectionManagerSCPD.cpp @@ -35,7 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | globals diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/RenderingControlSCPD.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/RenderingControlSCPD.cpp index 43ba48eb81..a01b1c93d3 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/RenderingControlSCPD.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaRenderer/RenderingControlSCPD.cpp @@ -35,7 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | globals diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/ConnectionManagerSCPD.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaServer/ConnectionManagerSCPD.cpp index e57e805976..973b3b1213 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/ConnectionManagerSCPD.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/ConnectionManagerSCPD.cpp @@ -39,7 +39,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | globals diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/ContentDirectorySCPD.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaServer/ContentDirectorySCPD.cpp index 726a021792..03f0924814 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/ContentDirectorySCPD.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/ContentDirectorySCPD.cpp @@ -35,7 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | globals diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/ContentDirectorywSearchSCPD.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaServer/ContentDirectorywSearchSCPD.cpp index 3e8cc89499..bc16048bfe 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/ContentDirectorywSearchSCPD.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/ContentDirectorywSearchSCPD.cpp @@ -35,7 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | globals diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltFileMediaServer.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltFileMediaServer.cpp index b45677ef6e..421d0c2042 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltFileMediaServer.cpp +++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltFileMediaServer.cpp @@ -79,7 +79,7 @@ PLT_FileMediaServerDelegate::ProcessFileRequest(NPT_HttpRequest& re { NPT_HttpUrlQuery query(request.GetUrl().GetQuery()); - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINE, "PLT_FileMediaServerDelegate::ProcessFileRequest:", &request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINE, "PLT_FileMediaServerDelegate::ProcessFileRequest:", &request); if (request.GetMethod().Compare("GET") && request.GetMethod().Compare("HEAD")) { response.SetStatus(500, "Internal Server Error"); @@ -252,7 +252,7 @@ PLT_FileMediaServerDelegate::OnBrowseDirectChildren(PLT_ActionReference& didl += didl_footer; - NPT_LOG_FINE_6("BrowseDirectChildren from %s returning %d-%d/%d objects (%d out of %d requested)", + NPT_LOG_FINE_6("BrowseDirectChildren from %s returning %d-%lu/%lu objects (%lu out of %d requested)", (const char*)context.GetLocalAddress().GetIpAddress().ToString(), starting_index, starting_index+num_returned, total_matches, num_returned, requested_count); diff --git a/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltMediaServerObject.h b/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltMediaServerObject.h index ceeeb64e9b..bbc674304f 100644 --- a/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltMediaServerObject.h +++ b/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltMediaServerObject.h @@ -6,7 +6,7 @@ // Copyright 2010 Plutinosoft LLC. All rights reserved. // -#import "NptConfig.h" +#import "Neptune.h" #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE #include <UIKit/UIKit.h> @@ -25,11 +25,8 @@ typedef class NPT_HttpResponse NPT_HttpResponse; /*---------------------------------------------------------------------- | PLT_MediaServerObject +---------------------------------------------------------------------*/ -@interface PLT_MediaServerObject : PLT_DeviceHostObject { - id delegate; -} - -@property (nonatomic, assign) id delegate; // we do not retain to avoid circular ref count +@interface PLT_MediaServerObject : PLT_DeviceHostObject +@property (nonatomic, assign) id delegate; @end /*---------------------------------------------------------------------- @@ -46,11 +43,11 @@ typedef class NPT_HttpResponse NPT_HttpResponse; - (id)initWithAction:(PLT_Action*)action objectId:(const char*)objectId filter:(const char*)filter start:(NPT_UInt32)start count:(NPT_UInt32)count sort:(const char*)sort context:(PLT_HttpRequestContext*)context; -@property (readonly, assign) NSString* objectId; +@property (readonly, copy) NSString* objectId; @property (readonly) NPT_UInt32 start; @property (readonly) NPT_UInt32 count; -@property (readonly, assign) NSString* filter; -@property (readonly, assign) NSString* sort; +@property (readonly, copy) NSString* filter; +@property (readonly, copy) NSString* sort; @end /*---------------------------------------------------------------------- @@ -62,7 +59,7 @@ typedef class NPT_HttpResponse NPT_HttpResponse; - (id)initWithAction:(PLT_Action*)action objectId:(const char*)objectId search:(const char*)search filter:(const char*)filter start:(NPT_UInt32)start count:(NPT_UInt32)count sort:(const char*)sort context:(PLT_HttpRequestContext*)context; -@property (readonly, assign) NSString* search; +@property (readonly, copy) NSString* search; @end /*---------------------------------------------------------------------- diff --git a/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltMediaServerObject.mm b/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltMediaServerObject.mm index eab2c7acd9..0900819999 100644 --- a/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltMediaServerObject.mm +++ b/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltMediaServerObject.mm @@ -24,7 +24,7 @@ public: NPT_UInt32 requested_count, const char* sort_criteria, const PLT_HttpRequestContext& context) { - if (![[m_Target delegate] respondsToSelector:@selector(onBrowseMetadata:)]) + if (![m_Target.delegate respondsToSelector:@selector(onBrowseMetadata:)]) return NPT_FAILURE; PLT_MediaServerBrowseCapsule* capsule = @@ -35,8 +35,7 @@ public: count:requested_count sort:sort_criteria context:(PLT_HttpRequestContext*)&context]; - NPT_Result result = [[m_Target delegate] onBrowseMetadata:capsule]; - [capsule release]; + NPT_Result result = [m_Target.delegate onBrowseMetadata:capsule]; return result; } @@ -48,7 +47,7 @@ public: NPT_UInt32 requested_count, const char* sort_criteria, const PLT_HttpRequestContext& context) { - if (![[m_Target delegate] respondsToSelector:@selector(onBrowseDirectChildren:)]) + if (![m_Target.delegate respondsToSelector:@selector(onBrowseDirectChildren:)]) return NPT_FAILURE; PLT_MediaServerBrowseCapsule* capsule = @@ -59,8 +58,7 @@ public: count:requested_count sort:sort_criteria context:(PLT_HttpRequestContext*)&context]; - NPT_Result result = [[m_Target delegate] onBrowseDirectChildren:capsule]; - [capsule release]; + NPT_Result result = [m_Target.delegate onBrowseDirectChildren:capsule]; return result; } @@ -73,7 +71,7 @@ public: NPT_UInt32 requested_count, const char* sort_criteria, const PLT_HttpRequestContext& context) { - if (![[m_Target delegate] respondsToSelector:@selector(onSearchContainer:)]) + if (![m_Target.delegate respondsToSelector:@selector(onSearchContainer:)]) return NPT_FAILURE; PLT_MediaServerSearchCapsule* capsule = @@ -85,8 +83,7 @@ public: count:requested_count sort:sort_criteria context:(PLT_HttpRequestContext*)&context]; - NPT_Result result = [[m_Target delegate] onSearchContainer:capsule]; - [capsule release]; + NPT_Result result = [m_Target.delegate onSearchContainer:capsule]; return result; } @@ -98,8 +95,7 @@ public: PLT_MediaServerFileRequestCapsule* capsule = [[PLT_MediaServerFileRequestCapsule alloc] initWithResponse:&response context:&_context]; - NPT_Result result = [[m_Target delegate] onFileRequest:capsule]; - [capsule release]; + NPT_Result result = [m_Target.delegate onFileRequest:capsule]; return result; } @@ -130,14 +126,6 @@ private: return self; } -- (void)dealloc -{ - [objectId release]; - [filter release]; - [sort release]; - [super dealloc]; -} - @end /*---------------------------------------------------------------------- @@ -161,12 +149,6 @@ private: return self; } -- (void)dealloc -{ - [search release]; - [super dealloc]; -} - @end /*---------------------------------------------------------------------- @@ -183,42 +165,34 @@ private: return self; } -- (void)dealloc -{ - [super dealloc]; -} - @end /*---------------------------------------------------------------------- -| PLT_DeviceHostObject +| PLT_MediaServerObject +---------------------------------------------------------------------*/ -@interface PLT_DeviceHostObject (priv) -- (PLT_DeviceHostReference&)getDevice; +@interface PLT_MediaServerObject () { + PLT_MediaServerDelegate_Wrapper *_wrapper; +} @end -/*---------------------------------------------------------------------- -| PLT_MediaServerObject -+---------------------------------------------------------------------*/ @implementation PLT_MediaServerObject -@synthesize delegate; - - (id)init { - PLT_MediaConnect* server = new PLT_MediaConnect("Test"); - PLT_DeviceHostReference _device(server); - if ((self = [super initWithDeviceHost:&_device])) { - server->SetDelegate(new PLT_MediaServerDelegate_Wrapper(self)); + if ((self = [super init])) { + PLT_MediaConnect* server = new PLT_MediaConnect("Test"); + PLT_DeviceHostReference _device(server); + [self setDevice:&_device]; + + _wrapper = new PLT_MediaServerDelegate_Wrapper(self); + server->SetDelegate(_wrapper); } return self; } - (void)dealloc { - PLT_DeviceHostReference& host = [self getDevice]; - delete ((PLT_MediaServer*)host.AsPointer())->GetDelegate(); - [super dealloc]; + delete _wrapper; } @end diff --git a/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltUPnPObject.h b/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltUPnPObject.h index b7bf9e790b..4c9b8edc6d 100644 --- a/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltUPnPObject.h +++ b/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltUPnPObject.h @@ -6,9 +6,7 @@ // Copyright 2010 Plutinosoft LLC. All rights reserved. // -#import "NptConfig.h" -#import "NptTypes.h" -#import "NptResults.h" +#import "Neptune.h" #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE #include <UIKit/UIKit.h> @@ -44,16 +42,14 @@ typedef struct PLT_DeviceHostReference PLT_DeviceHostReference; PLT_DeviceHostReference* device; } -- (id)initWithDeviceHost:(PLT_DeviceHostReference*)device; +- (void)setDevice:(PLT_DeviceHostReference*)_device; +- (PLT_DeviceHostReference&)getDevice; @end /*---------------------------------------------------------------------- | PLT_UPnPObject +---------------------------------------------------------------------*/ -@interface PLT_UPnPObject : NSObject { -@private - PLT_UPnP* upnp; -} +@interface PLT_UPnPObject : NSObject - (NPT_Result)start; - (NPT_Result)stop; diff --git a/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltUPnPObject.mm b/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltUPnPObject.mm index ea7562cc69..d49f1f557f 100644 --- a/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltUPnPObject.mm +++ b/lib/libUPnP/Platinum/Source/Extras/ObjectiveC/PltUPnPObject.mm @@ -12,10 +12,6 @@ /*---------------------------------------------------------------------- | PLT_ActionObject +---------------------------------------------------------------------*/ -/*@interface PLT_ActionObject (priv) -- (id)initWithAction:(PLT_Action*)action; -@end*/ - @implementation PLT_ActionObject - (id)initWithAction:(PLT_Action *)_action @@ -26,11 +22,6 @@ return self; } -- (void)dealloc -{ - [super dealloc]; -} - - (NPT_Result)setValue:(NSString *)value forArgument:(NSString *)argument { return action->SetArgumentValue([argument UTF8String], [value UTF8String]); @@ -46,24 +37,22 @@ /*---------------------------------------------------------------------- | PLT_DeviceHostObject +---------------------------------------------------------------------*/ -@interface PLT_DeviceHostObject (priv) -- (PLT_DeviceHostReference&)getDevice; -@end - @implementation PLT_DeviceHostObject -- (id)initWithDeviceHost:(PLT_DeviceHostReference*)_device +- (id)init { - if ((self = [super init])) { - device = new PLT_DeviceHostReference(*_device); - } - return self; + return [super init]; +} + +- (void)setDevice:(PLT_DeviceHostReference*)_device +{ + delete device; + device = new PLT_DeviceHostReference(*_device); } - (void)dealloc { delete device; - [super dealloc]; } - (PLT_DeviceHostReference&)getDevice @@ -76,45 +65,54 @@ /*---------------------------------------------------------------------- | PLT_UPnPObject +---------------------------------------------------------------------*/ + +@interface PLT_UPnPObject () { + PLT_UPnP *_upnp; + NSMutableArray *_devices; +} +@end + @implementation PLT_UPnPObject - (id)init { if ((self = [super init])) { - upnp = new PLT_UPnP(); + _upnp = new PLT_UPnP(); + _devices = [NSMutableArray array]; } return self; } -(void) dealloc { - delete upnp; - [super dealloc]; + delete _upnp; } - (NPT_Result)start { - return upnp->Start(); + return _upnp->Start(); } - (NPT_Result)stop { - return upnp->Stop(); + return _upnp->Stop(); } - (bool)isRunning { - return upnp->IsRunning(); + return _upnp->IsRunning(); } - (NPT_Result)addDevice:(PLT_DeviceHostObject*)device { - return upnp->AddDevice([device getDevice]); + [_devices addObject:device]; + return _upnp->AddDevice([device getDevice]); } - (NPT_Result)removeDevice:(PLT_DeviceHostObject*)device { - return upnp->RemoveDevice([device getDevice]); + [_devices removeObject:device]; + return _upnp->RemoveDevice([device getDevice]); } @end diff --git a/lib/libUPnP/Platinum/Source/Extras/PltDownloader.cpp b/lib/libUPnP/Platinum/Source/Extras/PltDownloader.cpp index 598f87958d..a910370ceb 100644 --- a/lib/libUPnP/Platinum/Source/Extras/PltDownloader.cpp +++ b/lib/libUPnP/Platinum/Source/Extras/PltDownloader.cpp @@ -37,7 +37,7 @@ +---------------------------------------------------------------------*/ #include "PltDownloader.h" #include "PltTaskManager.h" -#include "NptLogging.h" +#include "Neptune.h" NPT_SET_LOCAL_LOGGER("platinum.extra.downloader") diff --git a/lib/libUPnP/Platinum/Source/Extras/PltFrameServer.cpp b/lib/libUPnP/Platinum/Source/Extras/PltFrameServer.cpp index db90d07d79..d01d414317 100644 --- a/lib/libUPnP/Platinum/Source/Extras/PltFrameServer.cpp +++ b/lib/libUPnP/Platinum/Source/Extras/PltFrameServer.cpp @@ -55,6 +55,7 @@ public: PLT_SocketPolicyServer(const char* policy, NPT_IpPort port = 0, const char* authorized_ports = "5900") : + m_Socket(NPT_SOCKET_FLAG_CANCELLABLE), m_Policy(policy), m_Port(port), m_AuthorizedPorts(authorized_ports), @@ -109,7 +110,7 @@ public: NPT_SocketInfo client_info; client->GetInfo(client_info); - NPT_LOG_FINE_2("client connected (%s)", + NPT_LOG_FINE_2("client connected (%s -> %s)", client_info.local_address.ToString().GetChars(), client_info.remote_address.ToString().GetChars()); @@ -149,7 +150,7 @@ PLT_HttpStreamRequestHandler::SetupResponse(NPT_HttpRequest& reques const NPT_HttpRequestContext& context, NPT_HttpResponse& response) { - PLT_LOG_HTTP_MESSAGE(NPT_LOG_LEVEL_FINE, "PLT_HttpStreamRequestHandler::SetupResponse:", &request); + PLT_LOG_HTTP_REQUEST(NPT_LOG_LEVEL_FINE, "PLT_HttpStreamRequestHandler::SetupResponse:", &request); if (request.GetMethod().Compare("GET") && request.GetMethod().Compare("HEAD")) { diff --git a/lib/libUPnP/Platinum/Source/Extras/PltRingBufferStream.h b/lib/libUPnP/Platinum/Source/Extras/PltRingBufferStream.h index e5f98b2f35..bd56b8a0b4 100644 --- a/lib/libUPnP/Platinum/Source/Extras/PltRingBufferStream.h +++ b/lib/libUPnP/Platinum/Source/Extras/PltRingBufferStream.h @@ -38,9 +38,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptStreams.h" -#include "NptRingBuffer.h" -#include "NptThreads.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | PLT_RingBufferStream class diff --git a/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.cpp b/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.cpp index 59829f145b..80d161450c 100644 --- a/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.cpp +++ b/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.cpp @@ -36,7 +36,7 @@ | includes +---------------------------------------------------------------------*/ #include "PltStreamPump.h" -#include "NptUtils.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | PLT_StreamPump::PLT_StreamPump diff --git a/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.h b/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.h index a022b88518..f8fa719e03 100644 --- a/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.h +++ b/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.h @@ -38,8 +38,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptStreams.h" -#include "NptRingBuffer.h" +#include "Neptune.h" /*---------------------------------------------------------------------- | PLT_PipeInputStream diff --git a/lib/libUPnP/Platinum/Source/Platform/Android/module/platinum/jni/Android.mk b/lib/libUPnP/Platinum/Source/Platform/Android/module/platinum/jni/Android.mk index 3acdd619ea..e39fe62772 100644 --- a/lib/libUPnP/Platinum/Source/Platform/Android/module/platinum/jni/Android.mk +++ b/lib/libUPnP/Platinum/Source/Platform/Android/module/platinum/jni/Android.mk @@ -27,10 +27,12 @@ LOCAL_SRC_FILES := $(PLT_PREBUILT_PATH)/libNeptune.a LOCAL_EXPORT_C_INCLUDES += $(PLT_ROOT)/../Neptune/Source/Core include $(PREBUILT_STATIC_LIBRARY) +ifneq ($(NPT_CONFIG_NO_SSL),1) include $(CLEAR_VARS) LOCAL_MODULE := axTLS LOCAL_SRC_FILES := $(PLT_PREBUILT_PATH)/libaxTLS.a include $(PREBUILT_STATIC_LIBRARY) +endif include $(CLEAR_VARS) LOCAL_MODULE := platinum-jni @@ -42,6 +44,9 @@ LOCAL_CFLAGS += -DNPT_CONFIG_ENABLE_LOGGING LOCAL_STATIC_LIBRARIES := Platinum LOCAL_STATIC_LIBRARIES += Neptune + +ifneq ($(NPT_CONFIG_NO_SSL),1) LOCAL_STATIC_LIBRARIES += axTLS +endif include $(BUILD_SHARED_LIBRARY) diff --git a/lib/libUPnP/Platinum/Source/Tests/FileMediaServer/FileMediaServerTest.cpp b/lib/libUPnP/Platinum/Source/Tests/FileMediaServer/FileMediaServerTest.cpp index a757ef69ee..0d1223baa4 100644 --- a/lib/libUPnP/Platinum/Source/Tests/FileMediaServer/FileMediaServerTest.cpp +++ b/lib/libUPnP/Platinum/Source/Tests/FileMediaServer/FileMediaServerTest.cpp @@ -112,7 +112,7 @@ int main(int /* argc */, char** argv) { // setup Neptune logging - NPT_LogManager::GetDefault().Configure("plist:.level=FINE;.handlers=ConsoleHandler;.ConsoleHandler.colors=off;.ConsoleHandler.filter=42"); + NPT_LogManager::GetDefault().Configure("plist:.level=FINE;.handlers=ConsoleHandler;.ConsoleHandler.colors=off;.ConsoleHandler.filter=56"); /* parse command line */ ParseCommandLine(argv+1); diff --git a/lib/libUPnP/Platinum/Source/Tests/Http/HttpTest.cpp b/lib/libUPnP/Platinum/Source/Tests/Http/HttpTest.cpp index eb0f2b8e5f..00b1f522fc 100644 --- a/lib/libUPnP/Platinum/Source/Tests/Http/HttpTest.cpp +++ b/lib/libUPnP/Platinum/Source/Tests/Http/HttpTest.cpp @@ -35,9 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptUtils.h" #include "Neptune.h" -#include "NptLogging.h" #include "PltTaskManager.h" #include "PltHttpServer.h" #include "PltDownloader.h" diff --git a/lib/libUPnP/Platinum/Source/Tests/LightSample/LightSampleTest.cpp b/lib/libUPnP/Platinum/Source/Tests/LightSample/LightSampleTest.cpp index 9a4ff18f69..d9f35a0a93 100644 --- a/lib/libUPnP/Platinum/Source/Tests/LightSample/LightSampleTest.cpp +++ b/lib/libUPnP/Platinum/Source/Tests/LightSample/LightSampleTest.cpp @@ -46,6 +46,9 @@ int main(int /* argc */, char** /* argv */) { + // setup Neptune logging + NPT_LogManager::GetDefault().Configure("plist:.level=FINE;.handlers=ConsoleHandler;.ConsoleHandler.colors=off;.ConsoleHandler.filter=42"); + PLT_UPnP upnp; PLT_DeviceHostReference device(new PLT_LightSampleDevice("Platinum Light Bulb")); diff --git a/lib/libUPnP/Platinum/Source/Tests/LightSample/PltLightSample.cpp b/lib/libUPnP/Platinum/Source/Tests/LightSample/PltLightSample.cpp index ce6f5572ff..f31ffe1c8c 100644 --- a/lib/libUPnP/Platinum/Source/Tests/LightSample/PltLightSample.cpp +++ b/lib/libUPnP/Platinum/Source/Tests/LightSample/PltLightSample.cpp @@ -35,7 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" #include "Platinum.h" #include "PltLightSample.h" diff --git a/lib/libUPnP/Platinum/Source/Tests/MediaServerCocoaTest/MediaServerCocoaTestController.mm b/lib/libUPnP/Platinum/Source/Tests/MediaServerCocoaTest/MediaServerCocoaTestController.mm index a9bec5a766..d7b9a29c4b 100644 --- a/lib/libUPnP/Platinum/Source/Tests/MediaServerCocoaTest/MediaServerCocoaTestController.mm +++ b/lib/libUPnP/Platinum/Source/Tests/MediaServerCocoaTest/MediaServerCocoaTestController.mm @@ -7,7 +7,7 @@ // #import "MediaServerCocoaTestController.h" -#import "Neptune.h" +#import <Neptune/Neptune.h> @implementation MediaServerCocoaTestController @@ -39,12 +39,8 @@ } } -- (void)dealloc { - [upnp release]; - [super dealloc]; -} +#pragma mark - PLT_MediaServerDelegateObject -#pragma mark PLT_MediaServerDelegateObject - (NPT_Result)onBrowseMetadata:(PLT_MediaServerBrowseCapsule*)info { return NPT_FAILURE; diff --git a/lib/libUPnP/Platinum/Source/Tests/MediaServerCocoaTest/MediaServerCocoaTest_AppDelegate.mm b/lib/libUPnP/Platinum/Source/Tests/MediaServerCocoaTest/MediaServerCocoaTest_AppDelegate.mm index 743b652302..c6fb49a324 100644 --- a/lib/libUPnP/Platinum/Source/Tests/MediaServerCocoaTest/MediaServerCocoaTest_AppDelegate.mm +++ b/lib/libUPnP/Platinum/Source/Tests/MediaServerCocoaTest/MediaServerCocoaTest_AppDelegate.mm @@ -36,7 +36,7 @@ if (managedObjectModel) return managedObjectModel; - managedObjectModel = [[NSManagedObjectModel mergedModelFromBundles:nil] retain]; + managedObjectModel = [NSManagedObjectModel mergedModelFromBundles:nil]; return managedObjectModel; } @@ -79,7 +79,7 @@ options:nil error:&error]){ [[NSApplication sharedApplication] presentError:error]; - [persistentStoreCoordinator release], persistentStoreCoordinator = nil; + persistentStoreCoordinator = nil; return nil; } @@ -183,7 +183,6 @@ [alert addButtonWithTitle:cancelButton]; NSInteger answer = [alert runModal]; - [alert release]; alert = nil; if (answer == NSAlertAlternateReturn) return NSTerminateCancel; @@ -193,20 +192,4 @@ return NSTerminateNow; } - -/** - Implementation of dealloc, to release the retained variables. - */ - -- (void)dealloc { - - [window release]; - [managedObjectContext release]; - [persistentStoreCoordinator release]; - [managedObjectModel release]; - - [super dealloc]; -} - - @end diff --git a/lib/libUPnP/Platinum/Source/Tests/Simple/PltSimple.cpp b/lib/libUPnP/Platinum/Source/Tests/Simple/PltSimple.cpp index e729a5e648..0d32ec2f77 100644 --- a/lib/libUPnP/Platinum/Source/Tests/Simple/PltSimple.cpp +++ b/lib/libUPnP/Platinum/Source/Tests/Simple/PltSimple.cpp @@ -35,7 +35,7 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptTypes.h" +#include "Neptune.h" #include "Platinum.h" #include "PltSimple.h" diff --git a/lib/libUPnP/Platinum/Source/Tests/Ssdp/SsdpTest1.cpp b/lib/libUPnP/Platinum/Source/Tests/Ssdp/SsdpTest1.cpp index 7051a1ebf3..1e1f6aa42e 100644 --- a/lib/libUPnP/Platinum/Source/Tests/Ssdp/SsdpTest1.cpp +++ b/lib/libUPnP/Platinum/Source/Tests/Ssdp/SsdpTest1.cpp @@ -35,7 +35,6 @@ /*---------------------------------------------------------------------- | includes +---------------------------------------------------------------------*/ -#include "NptUtils.h" #include "Neptune.h" #include "Platinum.h" diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Headers b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Headers deleted file mode 100644 index a177d2a6b9..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Headers +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Headers
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Platinum b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Platinum deleted file mode 100644 index 0e4a619983..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Platinum +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Platinum
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Resources b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Resources deleted file mode 100644 index 953ee36f3b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Resources +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Resources
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/Neptune.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/Neptune.h deleted file mode 100644 index 8ea4fa1c5f..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/Neptune.h +++ /dev/null @@ -1,86 +0,0 @@ -/***************************************************************** -| -| Neptune - Toplevel Include -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NEPTUNE_H_ -#define _NEPTUNE_H_ - -/*---------------------------------------------------------------------- -| flags -+---------------------------------------------------------------------*/ -#define NPT_EXTERNAL_USE /* do not expose internal definitions */ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptCommon.h" -#include "NptResults.h" -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptReferences.h" -#include "NptStreams.h" -#include "NptBufferedStreams.h" -#include "NptFile.h" -#include "NptNetwork.h" -#include "NptSockets.h" -#include "NptTime.h" -#include "NptThreads.h" -#include "NptSystem.h" -#include "NptMessaging.h" -#include "NptQueue.h" -#include "NptSimpleMessageQueue.h" -#include "NptSelectableMessageQueue.h" -#include "NptXml.h" -#include "NptStrings.h" -#include "NptArray.h" -#include "NptList.h" -#include "NptMap.h" -#include "NptStack.h" -#include "NptUri.h" -#include "NptHttp.h" -#include "NptDataBuffer.h" -#include "NptUtils.h" -#include "NptRingBuffer.h" -#include "NptBase64.h" -#include "NptConsole.h" -#include "NptLogging.h" -#include "NptSerialPort.h" -#include "NptVersion.h" -#include "NptDynamicLibraries.h" -#include "NptDynamicCast.h" -#include "NptDigest.h" -#include "NptCrypto.h" - -// optional modules -#include "NptZip.h" -#include "NptTls.h" - -#endif // _NEPTUNE_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptArray.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptArray.h deleted file mode 100644 index 721bac8943..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptArray.h +++ /dev/null @@ -1,522 +0,0 @@ -/***************************************************************** -| -| Neptune - Arrays -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_ARRAY_H_ -#define _NPT_ARRAY_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#if defined(NPT_CONFIG_HAVE_NEW_H) -#include <new> -#endif -#include "NptTypes.h" -#include "NptResults.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ARRAY_INITIAL_MAX_SIZE = 128; // bytes - -/*---------------------------------------------------------------------- -| NPT_Array -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_Array -{ -public: - // types - typedef T Element; - typedef T* Iterator; - - // methods - NPT_Array<T>(): m_Capacity(0), m_ItemCount(0), m_Items(0) {} - explicit NPT_Array<T>(NPT_Cardinal count); - NPT_Array<T>(NPT_Cardinal count, const T& item); - NPT_Array<T>(const T* items, NPT_Cardinal item_count); - ~NPT_Array<T>(); - NPT_Array<T>(const NPT_Array<T>& copy); - NPT_Array<T>& operator=(const NPT_Array<T>& copy); - bool operator==(const NPT_Array<T>& other) const; - bool operator!=(const NPT_Array<T>& other) const; - NPT_Cardinal GetItemCount() const { return m_ItemCount; } - NPT_Result Add(const T& item); - T& operator[](NPT_Ordinal pos) { return m_Items[pos]; } - const T& operator[](NPT_Ordinal pos) const { return m_Items[pos]; } - NPT_Result Erase(Iterator which); - NPT_Result Erase(NPT_Ordinal which) { return Erase(&m_Items[which]); } - NPT_Result Erase(Iterator first, Iterator last); - NPT_Result Erase(NPT_Ordinal first, NPT_Ordinal last) { return Erase(&m_Items[first], &m_Items[last]); } - NPT_Result Insert(Iterator where, const T& item, NPT_Cardinal count = 1); - NPT_Result Reserve(NPT_Cardinal count); - NPT_Cardinal GetCapacity() const { return m_Capacity; } - NPT_Result Resize(NPT_Cardinal count); - NPT_Result Resize(NPT_Cardinal count, const T& fill); - NPT_Result Clear(); - bool Contains(const T& data) const; - Iterator GetFirstItem() const { return m_ItemCount?&m_Items[0]:NULL; } - Iterator GetLastItem() const { return m_ItemCount?&m_Items[m_ItemCount-1]:NULL; } - Iterator GetItem(NPT_Ordinal n) { return n<m_ItemCount?&m_Items[n]:NULL; } - - // template list operations - // keep these template members defined here because MSV6 does not let - // us define them later - template <typename X> - NPT_Result Apply(const X& function) const - { - for (unsigned int i=0; i<m_ItemCount; i++) function(m_Items[i]); - return NPT_SUCCESS; - } - - template <typename X, typename P> - NPT_Result ApplyUntil(const X& function, const P& predicate, bool* match = NULL) const - { - for (unsigned int i=0; i<m_ItemCount; i++) { - NPT_Result return_value; - if (predicate(function(m_Items[i]), return_value)) { - if (match) *match = true; - return return_value; - } - } - if (match) *match = false; - return NPT_SUCCESS; - } - - template <typename X> - T* Find(const X& predicate, NPT_Ordinal n=0, NPT_Ordinal* pos = NULL) const - { - if (pos) *pos = -1; - - for (unsigned int i=0; i<m_ItemCount; i++) { - if (predicate(m_Items[i])) { - if (pos) *pos = i; - if (n == 0) return &m_Items[i]; - --n; - } - } - return NULL; - } - -protected: - // methods - T* Allocate(NPT_Cardinal count, NPT_Cardinal& allocated); - - // members - NPT_Cardinal m_Capacity; - NPT_Cardinal m_ItemCount; - T* m_Items; -}; - -/*---------------------------------------------------------------------- -| NPT_Array<T>::NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::NPT_Array(NPT_Cardinal count) : - m_Capacity(0), - m_ItemCount(0), - m_Items(0) -{ - Reserve(count); -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::NPT_Array(const NPT_Array<T>& copy) : - m_Capacity(0), - m_ItemCount(0), - m_Items(0) -{ - Reserve(copy.GetItemCount()); - for (NPT_Ordinal i=0; i<copy.m_ItemCount; i++) { - new ((void*)&m_Items[i]) T(copy.m_Items[i]); - } - m_ItemCount = copy.m_ItemCount; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::NPT_Array(NPT_Cardinal count, const T& item) : - m_Capacity(0), - m_ItemCount(count), - m_Items(0) -{ - Reserve(count); - for (NPT_Ordinal i=0; i<count; i++) { - new ((void*)&m_Items[i]) T(item); - } -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::NPT_Array(const T* items, NPT_Cardinal item_count) : - m_Capacity(0), - m_ItemCount(item_count), - m_Items(0) -{ - Reserve(item_count); - for (NPT_Ordinal i=0; i<item_count; i++) { - new ((void*)&m_Items[i]) T(items[i]); - } -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::~NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::~NPT_Array() -{ - // remove all items - Clear(); - - // free the memory - ::operator delete((void*)m_Items); -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::operator= -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Array<T>& -NPT_Array<T>::operator=(const NPT_Array<T>& copy) -{ - // do nothing if we're assigning to ourselves - if (this == ©) return *this; - - // destroy all elements - Clear(); - - // copy all elements from the other object - Reserve(copy.GetItemCount()); - m_ItemCount = copy.m_ItemCount; - for (NPT_Ordinal i=0; i<copy.m_ItemCount; i++) { - new ((void*)&m_Items[i]) T(copy.m_Items[i]); - } - - return *this; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Clear -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Clear() -{ - // destroy all items - for (NPT_Ordinal i=0; i<m_ItemCount; i++) { - m_Items[i].~T(); - } - - m_ItemCount = 0; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Allocate -+---------------------------------------------------------------------*/ -template <typename T> -T* -NPT_Array<T>::Allocate(NPT_Cardinal count, NPT_Cardinal& allocated) -{ - if (m_Capacity) { - allocated = 2*m_Capacity; - } else { - // start with just enough elements to fill - // NPT_ARRAY_INITIAL_MAX_SIZE worth of memory - allocated = NPT_ARRAY_INITIAL_MAX_SIZE/sizeof(T); - if (allocated == 0) allocated = 1; - } - if (allocated < count) allocated = count; - - // allocate the items - return (T*)::operator new(allocated*sizeof(T)); -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Reserve -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Reserve(NPT_Cardinal count) -{ - if (count <= m_Capacity) return NPT_SUCCESS; - - // (re)allocate the items - NPT_Cardinal new_capacity; - T* new_items = Allocate(count, new_capacity); - if (new_items == NULL) { - return NPT_ERROR_OUT_OF_MEMORY; - } - if (m_ItemCount && m_Items) { - for (unsigned int i=0; i<m_ItemCount; i++) { - // construct the copy - new ((void*)&new_items[i])T(m_Items[i]); - - // destroy the item - m_Items[i].~T(); - } - } - ::operator delete((void*)m_Items); - m_Items = new_items; - m_Capacity = new_capacity; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Add -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Result -NPT_Array<T>::Add(const T& item) -{ - // ensure capacity - NPT_Result result = Reserve(m_ItemCount+1); - if (result != NPT_SUCCESS) return result; - - // store the item - new ((void*)&m_Items[m_ItemCount++]) T(item); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Erase -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Result -NPT_Array<T>::Erase(Iterator which) -{ - return Erase(which, which); -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Erase -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Erase(Iterator first, Iterator last) -{ - // check parameters - if (first == NULL || last == NULL) return NPT_ERROR_INVALID_PARAMETERS; - - // check the bounds - NPT_Ordinal first_index = (NPT_Ordinal)(NPT_POINTER_TO_LONG(first-m_Items)); - NPT_Ordinal last_index = (NPT_Ordinal)(NPT_POINTER_TO_LONG(last-m_Items)); - if (first_index >= m_ItemCount || - last_index >= m_ItemCount || - first_index > last_index) { - return NPT_ERROR_INVALID_PARAMETERS; - } - - // shift items to the left - NPT_Cardinal interval = last_index-first_index+1; - NPT_Cardinal shifted = m_ItemCount-last_index-1; - for (NPT_Ordinal i=first_index; i<first_index+shifted; i++) { - m_Items[i] = m_Items[i+interval]; - } - - // destruct the remaining items - for (NPT_Ordinal i=first_index+shifted; i<m_ItemCount; i++) { - m_Items[i].~T(); - } - - // update the item count - m_ItemCount -= interval; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Insert -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Insert(Iterator where, const T& item, NPT_Cardinal repeat) -{ - // check bounds - NPT_Ordinal where_index = where?((NPT_Ordinal)NPT_POINTER_TO_LONG(where-m_Items)):m_ItemCount; - if (where > &m_Items[m_ItemCount] || repeat == 0) return NPT_ERROR_INVALID_PARAMETERS; - - NPT_Cardinal needed = m_ItemCount+repeat; - if (needed > m_Capacity) { - // allocate more memory - NPT_Cardinal new_capacity; - T* new_items = Allocate(needed, new_capacity); - if (new_items == NULL) return NPT_ERROR_OUT_OF_MEMORY; - m_Capacity = new_capacity; - - // move the items before the insertion point - for (NPT_Ordinal i=0; i<where_index; i++) { - new((void*)&new_items[i])T(m_Items[i]); - m_Items[i].~T(); - } - - // move the items after the insertion point - for (NPT_Ordinal i=where_index; i<m_ItemCount; i++) { - new((void*)&new_items[i+repeat])T(m_Items[i]); - m_Items[i].~T(); - } - - // use the new items instead of the current ones - ::operator delete((void*)m_Items); - m_Items = new_items; - } else { - // shift items after the insertion point to the right - for (NPT_Ordinal i=m_ItemCount; i>where_index; i--) { - new((void*)&m_Items[i+repeat-1])T(m_Items[i-1]); - m_Items[i-1].~T(); - } - } - - // insert the new items - for (NPT_Cardinal i=where_index; i<where_index+repeat; i++) { - new((void*)&m_Items[i])T(item); - } - - // update the item count - m_ItemCount += repeat; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Resize -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Resize(NPT_Cardinal size) -{ - if (size < m_ItemCount) { - // shrink - for (NPT_Ordinal i=size; i<m_ItemCount; i++) { - m_Items[i].~T(); - } - m_ItemCount = size; - } else if (size > m_ItemCount) { - return Resize(size, T()); - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Resize -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Resize(NPT_Cardinal size, const T& fill) -{ - if (size < m_ItemCount) { - return Resize(size); - } else if (size > m_ItemCount) { - Reserve(size); - for (NPT_Ordinal i=m_ItemCount; i<size; i++) { - new ((void*)&m_Items[i]) T(fill); - } - m_ItemCount = size; - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Contains -+---------------------------------------------------------------------*/ -template <typename T> -bool -NPT_Array<T>::Contains(const T& data) const -{ - for (NPT_Ordinal i=0; i<m_ItemCount; i++) { - if (m_Items[i] == data) return true; - } - - return false; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::operator== -+---------------------------------------------------------------------*/ -template <typename T> -bool -NPT_Array<T>::operator==(const NPT_Array<T>& other) const -{ - // we need the same number of items - if (other.m_ItemCount != m_ItemCount) return false; - - // compare all items - for (NPT_Ordinal i=0; i<m_ItemCount; i++) { - if (!(m_Items[i] == other.m_Items[i])) return false; - } - - return true; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::operator!= -+---------------------------------------------------------------------*/ -template <typename T> -inline -bool -NPT_Array<T>::operator!=(const NPT_Array<T>& other) const -{ - return !(*this == other); -} - -#endif // _NPT_ARRAY_H_ - - - - - - - - - - - - - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptAutomaticCleaner.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptAutomaticCleaner.h deleted file mode 100644 index 19b699b8f5..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptAutomaticCleaner.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************** -| -| Neptune - Automatic Cleaner -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_AUTOMATIC_CLEANER_H_ -#define _NPT_AUTOMATIC_CLEANER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptList.h" - -/*---------------------------------------------------------------------- -| NPT_AutomaticCleaner -+---------------------------------------------------------------------*/ -class NPT_AutomaticCleaner -{ -public: - class Singleton { - public: - virtual ~Singleton() {} - }; - - // singleton management - class Cleaner { - static Cleaner AutomaticCleaner; - ~Cleaner() { - if (Instance) { - delete Instance; - Instance = NULL; - } - } - }; - static NPT_AutomaticCleaner* GetInstance(); - - // destructor - ~NPT_AutomaticCleaner(); - - // methods - NPT_Result Register(Singleton* singleton); - NPT_Result RegisterTlsContext(Singleton* singleton); - NPT_Result RegisterHttpConnectionManager(Singleton* singleton); - -private: - // class members - static NPT_AutomaticCleaner* Instance; - - // constructor - NPT_AutomaticCleaner(); - - // members - NPT_List<Singleton*> m_Singletons; - Singleton* m_TlsContext; - Singleton* m_HttpConnectionManager; -}; - -#endif // _NPT_AUTOMATIC_CLEANER_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptAutoreleasePool.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptAutoreleasePool.h deleted file mode 100644 index cc63664cb1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptAutoreleasePool.h +++ /dev/null @@ -1,57 +0,0 @@ -/***************************************************************** -| -| Neptune - AutoreleasePool -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_AUTORELEASE_POOL_H_ -#define _NPT_AUTORELEASE_POOL_H_ - -/*---------------------------------------------------------------------- -| NPT_AutoreleasePoolInterface -+---------------------------------------------------------------------*/ -class NPT_AutoreleasePoolInterface -{ -public: - virtual ~NPT_AutoreleasePoolInterface() {} -}; - -/*---------------------------------------------------------------------- -| NPT_AutoreleasePool -+---------------------------------------------------------------------*/ -class NPT_AutoreleasePool : public NPT_AutoreleasePoolInterface -{ -public: - NPT_AutoreleasePool(); - virtual ~NPT_AutoreleasePool(); - -private: - NPT_AutoreleasePoolInterface* m_Delegate; -}; - -#endif // _NPT_AUTORELEASE_POOL_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptBase64.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptBase64.h deleted file mode 100644 index 89950de194..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptBase64.h +++ /dev/null @@ -1,68 +0,0 @@ -/***************************************************************** -| -| Neptune - Base64 -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_BASE64_H_ -#define _NPT_BASE64_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptDataBuffer.h" -#include "NptStrings.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const NPT_Cardinal NPT_BASE64_MIME_BLOCKS_PER_LINE = 19; -const NPT_Cardinal NPT_BASE64_PEM_BLOCKS_PER_LINE = 16; - -/*---------------------------------------------------------------------- -| NPT_Base64 -+---------------------------------------------------------------------*/ -class NPT_Base64 { -public: - // class methods - static NPT_Result Decode(const char* base64, - NPT_Size size, - NPT_DataBuffer& data, - bool url_safe = false); - static NPT_Result Encode(const NPT_Byte* data, - NPT_Size size, - NPT_String& base64, - NPT_Cardinal max_blocks_per_line = 0, - bool url_safe = false); - -private: - // this class is purely static - NPT_Base64(); -}; - -#endif // _NPT_BASE64_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptBufferedStreams.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptBufferedStreams.h deleted file mode 100644 index 1c0e0d6839..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptBufferedStreams.h +++ /dev/null @@ -1,102 +0,0 @@ -/***************************************************************** -| -| Neptune - Buffered Byte Stream -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_BUFFERED_STREAMS_H_ -#define _NPT_BUFFERED_STREAMS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStreams.h" -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptStrings.h" -#include "NptDebug.h" - -/*---------------------------------------------------------------------- -| NPT_BufferedStream -+---------------------------------------------------------------------*/ -const NPT_Size NPT_BUFFERED_BYTE_STREAM_DEFAULT_SIZE = 4096; - -/*---------------------------------------------------------------------- -| NPT_BufferedInputStream -+---------------------------------------------------------------------*/ -class NPT_BufferedInputStream : public NPT_InputStream -{ -public: - // constructors and destructor - NPT_BufferedInputStream(NPT_InputStreamReference& stream, - NPT_Size buffer_size = NPT_BUFFERED_BYTE_STREAM_DEFAULT_SIZE); - virtual ~NPT_BufferedInputStream(); - - // methods - virtual NPT_Result ReadLine(NPT_String& line, - NPT_Size max_chars = 4096, - bool break_on_cr = false); - virtual NPT_Result ReadLine(char* buffer, - NPT_Size buffer_size, - NPT_Size* chars_read = NULL, - bool break_on_cr = false); - virtual NPT_Result SetBufferSize(NPT_Size size, bool force = false); - virtual NPT_Result Peek(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read); - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - NPT_Result Seek(NPT_Position offset); - NPT_Result Tell(NPT_Position& offset); - NPT_Result GetSize(NPT_LargeSize& size); - NPT_Result GetAvailable(NPT_LargeSize& available); - -protected: - // members - NPT_InputStreamReference m_Source; - NPT_Position m_Position; - bool m_SkipNewline; - bool m_Eos; - struct { - NPT_Byte* data; - NPT_Size offset; - NPT_Size valid; - NPT_Size size; - } m_Buffer; - - // methods - virtual NPT_Result FillBuffer(); - virtual NPT_Result ReleaseBuffer(); -}; - -typedef NPT_Reference<NPT_BufferedInputStream> NPT_BufferedInputStreamReference; - -#endif // _NPT_BUFFERED_STREAMS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptCocoaMessageQueue.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptCocoaMessageQueue.h deleted file mode 100644 index cd3e89b11b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptCocoaMessageQueue.h +++ /dev/null @@ -1,39 +0,0 @@ -/***************************************************************** -| -| Neptune - Cocoa Message Queue -| -| (c) 2001-2008 Gilles Boccon-Gibod -| Author: Gilles Boccon-Gibod (bok@bok.net) -| -****************************************************************/ - -#ifndef _NPT_COCOA_MESSAGE_QUEUE_ -#define _NPT_COCOA_MESSAGE_QUEUE_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStrings.h" -#include "NptMessaging.h" -#include "NptSimpleMessageQueue.h" - -/*---------------------------------------------------------------------- -| NPT_CocoaMessageQueue -+---------------------------------------------------------------------*/ -class NPT_CocoaMessageQueue : public NPT_MessageQueue -{ -public: - NPT_CocoaMessageQueue(); - ~NPT_CocoaMessageQueue(); - - // NPT_MessageQueue methods - virtual NPT_Result QueueMessage(NPT_Message* message, - NPT_MessageHandler* handler); - virtual NPT_Result PumpMessage(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - - // methods - NPT_Result HandleMessage(NPT_Message* message, NPT_MessageHandler* handler); -}; - -#endif /* _NPT_COCOA_MESSAGE_QUEUE_ */ - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptCommon.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptCommon.h deleted file mode 100644 index 9137d3127c..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptCommon.h +++ /dev/null @@ -1,169 +0,0 @@ -/***************************************************************** -| -| Neptune - Common Definitions -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_COMMON_H_ -#define _NPT_COMMON_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptResults.h" - -/*---------------------------------------------------------------------- -| NPT_ObjectDeleter -+---------------------------------------------------------------------*/ -template <class T> -class NPT_ObjectDeleter { -public: - void operator()(T* object) const { - delete object; - } -}; - -/*---------------------------------------------------------------------- -| NPT_ObjectComparator -+---------------------------------------------------------------------*/ -template <class T> -class NPT_ObjectComparator { -public: - NPT_ObjectComparator(T& object) : m_Object(object) {} - bool operator()(const T& object) const { - return object == m_Object; - } -private: - T& m_Object; -}; - -/*---------------------------------------------------------------------- -| NPT_ContainerFind -+---------------------------------------------------------------------*/ -template <typename T, typename P> -NPT_Result NPT_ContainerFind(T& container, - const P& predicate, - typename T::Element& item, - NPT_Ordinal n=0) -{ - typename T::Iterator found = container.Find(predicate, n); - if (found) { - item = *found; - return NPT_SUCCESS; - } else { - return NPT_ERROR_NO_SUCH_ITEM; - } -} - -/*---------------------------------------------------------------------- -| NPT_ContainerFind -+---------------------------------------------------------------------*/ -template <typename T, typename P> -NPT_Result NPT_ContainerFind(T& container, - const P& predicate, - typename T::Iterator& iter, - NPT_Ordinal n=0) -{ - iter = container.Find(predicate, n); - return iter?NPT_SUCCESS:NPT_ERROR_NO_SUCH_ITEM; -} - -/*---------------------------------------------------------------------- -| NPT_UntilResultEquals -+---------------------------------------------------------------------*/ -class NPT_UntilResultEquals -{ -public: - // methods - NPT_UntilResultEquals(NPT_Result condition_result, - NPT_Result return_value = NPT_SUCCESS) : - m_ConditionResult(condition_result), - m_ReturnValue(return_value) {} - bool operator()(NPT_Result result, NPT_Result& return_value) const { - if (result == m_ConditionResult) { - return_value = m_ReturnValue; - return true; - } else { - return false; - } - } - -private: - // members - NPT_Result m_ConditionResult; - NPT_Result m_ReturnValue; -}; - -/*---------------------------------------------------------------------- -| NPT_UntilResultNotEquals -+---------------------------------------------------------------------*/ -class NPT_UntilResultNotEquals -{ -public: - // methods - NPT_UntilResultNotEquals(NPT_Result condition_result) : - m_ConditionResult(condition_result) {} - bool operator()(NPT_Result result, NPT_Result& return_value) const { - if (result != m_ConditionResult) { - return_value = result; - return true; - } else { - return false; - } - } - -private: - // members - NPT_Result m_ConditionResult; -}; - -/*---------------------------------------------------------------------- -| NPT_PropertyValue -+---------------------------------------------------------------------*/ -class NPT_PropertyValue -{ - public: - // typedefs - typedef enum {UNKNOWN, INTEGER, STRING} Type; - - // methods - NPT_PropertyValue() : m_Type(UNKNOWN), m_Integer(0) {} - NPT_PropertyValue(int value) : m_Type(INTEGER), m_Integer(value) {} - NPT_PropertyValue(const char* value) : m_Type(STRING), m_String(value) {} - - // members - Type m_Type; - union { - int m_Integer; - const char* m_String; - }; -}; - -#endif // _NPT_COMMON_H_ - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptConfig.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptConfig.h deleted file mode 100644 index d51f67f94e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptConfig.h +++ /dev/null @@ -1,353 +0,0 @@ -/***************************************************************** -| -| Neptune - Configuration -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_CONFIG_H_ -#define _NPT_CONFIG_H_ - -/*---------------------------------------------------------------------- -| defaults -+---------------------------------------------------------------------*/ -#define NPT_CONFIG_HAVE_ASSERT_H -#define NPT_CONFIG_HAVE_STD_C -#define NPT_CONFIG_HAVE_POSIX_TIME -#define NPT_CONFIG_HAVE_ASSERT_H -#define NPT_CONFIG_HAVE_STDLIB_H -#define NPT_CONFIG_HAVE_STDIO_H -#define NPT_CONFIG_HAVE_STDARG_H -#define NPT_CONFIG_HAVE_STDINT_H -#define NPT_CONFIG_HAVE_STRING_H -#define NPT_CONFIG_HAVE_LIMITS_H - -/*---------------------------------------------------------------------- -| standard C runtime -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_HAVE_STD_C) -#define NPT_CONFIG_HAVE_MALLOC -#define NPT_CONFIG_HAVE_CALLOC -#define NPT_CONFIG_HAVE_REALLOC -#define NPT_CONFIG_HAVE_FREE -#define NPT_CONFIG_HAVE_MEMCPY -#define NPT_CONFIG_HAVE_MEMSET -#define NPT_CONFIG_HAVE_MEMCMP -#define NPT_CONFIG_HAVE_GETENV -#define NPT_CONFIG_HAVE_SETENV -#define NPT_CONFIG_HAVE_UNSETENV -#define NPT_CONFIG_HAVE_READDIR_R -#endif /* NPT_CONFIG_HAS_STD_C */ - -#if defined(NPT_CONFIG_HAVE_POSIX_TIME) -#define NPT_CONFIG_HAVE_GMTIME -#define NPT_CONFIG_HAVE_GMTIME_R -#define NPT_CONFIG_HAVE_LOCALTIME -#define NPT_CONFIG_HAVE_LOCALTIME_R -#endif - -#if defined(NPT_CONFIG_HAVE_STRING_H) -#define NPT_CONFIG_HAVE_STRCMP -#define NPT_CONFIG_HAVE_STRNCMP -#define NPT_CONFIG_HAVE_STRDUP -#define NPT_CONFIG_HAVE_STRLEN -#define NPT_CONFIG_HAVE_STRCPY -#define NPT_CONFIG_HAVE_STRNCPY -#endif /* NPT_CONFIG_HAVE_STRING_H */ - -#if defined(NPT_CONFIG_HAVE_STDIO_H) -#define NPT_CONFIG_HAVE_SPRINTF -#define NPT_CONFIG_HAVE_SNPRINTF -#define NPT_CONFIG_HAVE_VSPRINTF -#define NPT_CONFIG_HAVE_VSNPRINTF -#endif /* NPT_CONFIG_HAVE_STDIO_H */ - -#if defined(NPT_CONFIG_HAVE_LIMITS_H) -#define NPT_CONFIG_HAVE_INT_MIN -#define NPT_CONFIG_HAVE_INT_MAX -#define NPT_CONFIG_HAVE_UINT_MAX -#define NPT_CONFIG_HAVE_LONG_MIN -#define NPT_CONFIG_HAVE_LONG_MAX -#define NPT_CONFIG_HAVE_ULONG_MAX -#endif - -/*---------------------------------------------------------------------- -| standard C++ runtime -+---------------------------------------------------------------------*/ -#define NPT_CONFIG_HAVE_NEW_H - -/*---------------------------------------------------------------------- -| sockets -+---------------------------------------------------------------------*/ -#define NPT_CONFIG_HAVE_SOCKADDR_SA_LEN - -/*---------------------------------------------------------------------- -| platform specifics -+---------------------------------------------------------------------*/ -/* Windows 32 */ -#if defined(_WIN32) || defined(_XBOX) -#if !defined(STRICT) -#define STRICT -#endif -#endif - -/* XBox */ -#if defined(_XBOX) -#define NPT_CONFIG_THREAD_STACK_SIZE 0x10000 -#endif - -/* QNX */ -#if defined(__QNX__) -#define NPT_CONFIG_HAVE_GETADDRINFO -#endif - -/* cygwin */ -#if defined(__CYGWIN__) -#undef NPT_CONFIG_HAVE_SOCKADDR_SA_LEN -#endif - -/* linux */ -#if defined(__linux__) -#define NPT_CONFIG_HAVE_GETADDRINFO -#undef NPT_CONFIG_HAVE_SOCKADDR_SA_LEN -#endif - -/* symbian */ -#if defined(__SYMBIAN32__) -/* If defined, specify the stack size of each NPT_Thread. */ -#define NPT_CONFIG_THREAD_STACK_SIZE 0x14000 -#endif - -/* android */ -#if defined(ANDROID) -#define NPT_CONFIG_HAVE_GETADDRINFO -#undef NPT_CONFIG_HAVE_SOCKADDR_SA_LEN -#endif - -/* OSX and iOS */ -#if defined(__APPLE__) -#define NPT_CONFIG_HAVE_GETADDRINFO -#define NPT_CONFIG_HAVE_AUTORELEASE_POOL -#define NPT_CONFIG_HAVE_SYSTEM_LOG_CONFIG -#endif - -/*---------------------------------------------------------------------- -| compiler specifics -+---------------------------------------------------------------------*/ -/* GCC */ -#if defined(__GNUC__) -#define NPT_LocalFunctionName __FUNCTION__ -#define NPT_COMPILER_UNUSED(p) (void)p -#else -#define NPT_COMPILER_UNUSED(p) -#endif - -/* TriMedia C/C++ Compiler */ -#if defined(__TCS__) -#undef NPT_CONFIG_HAVE_ASSERT_H -#undef NPT_CONFIG_HAVE_SNPRINTF -#undef NPT_CONFIG_HAVE_VSNPRINTF -#endif - -/* palmos compiler */ -#if defined(__PALMOS__) -#if __PALMOS__ <= 0x05000000 -#undef NPT_CONFIG_HAVE_ASSERT_H -#undef NPT_CONFIG_HAVE_SNPRINTF -#undef NPT_CONFIG_HAVE_VSNPRINTF -#endif -#endif - -/* Microsoft C/C++ Compiler */ -#if defined(_MSC_VER) -#undef NPT_CONFIG_HAVE_STDINT_H -#define NPT_CONFIG_HAVE_GETADDRINFO -#define NPT_CONFIG_STAT_ST_CTIME_IS_ST_BIRTHTIME -#define NPT_FORMAT_64 "I64" -#define NPT_CONFIG_INT64_TYPE __int64 -#define NPT_INT64_MIN _I64_MIN -#define NPT_INT64_MAX _I64_MAX -#define NPT_UINT64_MAX _UI64_MAX -#define NPT_INT64_C(_x) _x##i64 -#define NPT_UINT64_C(_x) _x##ui64 -#define NPT_LocalFunctionName __FUNCTION__ -#if !defined(_WIN32_WCE) -#define NPT_fseek _fseeki64 -#define NPT_ftell _ftelli64 -#else -#define NPT_fseek(a,b,c) fseek((a),(long)(b), (c)) -#define NPT_ftell ftell -#endif -#define NPT_stat NPT_stat_utf8 -#define NPT_stat_struct struct __stat64 -#if defined(_WIN64) -typedef __int64 NPT_PointerLong; -#else -#if _MSC_VER >= 1400 -typedef __w64 long NPT_PointerLong; -#else -typedef long NPT_PointerLong; -#endif -#endif -#define NPT_POINTER_TO_LONG(_p) ((NPT_PointerLong) (_p) ) -#if _MSC_VER >= 1400 && !defined(_WIN32_WCE) -#define gmtime_r(a,b) gmtime_s(a,b) -#define localtime_r(a,b) localtime_s(b,a) -#define NPT_CONFIG_HAVE_FOPEN_S -#define NPT_CONFIG_HAVE_FSOPEN -#define NPT_CONFIG_HAVE_SHARE_H -#define NPT_vsnprintf(s,c,f,a) _vsnprintf_s(s,c,_TRUNCATE,f,a) -#define NPT_snprintf(s,c,f,...) _snprintf_s(s,c,_TRUNCATE,f,__VA_ARGS__) -#define NPT_strncpy(d,s,c) strncpy_s(d,c+1,s,c) -#define NPT_strcpy(d,s) strcpy_s(d,strlen(s)+1,s) -#undef NPT_CONFIG_HAVE_GETENV -#define NPT_CONFIG_HAVE_DUPENV_S -#define dupenv_s _dupenv_s -#undef NPT_CONFIG_HAVE_SETENV -#undef NPT_CONFIG_HAVE_UNSETENV -#define NPT_CONFIG_HAVE_PUTENV_S -#define putenv_s _putenv_s -#else -#undef NPT_CONFIG_HAVE_GMTIME_R -#undef NPT_CONFIG_HAVE_LOCALTIME_R -#define NPT_vsnprintf _vsnprintf -#define NPT_snprintf _snprintf -#endif -#if defined(_DEBUG) -#define _CRTDBG_MAP_ALLOC -#endif -#endif - -/* Windows CE */ -#if defined(_WIN32_WCE) -#if defined(NPT_CONFIG_HAVE_FOPEN_S) -#undef NPT_CONFIG_HAVE_FOPEN_S -#endif -#endif - -/* Symbian */ -#if defined(__SYMBIAN32__) -#undef NPT_CONFIG_HAVE_NEW_H -#include "e32std.h" -#define explicit -#define NPT_fseek fseek // no fseeko ? -#define NPT_ftell ftell // no ftello ? -#endif - -/* Android */ -#if defined(ANDROID) -#if !defined(NPT_CONFIG_NO_RTTI) -#define NPT_CONFIG_NO_RTTI -#endif -#endif - -/* OSX and iOS */ -#if defined(__APPLE__) -#include <TargetConditionals.h> -#include <AvailabilityMacros.h> -#define NPT_CONFIG_HAVE_NET_IF_DL_H -#define NPT_CONFIG_HAVE_SOCKADDR_DL -#if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE -#define NPT_CONFIG_HAVE_NET_IF_TYPES_H -#if defined(MAC_OS_X_VERSION_10_6) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6) -#define NPT_CONFIG_HAVE_STAT_ST_BIRTHTIME -#endif -#define NPT_CONFIG_HAVE_DEV_URANDOM -#endif -#endif - -/*---------------------------------------------------------------------- -| defaults -+---------------------------------------------------------------------*/ -#if !defined(NPT_FORMAT_64) -#define NPT_FORMAT_64 "ll" -#endif - -#if !defined(NPT_POINTER_TO_LONG) -#define NPT_POINTER_TO_LONG(_p) ((long)(_p)) -#endif - -#if !defined(NPT_CONFIG_INT64_TYPE) -#define NPT_CONFIG_INT64_TYPE long long -#endif - -#if !defined(NPT_INT64_C) -#define NPT_INT64_C(_x) _x##LL -#endif - -#if !defined(NPT_UINT64_C) -#define NPT_UINT64_C(_x) _x##ULL -#endif - -#if !defined(NPT_snprintf) -#define NPT_snprintf snprintf -#endif - -#if !defined(NPT_strcpy) -#define NPT_strcpy strcpy -#endif - -#if !defined(NPT_strncpy) -#define NPT_strncpy strncpy -#endif - -#if !defined(NPT_vsnprintf) -#define NPT_vsnprintf vsnprintf -#endif - -#if !defined(NPT_LocalFunctionName) -#define NPT_LocalFunctionName (NULL) -#endif - -#if !defined(NPT_CONFIG_THREAD_STACK_SIZE) -#define NPT_CONFIG_THREAD_STACK_SIZE 0 -#endif - -#if !defined(NPT_fseek) -#define NPT_fseek fseeko -#endif - -#if !defined(NPT_ftell) -#define NPT_ftell ftello -#endif - -#if !defined(NPT_stat) -#define NPT_stat stat -#endif - -#if !defined(NPT_stat_struct) -#define NPT_stat_struct struct stat -#endif - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#if defined(DMALLOC) -#include <dmalloc.h> -#endif - -#endif // _NPT_CONFIG_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptConsole.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptConsole.h deleted file mode 100644 index 6502a7912b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptConsole.h +++ /dev/null @@ -1,55 +0,0 @@ -/***************************************************************** -| -| Neptune - Console -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ -/** @file -* Header file for console support -*/ - -#ifndef _NPT_CONSOLE_H_ -#define _NPT_CONSOLE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptResults.h" - -/*---------------------------------------------------------------------- -| prototypes -+---------------------------------------------------------------------*/ -class NPT_Console { -public: - // class methods - static void Output(const char* message); - static void OutputF(const char* format, ...); -}; - - -#endif /* _NPT_CONSOLE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptConstants.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptConstants.h deleted file mode 100644 index 6618bf842e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptConstants.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************** -| -| Neptune - Constants -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_CONSTANTS_H_ -#define _NPT_CONSTANTS_H_ - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#ifndef NULL -#define NULL 0 -#endif - -const int NPT_TIMEOUT_INFINITE = -1; - -#endif // _NPT_CONSTANTS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptCrypto.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptCrypto.h deleted file mode 100644 index 04eb58f32e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptCrypto.h +++ /dev/null @@ -1,78 +0,0 @@ -/***************************************************************** -| -| Neptune - Crypto -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_CRYPTO_H_ -#define _NPT_CRYPTO_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptDataBuffer.h" - -/*---------------------------------------------------------------------- -| NPT_BlockCipher -+---------------------------------------------------------------------*/ -class NPT_BlockCipher { -public: - // types - typedef enum { - AES_128 - } Algorithm; - - typedef enum { - ENCRYPT, - DECRYPT - } Direction; - - // factory - static NPT_Result Create(Algorithm algorithm, - Direction direction, - const NPT_UInt8* key, - NPT_Size key_size, - NPT_BlockCipher*& cipher); - - // methods - virtual ~NPT_BlockCipher() {} - virtual NPT_Size GetBlockSize() = 0; - virtual Direction GetDirection() = 0; - virtual Algorithm GetAlgorithm() = 0; - virtual NPT_Result ProcessBlock(const NPT_UInt8* input, NPT_UInt8* output) = 0; - /** - * @param iv Initial vector (same size as cipher block size), or NULL for an IV made up of all zeros. - */ - virtual NPT_Result ProcessCbc(const NPT_UInt8* input, NPT_Size input_size, const NPT_UInt8* iv, NPT_DataBuffer& output); - -protected: - NPT_BlockCipher() {} // don't instantiate directly -}; - -#endif // _NPT_CRYPTO_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDataBuffer.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDataBuffer.h deleted file mode 100644 index 7e57c01c6d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDataBuffer.h +++ /dev/null @@ -1,83 +0,0 @@ -/***************************************************************** -| -| Neptune - Datagram Packets -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DATA_BUFFER_H_ -#define _NPT_DATA_BUFFER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" - -/*---------------------------------------------------------------------- -| NPT_DataBuffer -+---------------------------------------------------------------------*/ -class NPT_DataBuffer -{ - public: - // constructors & destructor - NPT_DataBuffer(); // size unknown until first set - NPT_DataBuffer(NPT_Size size); // initial size specified - NPT_DataBuffer(const void* data, NPT_Size size, bool copy = true); // initial data and size specified - NPT_DataBuffer(const NPT_DataBuffer& other); - virtual ~NPT_DataBuffer(); - - // operators - NPT_DataBuffer& operator=(const NPT_DataBuffer& copy); - bool operator==(const NPT_DataBuffer& other) const; - - // data buffer handling methods - virtual NPT_Result SetBuffer(NPT_Byte* buffer, NPT_Size bufferSize); - virtual NPT_Result SetBufferSize(NPT_Size bufferSize); - virtual NPT_Size GetBufferSize() const { return m_BufferSize; } - virtual NPT_Result Reserve(NPT_Size size); - virtual NPT_Result Clear(); - - // data handling methods - virtual const NPT_Byte* GetData() const { return m_Buffer; } - virtual NPT_Byte* UseData() { return m_Buffer; }; - virtual NPT_Size GetDataSize() const { return m_DataSize; } - virtual NPT_Result SetDataSize(NPT_Size size); - virtual NPT_Result SetData(const NPT_Byte* data, NPT_Size dataSize); - - protected: - // members - bool m_BufferIsLocal; - NPT_Byte* m_Buffer; - NPT_Size m_BufferSize; - NPT_Size m_DataSize; - - // methods - NPT_Result ReallocateBuffer(NPT_Size size); -}; - -#endif // _NPT_DATA_BUFFER_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDebug.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDebug.h deleted file mode 100644 index d4973a2cc5..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDebug.h +++ /dev/null @@ -1,56 +0,0 @@ -/***************************************************************** -| -| Neptune - Debug Utilities -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DEBUG_H_ -#define _NPT_DEBUG_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" - -/*---------------------------------------------------------------------- -| standard macros -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_HAVE_ASSERT_H) && defined(NPT_DEBUG) -#include <assert.h> -#define NPT_ASSERT(x) assert(x) -#else -#define NPT_ASSERT(x) ((void)0) -#endif - -/*---------------------------------------------------------------------- -| NPT_Debug -+---------------------------------------------------------------------*/ -extern void NPT_Debug(const char* format, ...); -extern void NPT_DebugOutput(const char* message); - -#endif // _NPT_DEBUG_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDefs.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDefs.h deleted file mode 100644 index e69de29bb2..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDefs.h +++ /dev/null diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDigest.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDigest.h deleted file mode 100644 index 85b744c0ae..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDigest.h +++ /dev/null @@ -1,78 +0,0 @@ -/***************************************************************** -| -| Neptune - Message Digests -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DIGEST_H_ -#define _NPT_DIGEST_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptDataBuffer.h" - -/*---------------------------------------------------------------------- -| NPT_Digest -+---------------------------------------------------------------------*/ -class NPT_Digest { -public: - // types - typedef enum { - ALGORITHM_SHA1, - ALGORITHM_SHA256, - ALGORITHM_MD5 - } Algorithm; - - // factory - static NPT_Result Create(Algorithm algorithm, NPT_Digest*& digest); - - // methods - virtual ~NPT_Digest() {} - virtual unsigned int GetSize() = 0; - virtual NPT_Result Update(const NPT_UInt8* data, NPT_Size data_size) = 0; - virtual NPT_Result GetDigest(NPT_DataBuffer& digest) = 0; - -protected: - NPT_Digest() {} // don't instantiate directly -}; - -class NPT_Hmac { -public: - static NPT_Result Create(NPT_Digest::Algorithm algorithm, - const NPT_UInt8* key, - NPT_Size key_size, - NPT_Digest*& digest); - -private: - // methods - NPT_Hmac() {} // don't instantiate -}; - -#endif // _NPT_DIGEST_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDynamicCast.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDynamicCast.h deleted file mode 100644 index 0acab88121..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDynamicCast.h +++ /dev/null @@ -1,89 +0,0 @@ -/***************************************************************** -| -| Neptune - Dynamic Cast Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DYNAMIC_CAST_H_ -#define _NPT_DYNAMIC_CAST_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptCommon.h" -#include "NptResults.h" -#include "NptConfig.h" - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_NO_RTTI) -#define NPT_DYNAMIC_CAST(_class,_object) \ -( ((_object)==0) ? 0 : reinterpret_cast<_class*>((_object)->DynamicCast(&_class::_class_##_class)) ) -#define NPT_IMPLEMENT_DYNAMIC_CAST(_class) \ -static int _class_##_class; \ -virtual void* DynamicCast(const void* class_anchor) { \ - if (class_anchor == &_class::_class_##_class) { \ - return static_cast<_class*>(this); \ - } \ - return NULL; \ -} -#define NPT_IMPLEMENT_DYNAMIC_CAST_D(_class,_superclass)\ -static int _class_##_class; \ -virtual void* DynamicCast(const void* class_anchor) { \ - if (class_anchor == &_class::_class_##_class) { \ - return static_cast<_class*>(this); \ - } else { \ - return _superclass::DynamicCast(class_anchor); \ - } \ -} -#define NPT_IMPLEMENT_DYNAMIC_CAST_D2(_class,_superclass,_mixin)\ -static int _class_##_class; \ -virtual void* DynamicCast(const void* class_anchor) { \ - if (class_anchor == &_class::_class_##_class) { \ - return static_cast<_class*>(this); \ - } else { \ - void* sup = _superclass::DynamicCast(class_anchor); \ - if (sup) return sup; \ - return _mixin::DynamicCast(class_anchor); \ - } \ -} -#define NPT_DEFINE_DYNAMIC_CAST_ANCHOR(_class) int _class::_class_##_class = 0; - -#else - -#define NPT_DYNAMIC_CAST(_class,_object) dynamic_cast<_class*>(_object) -#define NPT_IMPLEMENT_DYNAMIC_CAST(_class) -#define NPT_IMPLEMENT_DYNAMIC_CAST_D(_class,_superclass) -#define NPT_IMPLEMENT_DYNAMIC_CAST_D2(_class,_superclass,_mixin) -#define NPT_DEFINE_DYNAMIC_CAST_ANCHOR(_class) - -#endif - -#endif // _NPT_DYNAMIC_CAST_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDynamicLibraries.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDynamicLibraries.h deleted file mode 100644 index 4a2751ee21..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptDynamicLibraries.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************** -| -| Neptune - Dynamic Libraries -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DYNAMIC_LIBRARIES_H_ -#define _NPT_DYNAMIC_LIBRARIES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define NPT_DYANMIC_LIBRARY_LOAD_FLAG_NOW 1 - -/*---------------------------------------------------------------------- -| NPT_DynamicLibraryInterface -+---------------------------------------------------------------------*/ -class NPT_DynamicLibraryInterface -{ -public: - virtual ~NPT_DynamicLibraryInterface() {} - virtual NPT_Result FindSymbol(const char* name, void*& symbol) = 0; - virtual NPT_Result Unload() = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_DynamicLibrary -+---------------------------------------------------------------------*/ -class NPT_DynamicLibrary : public NPT_DynamicLibraryInterface -{ -public: - // class methods - static NPT_Result Load(const char* name, NPT_Flags flags, NPT_DynamicLibrary*& library); - - // destructor - ~NPT_DynamicLibrary() { delete m_Delegate; } - - // NPT_DynamicLibraryInterface methods - virtual NPT_Result FindSymbol(const char* name, void*& symbol) { - return m_Delegate->FindSymbol(name, symbol); - } - virtual NPT_Result Unload() { - return m_Delegate->Unload(); - } - -private: - // methods - NPT_DynamicLibrary(NPT_DynamicLibraryInterface* delegate) : m_Delegate(delegate) {} - - // members - NPT_DynamicLibraryInterface* m_Delegate; -}; - -#endif // _NPT_DYNAMIC_LIBRARIES_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptFile.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptFile.h deleted file mode 100644 index e93bb2b43d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptFile.h +++ /dev/null @@ -1,229 +0,0 @@ -/***************************************************************** -| -| Neptune - Files -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_FILE_H_ -#define _NPT_FILE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptStreams.h" -#include "NptTime.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_NO_SUCH_FILE = NPT_ERROR_BASE_FILE - 0; -const int NPT_ERROR_FILE_NOT_OPEN = NPT_ERROR_BASE_FILE - 1; -const int NPT_ERROR_FILE_BUSY = NPT_ERROR_BASE_FILE - 2; -const int NPT_ERROR_FILE_ALREADY_OPEN = NPT_ERROR_BASE_FILE - 3; -const int NPT_ERROR_FILE_NOT_READABLE = NPT_ERROR_BASE_FILE - 4; -const int NPT_ERROR_FILE_NOT_WRITABLE = NPT_ERROR_BASE_FILE - 5; -const int NPT_ERROR_FILE_NOT_DIRECTORY = NPT_ERROR_BASE_FILE - 6; -const int NPT_ERROR_FILE_ALREADY_EXISTS = NPT_ERROR_BASE_FILE - 7; -const int NPT_ERROR_FILE_NOT_ENOUGH_SPACE = NPT_ERROR_BASE_FILE - 8; -const int NPT_ERROR_DIRECTORY_NOT_EMPTY = NPT_ERROR_BASE_FILE - 9; - -/** - * File open modes. - * Use a combination of these flags to indicate how a file should be opened - * Note all combinations of flags are valid or meaningful: - * If NPT_FILE_OPEN_MODE_WRITE is not set, then NPT_FILE_OPEN_MODE_CREATE, - * NPT_FILE_OPEN_MODE_TRUNCATE and NPT_FILE_OPEN_MODE_APPEND are ignored. - * If NPT_FILE_OPEN_MODE_APPEND is set, then NPT_FILE_OPEN_MODE_CREATE is - * automatically implied whether it is set or not. - * NPT_FILE_OPEN_MODE_CREATE and NPT_FILE_OPEN_MODE_TRUNCATE imply each - * other (if one is set, the other one is automatically implied) - */ -const unsigned int NPT_FILE_OPEN_MODE_READ = 0x01; -const unsigned int NPT_FILE_OPEN_MODE_WRITE = 0x02; -const unsigned int NPT_FILE_OPEN_MODE_CREATE = 0x04; -const unsigned int NPT_FILE_OPEN_MODE_TRUNCATE = 0x08; -const unsigned int NPT_FILE_OPEN_MODE_UNBUFFERED = 0x10; -const unsigned int NPT_FILE_OPEN_MODE_APPEND = 0x20; - -const unsigned int NPT_FILE_ATTRIBUTE_READ_ONLY = 0x01; -const unsigned int NPT_FILE_ATTRIBUTE_LINK = 0x02; - -#define NPT_FILE_STANDARD_INPUT "@STDIN" -#define NPT_FILE_STANDARD_OUTPUT "@STDOUT" -#define NPT_FILE_STANDARD_ERROR "@STDERR" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_DataBuffer; - -/*---------------------------------------------------------------------- -| NPT_FileInfo -+---------------------------------------------------------------------*/ -struct NPT_FileInfo -{ - // types - typedef enum { - FILE_TYPE_NONE, - FILE_TYPE_REGULAR, - FILE_TYPE_DIRECTORY, - FILE_TYPE_SPECIAL, - FILE_TYPE_OTHER - } FileType; - - // constructor - NPT_FileInfo() : m_Type(FILE_TYPE_NONE), m_Size(0), m_AttributesMask(0), m_Attributes(0) {} - - // members - FileType m_Type; - NPT_UInt64 m_Size; - NPT_Flags m_AttributesMask; - NPT_Flags m_Attributes; - NPT_TimeStamp m_CreationTime; - NPT_TimeStamp m_ModificationTime; -}; - -/*---------------------------------------------------------------------- -| NPT_FilePath -+---------------------------------------------------------------------*/ -class NPT_FilePath -{ -public: - // class members - static const char* const Separator; - - // class methods - static NPT_String BaseName(const char* path, bool with_extension = true); - static NPT_String DirName(const char* path); - static NPT_String FileExtension(const char* path); - static NPT_String Create(const char* directory, const char* base); - -private: - NPT_FilePath() {} // this class can't have instances -}; - -/*---------------------------------------------------------------------- -| NPT_FileInterface -+---------------------------------------------------------------------*/ -class NPT_FileInterface -{ -public: - // types - typedef unsigned int OpenMode; - - // constructors and destructor - virtual ~NPT_FileInterface() {} - - // methods - virtual NPT_Result Open(OpenMode mode) = 0; - virtual NPT_Result Close() = 0; - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream) = 0; - virtual NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_File -+---------------------------------------------------------------------*/ -class NPT_File : public NPT_FileInterface -{ -public: - // class methods - static NPT_Result GetRoots(NPT_List<NPT_String>& roots); - static NPT_Result GetSize(const char* path, NPT_LargeSize &size); - static NPT_Result GetInfo(const char* path, NPT_FileInfo* info = NULL); - static bool Exists(const char* path) { return NPT_SUCCEEDED(GetInfo(path)); } - static NPT_Result Remove(const char* path, bool recurse = false); - static NPT_Result RemoveFile(const char* path); - static NPT_Result RemoveDir(const char* path); - static NPT_Result RemoveDir(const char* path, bool force_if_not_empty); - static NPT_Result Rename(const char* from_path, const char* to_path); - static NPT_Result ListDir(const char* path, NPT_List<NPT_String>& entries, NPT_Ordinal start = 0, NPT_Cardinal count = 0); - static NPT_Result CreateDir(const char* path); - static NPT_Result CreateDir(const char* path, bool create_intermediate_dirs); - static NPT_Result GetWorkingDir(NPT_String& path); - static NPT_Result Load(const char* path, NPT_DataBuffer& buffer, NPT_FileInterface::OpenMode mode = NPT_FILE_OPEN_MODE_READ); - static NPT_Result Load(const char* path, NPT_String& data, NPT_FileInterface::OpenMode mode = NPT_FILE_OPEN_MODE_READ); - static NPT_Result Save(const char* path, NPT_String& data); - static NPT_Result Save(const char* path, const NPT_DataBuffer& buffer); - - // constructors and destructor - NPT_File(const char* path); - ~NPT_File() { delete m_Delegate; } - - // methods - NPT_Result Load(NPT_DataBuffer& buffer); - NPT_Result Save(const NPT_DataBuffer& buffer); - const NPT_String& GetPath() { return m_Path; } - NPT_Result GetSize(NPT_LargeSize &size); - NPT_Result GetInfo(NPT_FileInfo& info); - NPT_Result ListDir(NPT_List<NPT_String>& entries); - NPT_Result Rename(const char* path); - - // NPT_FileInterface methods - NPT_Result Open(OpenMode mode) { - return m_Delegate->Open(mode); - } - NPT_Result Close() { - return m_Delegate->Close(); - } - NPT_Result GetInputStream(NPT_InputStreamReference& stream) { - return m_Delegate->GetInputStream(stream); - } - NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) { - return m_Delegate->GetOutputStream(stream); - } - - // operators - NPT_File& operator=(const NPT_File& file); - -protected: - // members - NPT_FileInterface* m_Delegate; - NPT_String m_Path; - bool m_IsSpecial; -}; - -/*---------------------------------------------------------------------- -| NPT_FileDateComparator -+---------------------------------------------------------------------*/ -class NPT_FileDateComparator { -public: - NPT_FileDateComparator(const char* directory) : m_Directory(directory) {} - NPT_Int32 operator()(const NPT_String& file1, const NPT_String& file2) const { - NPT_FileInfo info1, info2; - if (NPT_FAILED(NPT_File::GetInfo(NPT_FilePath::Create(m_Directory, file1), &info1))) return -1; - if (NPT_FAILED(NPT_File::GetInfo(NPT_FilePath::Create(m_Directory, file2), &info2))) return -1; - return (info1.m_ModificationTime == info2.m_ModificationTime) ? 0 : (info1.m_ModificationTime < info2.m_ModificationTime ? -1 : 1); - } - -private: - NPT_String m_Directory; -}; - -#endif // _NPT_FILE_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptHash.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptHash.h deleted file mode 100644 index d7b877696a..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptHash.h +++ /dev/null @@ -1,83 +0,0 @@ -/***************************************************************** -| -| Neptune - Hashing -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_HASH_H_ -#define _NPT_HASH_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptResults.h" - -/*---------------------------------------------------------------------- -| Fowler/Noll/Vo FNV-1a hash functions -+---------------------------------------------------------------------*/ -const NPT_UInt32 NPT_FNV1A_32_INIT = ((NPT_UInt32)0x811c9dc5); -NPT_UInt32 NPT_Fnv1aHash32(const NPT_UInt8* data, NPT_Size data_size, NPT_UInt32 hash_init=NPT_FNV1A_32_INIT); -NPT_UInt32 NPT_Fnv1aHashStr32(const char* data, NPT_UInt32 hash_init=NPT_FNV1A_32_INIT); -const NPT_UInt64 NPT_FNV1A_64_INIT = ((NPT_UInt64)0xcbf29ce484222325ULL); -NPT_UInt64 NPT_Fnv1aHash64(const NPT_UInt8* data, NPT_Size data_size, NPT_UInt64 hash_init=NPT_FNV1A_64_INIT); -NPT_UInt64 NPT_Fnv1aHashStr64(const char* data, NPT_UInt64 hash_init=NPT_FNV1A_64_INIT); - -/*---------------------------------------------------------------------- -| NPT_Hash -+---------------------------------------------------------------------*/ -template <typename K> -struct NPT_Hash -{ -}; - -template <> -struct NPT_Hash<const char*> -{ - NPT_UInt32 operator()(const char* s) const { return NPT_Fnv1aHashStr32(s); } -}; - -template <> -struct NPT_Hash<char*> -{ - NPT_UInt32 operator()(char* s) const { return NPT_Fnv1aHashStr32(s); } -}; - -template <> -struct NPT_Hash<int> -{ - NPT_UInt32 operator()(int i) const { return NPT_Fnv1aHash32(reinterpret_cast<const NPT_UInt8*>(&i), sizeof(int)); } -}; - -template <> -struct NPT_Hash<unsigned int> -{ - NPT_UInt32 operator()(unsigned int i) const { return NPT_Fnv1aHash32(reinterpret_cast<const NPT_UInt8*>(&i), sizeof(int)); } -}; - -#endif // _NPT_HASH_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptHttp.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptHttp.h deleted file mode 100644 index 402d515e0e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptHttp.h +++ /dev/null @@ -1,861 +0,0 @@ -/***************************************************************** -| -| Neptune - HTTP Protocol -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_HTTP_H_ -#define _NPT_HTTP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptUri.h" -#include "NptTypes.h" -#include "NptList.h" -#include "NptBufferedStreams.h" -#include "NptSockets.h" -#include "NptMap.h" -#include "NptDynamicCast.h" -#include "NptVersion.h" -#include "NptTime.h" -#include "NptThreads.h" -#include "NptAutomaticCleaner.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const unsigned int NPT_HTTP_DEFAULT_PORT = 80; -const unsigned int NPT_HTTPS_DEFAULT_PORT = 443; -const unsigned int NPT_HTTP_INVALID_PORT = 0; - -const NPT_Timeout NPT_HTTP_CLIENT_DEFAULT_CONNECTION_TIMEOUT = 30000; -const NPT_Timeout NPT_HTTP_CLIENT_DEFAULT_IO_TIMEOUT = 30000; -const NPT_Timeout NPT_HTTP_CLIENT_DEFAULT_NAME_RESOLVER_TIMEOUT = 60000; -const unsigned int NPT_HTTP_CLIENT_DEFAULT_MAX_REDIRECTS = 20; - -const NPT_Timeout NPT_HTTP_SERVER_DEFAULT_CONNECTION_TIMEOUT = NPT_TIMEOUT_INFINITE; -const NPT_Timeout NPT_HTTP_SERVER_DEFAULT_IO_TIMEOUT = 60000; - -const unsigned int NPT_HTTP_CONNECTION_MANAGER_MAX_CONNECTION_POOL_SIZE = 5; -const unsigned int NPT_HTTP_CONNECTION_MANAGER_MAX_CONNECTION_AGE = 50; // seconds -const unsigned int NPT_HTTP_MAX_RECONNECTS = 10; -const unsigned int NPT_HTTP_MAX_100_RESPONSES = 10; - -const int NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH = 8192; -const int NPT_HTTP_PROTOCOL_MAX_HEADER_COUNT = 100; - -#define NPT_HTTP_PROTOCOL_1_0 "HTTP/1.0" -#define NPT_HTTP_PROTOCOL_1_1 "HTTP/1.1" -#define NPT_HTTP_METHOD_GET "GET" -#define NPT_HTTP_METHOD_HEAD "HEAD" -#define NPT_HTTP_METHOD_POST "POST" -#define NPT_HTTP_METHOD_PUT "PUT" -#define NPT_HTTP_METHOD_OPTIONS "OPTIONS" -#define NPT_HTTP_METHOD_DELETE "DELETE" -#define NPT_HTTP_METHOD_TRACE "TRACE" - -#define NPT_HTTP_HEADER_HOST "Host" -#define NPT_HTTP_HEADER_CONNECTION "Connection" -#define NPT_HTTP_HEADER_USER_AGENT "User-Agent" -#define NPT_HTTP_HEADER_SERVER "Server" -#define NPT_HTTP_HEADER_CONTENT_LENGTH "Content-Length" -#define NPT_HTTP_HEADER_CONTENT_TYPE "Content-Type" -#define NPT_HTTP_HEADER_CONTENT_ENCODING "Content-Encoding" -#define NPT_HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding" -#define NPT_HTTP_HEADER_LOCATION "Location" -#define NPT_HTTP_HEADER_RANGE "Range" -#define NPT_HTTP_HEADER_CONTENT_RANGE "Content-Range" -#define NPT_HTTP_HEADER_COOKIE "Cookie" -#define NPT_HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges" -#define NPT_HTTP_HEADER_CONTENT_RANGE "Content-Range" -#define NPT_HTTP_HEADER_AUTHORIZATION "Authorization" - -#define NPT_HTTP_TRANSFER_ENCODING_CHUNKED "chunked" - - -const int NPT_ERROR_HTTP_INVALID_RESPONSE_LINE = NPT_ERROR_BASE_HTTP - 0; -const int NPT_ERROR_HTTP_INVALID_REQUEST_LINE = NPT_ERROR_BASE_HTTP - 1; -const int NPT_ERROR_HTTP_NO_PROXY = NPT_ERROR_BASE_HTTP - 2; -const int NPT_ERROR_HTTP_INVALID_REQUEST = NPT_ERROR_BASE_HTTP - 3; -const int NPT_ERROR_HTTP_METHOD_NOT_SUPPORTED = NPT_ERROR_BASE_HTTP - 4; -const int NPT_ERROR_HTTP_TOO_MANY_REDIRECTS = NPT_ERROR_BASE_HTTP - 5; -const int NPT_ERROR_HTTP_TOO_MANY_RECONNECTS = NPT_ERROR_BASE_HTTP - 6; -const int NPT_ERROR_HTTP_CANNOT_RESEND_BODY = NPT_ERROR_BASE_HTTP - 7; - -#define NPT_HTTP_LINE_TERMINATOR "\r\n" - -#if !defined(NPT_CONFIG_HTTP_DEFAULT_USER_AGENT) -#define NPT_CONFIG_HTTP_DEFAULT_USER_AGENT "Neptune/" NPT_NEPTUNE_VERSION_STRING -#endif - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef unsigned int NPT_HttpStatusCode; -typedef NPT_UrlQuery NPT_HttpUrlQuery; // for backward compatibility - -/*---------------------------------------------------------------------- -| NPT_HttpUrl -+---------------------------------------------------------------------*/ -class NPT_HttpUrl : public NPT_Url { -public: - // constructors - NPT_HttpUrl() {} - NPT_HttpUrl(const char* host, - NPT_UInt16 port, - const char* path, - const char* query = NULL, - const char* fragment = NULL); - NPT_HttpUrl(const char* url, bool ignore_scheme = false); - - // methods - virtual NPT_String ToString(bool with_fragment = true) const; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpProtocol -+---------------------------------------------------------------------*/ -class NPT_HttpProtocol -{ -public: - // class methods - const char* GetStatusCodeString(NPT_HttpStatusCode status_code); -}; - -/*---------------------------------------------------------------------- -| NPT_HttpHeader -+---------------------------------------------------------------------*/ -class NPT_HttpHeader { -public: - // constructors and destructor - NPT_HttpHeader(const char* name, const char* value); - ~NPT_HttpHeader(); - - // methods - NPT_Result Emit(NPT_OutputStream& stream) const; - const NPT_String& GetName() const { return m_Name; } - const NPT_String& GetValue() const { return m_Value; } - NPT_Result SetName(const char* name); - NPT_Result SetValue(const char* value); - -private: - // members - NPT_String m_Name; - NPT_String m_Value; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpHeaders -+---------------------------------------------------------------------*/ -class NPT_HttpHeaders { -public: - // constructors and destructor - NPT_HttpHeaders(); - ~NPT_HttpHeaders(); - - // methods - NPT_Result Parse(NPT_BufferedInputStream& stream); - NPT_Result Emit(NPT_OutputStream& stream) const; - const NPT_List<NPT_HttpHeader*>& GetHeaders() const { return m_Headers; } - NPT_HttpHeader* GetHeader(const char* name) const; - const NPT_String* GetHeaderValue(const char* name) const; - NPT_Result SetHeader(const char* name, const char* value, bool replace=true); - NPT_Result AddHeader(const char* name, const char* value); - NPT_Result RemoveHeader(const char* name); - -private: - // members - NPT_List<NPT_HttpHeader*> m_Headers; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpEntity -+---------------------------------------------------------------------*/ -class NPT_HttpEntity { -public: - // constructors and destructor - NPT_HttpEntity(); - NPT_HttpEntity(const NPT_HttpHeaders& headers); - virtual ~NPT_HttpEntity(); - - // methods - NPT_Result SetInputStream(const NPT_InputStreamReference& stream, - bool update_content_length = false); - NPT_Result SetInputStream(const void* data, NPT_Size size); - NPT_Result SetInputStream(const NPT_String& string); - NPT_Result SetInputStream(const char* string); - NPT_Result GetInputStream(NPT_InputStreamReference& stream); - NPT_Result Load(NPT_DataBuffer& buffer); - NPT_Result SetHeaders(const NPT_HttpHeaders& headers); - - // field access - NPT_Result SetContentLength(NPT_LargeSize length); - NPT_Result SetContentType(const char* type); - NPT_Result SetContentEncoding(const char* encoding); - NPT_Result SetTransferEncoding(const char* encoding); - NPT_LargeSize GetContentLength() { return m_ContentLength; } - const NPT_String& GetContentType() { return m_ContentType; } - const NPT_String& GetContentEncoding() { return m_ContentEncoding; } - const NPT_String& GetTransferEncoding() { return m_TransferEncoding;} - bool ContentLengthIsKnown() { return m_ContentLengthIsKnown; } - -private: - // members - NPT_InputStreamReference m_InputStream; - NPT_LargeSize m_ContentLength; - NPT_String m_ContentType; - NPT_String m_ContentEncoding; - NPT_String m_TransferEncoding; - bool m_ContentLengthIsKnown; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpMessage -+---------------------------------------------------------------------*/ -class NPT_HttpMessage { -public: - // constructors and destructor - virtual ~NPT_HttpMessage(); - - // methods - const NPT_String& GetProtocol() const { - return m_Protocol; - } - NPT_Result SetProtocol(const char* protocol) { - m_Protocol = protocol; - return NPT_SUCCESS; - } - NPT_HttpHeaders& GetHeaders() { - return m_Headers; - } - const NPT_HttpHeaders& GetHeaders() const { - return m_Headers; - } - NPT_Result SetEntity(NPT_HttpEntity* entity); - NPT_HttpEntity* GetEntity() { - return m_Entity; - } - NPT_HttpEntity* GetEntity() const { - return m_Entity; - } - virtual NPT_Result ParseHeaders(NPT_BufferedInputStream& stream); - -protected: - // constructors - NPT_HttpMessage(const char* protocol); - - // members - NPT_String m_Protocol; - NPT_HttpHeaders m_Headers; - NPT_HttpEntity* m_Entity; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpRequest -+---------------------------------------------------------------------*/ -class NPT_HttpRequest : public NPT_HttpMessage { -public: - // class methods - static NPT_Result Parse(NPT_BufferedInputStream& stream, - const NPT_SocketAddress* endpoint, - NPT_HttpRequest*& request); - - // constructors and destructor - NPT_HttpRequest(const NPT_HttpUrl& url, - const char* method, - const char* protocol = NPT_HTTP_PROTOCOL_1_0); - NPT_HttpRequest(const char* url, - const char* method, - const char* protocol = NPT_HTTP_PROTOCOL_1_0); - virtual ~NPT_HttpRequest(); - - // methods - const NPT_HttpUrl& GetUrl() const { return m_Url; } - NPT_HttpUrl& GetUrl() { return m_Url; } - NPT_Result SetUrl(const char* url); - NPT_Result SetUrl(const NPT_HttpUrl& url); - const NPT_String& GetMethod() const { return m_Method; } - virtual NPT_Result Emit(NPT_OutputStream& stream, bool use_proxy=false) const; - -protected: - // members - NPT_HttpUrl m_Url; - NPT_String m_Method; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpResponse -+---------------------------------------------------------------------*/ -class NPT_HttpResponse : public NPT_HttpMessage { -public: - // class methods - static NPT_Result Parse(NPT_BufferedInputStream& stream, - NPT_HttpResponse*& response); - - // constructors and destructor - NPT_HttpResponse(NPT_HttpStatusCode status_code, - const char* reason_phrase, - const char* protocol = NPT_HTTP_PROTOCOL_1_0); - virtual ~NPT_HttpResponse(); - - // methods - NPT_Result SetStatus(NPT_HttpStatusCode status_code, - const char* reason_phrase, - const char* protocol = NULL); - NPT_Result SetProtocol(const char* protocol); - NPT_HttpStatusCode GetStatusCode() const { return m_StatusCode; } - const NPT_String& GetReasonPhrase() const { return m_ReasonPhrase; } - virtual NPT_Result Emit(NPT_OutputStream& stream) const; - -protected: - // members - NPT_HttpStatusCode m_StatusCode; - NPT_String m_ReasonPhrase; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpProxyAddress -+---------------------------------------------------------------------*/ -class NPT_HttpProxyAddress -{ -public: - NPT_HttpProxyAddress() : m_Port(NPT_HTTP_INVALID_PORT) {} - NPT_HttpProxyAddress(const char* hostname, NPT_UInt16 port) : - m_HostName(hostname), m_Port(port) {} - - const NPT_String& GetHostName() const { return m_HostName; } - void SetHostName(const char* hostname) { m_HostName = hostname; } - NPT_UInt16 GetPort() const { return m_Port; } - void SetPort(NPT_UInt16 port) { m_Port = port; } - -private: - NPT_String m_HostName; - NPT_UInt16 m_Port; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpProxySelector -+---------------------------------------------------------------------*/ -class NPT_HttpProxySelector -{ -public: - // class methods - static NPT_HttpProxySelector* GetDefault(); - static NPT_HttpProxySelector* GetSystemSelector(); - - // methods - virtual ~NPT_HttpProxySelector() {}; - virtual NPT_Result GetProxyForUrl(const NPT_HttpUrl& url, NPT_HttpProxyAddress& proxy) = 0; - -private: - // class members - static NPT_HttpProxySelector* m_SystemDefault; -}; - -class NPT_HttpRequestContext; - -/*---------------------------------------------------------------------- -| NPT_HttpClient -+---------------------------------------------------------------------*/ -class NPT_HttpClient { -public: - // types - struct Config { - Config() : m_ConnectionTimeout( NPT_HTTP_CLIENT_DEFAULT_CONNECTION_TIMEOUT), - m_IoTimeout( NPT_HTTP_CLIENT_DEFAULT_CONNECTION_TIMEOUT), - m_NameResolverTimeout(NPT_HTTP_CLIENT_DEFAULT_NAME_RESOLVER_TIMEOUT), - m_MaxRedirects( NPT_HTTP_CLIENT_DEFAULT_MAX_REDIRECTS), - m_UserAgent( NPT_CONFIG_HTTP_DEFAULT_USER_AGENT) {} - NPT_Timeout m_ConnectionTimeout; - NPT_Timeout m_IoTimeout; - NPT_Timeout m_NameResolverTimeout; - NPT_Cardinal m_MaxRedirects; - NPT_String m_UserAgent; - }; - - class Connection { - public: - virtual ~Connection() {} - virtual NPT_InputStreamReference& GetInputStream() = 0; - virtual NPT_OutputStreamReference& GetOutputStream() = 0; - virtual NPT_Result GetInfo(NPT_SocketInfo& info) = 0; - virtual bool SupportsPersistence() { return false; } - virtual bool IsRecycled() { return false; } - virtual NPT_Result Recycle() { delete this; return NPT_SUCCESS; } - virtual NPT_Result Abort() { return NPT_ERROR_NOT_IMPLEMENTED; } - }; - - class Connector { - public: - virtual ~Connector() {} - - virtual NPT_Result Connect(const NPT_HttpUrl& url, - NPT_HttpClient& client, - const NPT_HttpProxyAddress* proxy, - bool reuse, // whether we can reuse a connection or not - Connection*& connection) = 0; - - protected: - NPT_Result TrackConnection(NPT_HttpClient& client, - Connection* connection) { return client.TrackConnection(connection); } - Connector() {} // don't instantiate directly - }; - - // class methods - static NPT_Result WriteRequest(NPT_OutputStream& output_stream, - NPT_HttpRequest& request, - bool should_persist, - bool use_proxy = false); - static NPT_Result ReadResponse(NPT_InputStreamReference& input_stream, - bool should_persist, - bool expect_entity, - NPT_HttpResponse*& response, - NPT_Reference<Connection>* cref = NULL); - - /** - * @param connector Pointer to a connector instance, or NULL to use - * the default (TCP) connector. - * @param transfer_ownership Boolean flag. If true, the NPT_HttpClient object - * becomes the owner of the passed Connector and will delete it when it is - * itself deleted. If false, the caller keeps the ownership of the connector. - * This flag is ignored if the connector parameter is NULL. - */ - NPT_HttpClient(Connector* connector = NULL, bool transfer_ownership = true); - - virtual ~NPT_HttpClient(); - - // methods - NPT_Result SendRequest(NPT_HttpRequest& request, - NPT_HttpResponse*& response, - NPT_HttpRequestContext* context = NULL); - NPT_Result Abort(); - const Config& GetConfig() const { return m_Config; } - NPT_Result SetConfig(const Config& config); - NPT_Result SetProxy(const char* http_proxy_hostname, - NPT_UInt16 http_proxy_port, - const char* https_proxy_hostname = NULL, - NPT_UInt16 https_proxy_port = 0); - NPT_Result SetProxySelector(NPT_HttpProxySelector* selector); - NPT_Result SetConnector(Connector* connector); - NPT_Result SetTimeouts(NPT_Timeout connection_timeout, - NPT_Timeout io_timeout, - NPT_Timeout name_resolver_timeout); - NPT_Result SetUserAgent(const char* user_agent); - NPT_Result SetOptions(NPT_Flags options, bool on); - -protected: - // methods - NPT_Result TrackConnection(Connection* connection); - NPT_Result SendRequestOnce(NPT_HttpRequest& request, - NPT_HttpResponse*& response, - NPT_HttpRequestContext* context = NULL); - - // members - Config m_Config; - NPT_HttpProxySelector* m_ProxySelector; - bool m_ProxySelectorIsOwned; - Connector* m_Connector; - bool m_ConnectorIsOwned; - NPT_Mutex m_AbortLock; - bool m_Aborted; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpConnectionManager -+---------------------------------------------------------------------*/ -class NPT_HttpConnectionManager : public NPT_Thread, - public NPT_AutomaticCleaner::Singleton -{ -public: - // singleton management - static NPT_HttpConnectionManager* GetInstance(); - - class Connection : public NPT_HttpClient::Connection - { - public: - Connection(NPT_HttpConnectionManager& manager, - NPT_SocketReference& socket, - NPT_InputStreamReference input_stream, - NPT_OutputStreamReference output_stream); - virtual ~Connection(); - - // NPT_HttpClient::Connection methods - virtual NPT_InputStreamReference& GetInputStream() { return m_InputStream; } - virtual NPT_OutputStreamReference& GetOutputStream() { return m_OutputStream; } - virtual NPT_Result GetInfo(NPT_SocketInfo& info) { return m_Socket->GetInfo(info); } - virtual bool SupportsPersistence() { return true; } - virtual bool IsRecycled() { return m_IsRecycled; } - virtual NPT_Result Recycle(); - virtual NPT_Result Abort() { return m_Socket->Cancel(); } - - // members - NPT_HttpConnectionManager& m_Manager; - bool m_IsRecycled; - NPT_TimeStamp m_TimeStamp; - NPT_SocketReference m_Socket; - NPT_InputStreamReference m_InputStream; - NPT_OutputStreamReference m_OutputStream; - }; - - // destructor - ~NPT_HttpConnectionManager(); - - // methods - Connection* FindConnection(NPT_SocketAddress& address); - NPT_Result Recycle(Connection* connection); - NPT_Result Track(NPT_HttpClient* client, NPT_HttpClient::Connection* connection); - NPT_Result AbortConnections(NPT_HttpClient* client); - - // class methods - static NPT_Result Untrack(NPT_HttpClient::Connection* connection); - -private: - typedef NPT_List<NPT_HttpClient::Connection*> ConnectionList; - - // class members - static NPT_HttpConnectionManager* Instance; - - // constructor - NPT_HttpConnectionManager(); - - // NPT_Thread methods - void Run(); - - // methods - NPT_Result UntrackConnection(NPT_HttpClient::Connection* connection); - NPT_Result Cleanup(); - - // members - NPT_Mutex m_Lock; - NPT_Cardinal m_MaxConnections; - NPT_Cardinal m_MaxConnectionAge; - NPT_SharedVariable m_Aborted; - NPT_List<Connection*> m_Connections; - NPT_Map<NPT_HttpClient*, ConnectionList> m_ClientConnections; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpRequestContext -+---------------------------------------------------------------------*/ -class NPT_HttpRequestContext -{ -public: - // constructor - NPT_HttpRequestContext() {} - NPT_HttpRequestContext(const NPT_SocketAddress* local_address, - const NPT_SocketAddress* remote_address); - - // methods - const NPT_SocketAddress& GetLocalAddress() const { return m_LocalAddress; } - const NPT_SocketAddress& GetRemoteAddress() const { return m_RemoteAddress; } - void SetLocalAddress(const NPT_SocketAddress& address) { - m_LocalAddress = address; - } - void SetRemoteAddress(const NPT_SocketAddress& address) { - m_RemoteAddress = address; - } - -private: - // members - NPT_SocketAddress m_LocalAddress; - NPT_SocketAddress m_RemoteAddress; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpRequestHandler -+---------------------------------------------------------------------*/ -class NPT_HttpRequestHandler -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST(NPT_HttpRequestHandler) - - // destructor - virtual ~NPT_HttpRequestHandler() {} - - // methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response) = 0; - - /** - * Override this method if you want to write the body yourself. - * The default implementation will simply write out the entity's - * input stream. - */ - virtual NPT_Result SendResponseBody(const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - NPT_OutputStream& output); -}; - -/*---------------------------------------------------------------------- -| NPT_HttpStaticRequestHandler -+---------------------------------------------------------------------*/ -class NPT_HttpStaticRequestHandler : public NPT_HttpRequestHandler -{ -public: - // constructors - NPT_HttpStaticRequestHandler(const char* document, - const char* mime_type = "text/html", - bool copy = true); - NPT_HttpStaticRequestHandler(const void* data, - NPT_Size size, - const char* mime_type = "text/html", - bool copy = true); - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - -private: - NPT_String m_MimeType; - NPT_DataBuffer m_Buffer; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpFileRequestHandler_FileTypeMap -+---------------------------------------------------------------------*/ -typedef struct NPT_HttpFileRequestHandler_DefaultFileTypeMapEntry { - const char* extension; - const char* mime_type; -} NPT_HttpFileRequestHandler_FileTypeMapEntry; - -/*---------------------------------------------------------------------- -| NPT_HttpFileRequestHandler -+---------------------------------------------------------------------*/ -class NPT_HttpFileRequestHandler : public NPT_HttpRequestHandler -{ -public: - // constructors - NPT_HttpFileRequestHandler(const char* url_root, - const char* file_root, - bool auto_dir = false, - const char* auto_index = NULL); - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // class methods - static const char* GetDefaultContentType(const char* extension); - - // accessors - NPT_Map<NPT_String,NPT_String>& GetFileTypeMap() { return m_FileTypeMap; } - void SetDefaultMimeType(const char* mime_type) { - m_DefaultMimeType = mime_type; - } - void SetUseDefaultFileTypeMap(bool use_default) { - m_UseDefaultFileTypeMap = use_default; - } - - static NPT_Result SetupResponseBody(NPT_HttpResponse& response, - NPT_InputStreamReference& stream, - const NPT_String* range_spec = NULL); - -protected: - // methods - const char* GetContentType(const NPT_String& filename); - -private: - NPT_String m_UrlRoot; - NPT_String m_FileRoot; - NPT_Map<NPT_String, NPT_String> m_FileTypeMap; - NPT_String m_DefaultMimeType; - bool m_UseDefaultFileTypeMap; - bool m_AutoDir; - NPT_String m_AutoIndex; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpServer -+---------------------------------------------------------------------*/ -class NPT_HttpServer { -public: - // types - struct Config { - NPT_Timeout m_ConnectionTimeout; - NPT_Timeout m_IoTimeout; - NPT_IpAddress m_ListenAddress; - NPT_UInt16 m_ListenPort; - bool m_ReuseAddress; - }; - - // constructors and destructor - NPT_HttpServer(NPT_UInt16 listen_port = NPT_HTTP_DEFAULT_PORT, - bool reuse_address = true); - NPT_HttpServer(NPT_IpAddress listen_address, - NPT_UInt16 listen_port = NPT_HTTP_DEFAULT_PORT, - bool reuse_address = true); - virtual ~NPT_HttpServer(); - - // methods - NPT_Result SetConfig(const Config& config); - const Config& GetConfig() const { return m_Config; } - NPT_Result SetListenPort(NPT_UInt16 port, bool reuse_address = true); - NPT_Result SetTimeouts(NPT_Timeout connection_timeout, NPT_Timeout io_timeout); - NPT_Result SetServerHeader(const char* server_header); - NPT_Result Abort(); - NPT_Result WaitForNewClient(NPT_InputStreamReference& input, - NPT_OutputStreamReference& output, - NPT_HttpRequestContext* context, - NPT_Flags socket_flags = 0); - NPT_Result Loop(bool cancellable_sockets=true); - NPT_UInt16 GetPort() { return m_BoundPort; } - void Terminate(); - - /** - * Add a request handler. By default the ownership of the handler is NOT transfered to this object, - * so the caller is responsible for the lifetime management of the handler object. - */ - virtual NPT_Result AddRequestHandler(NPT_HttpRequestHandler* handler, - const char* path, - bool include_children = false, - bool transfer_ownership = false); - virtual NPT_HttpRequestHandler* FindRequestHandler(NPT_HttpRequest& request); - virtual NPT_List<NPT_HttpRequestHandler*> FindRequestHandlers(NPT_HttpRequest& request); - - /** - * Parse the request from a new client, form a response, and send it back. - */ - virtual NPT_Result RespondToClient(NPT_InputStreamReference& input, - NPT_OutputStreamReference& output, - const NPT_HttpRequestContext& context); - -protected: - // types - struct HandlerConfig { - HandlerConfig(NPT_HttpRequestHandler* handler, - const char* path, - bool include_children, - bool transfer_ownership = false); - ~HandlerConfig(); - - // methods - bool WillHandle(NPT_HttpRequest& request); - - // members - NPT_HttpRequestHandler* m_Handler; - NPT_String m_Path; - bool m_IncludeChildren; - bool m_HandlerIsOwned; - }; - - // methods - NPT_Result Bind(); - - // members - NPT_TcpServerSocket m_Socket; - NPT_UInt16 m_BoundPort; - Config m_Config; - NPT_List<HandlerConfig*> m_RequestHandlers; - NPT_String m_ServerHeader; - bool m_Run; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpResponder -+---------------------------------------------------------------------*/ -class NPT_HttpResponder { -public: - // types - struct Config { - NPT_Timeout m_IoTimeout; - }; - - // constructors and destructor - NPT_HttpResponder(NPT_InputStreamReference& input, - NPT_OutputStreamReference& output); - virtual ~NPT_HttpResponder(); - - // methods - NPT_Result SetConfig(const Config& config); - NPT_Result SetTimeout(NPT_Timeout io_timeout); - NPT_Result ParseRequest(NPT_HttpRequest*& request, - const NPT_SocketAddress* local_address = NULL); - NPT_Result SendResponseHeaders(NPT_HttpResponse& response); - -protected: - // members - Config m_Config; - NPT_BufferedInputStreamReference m_Input; - NPT_OutputStreamReference m_Output; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpChunkedInputStream -+---------------------------------------------------------------------*/ -class NPT_HttpChunkedInputStream : public NPT_InputStream -{ -public: - // constructors and destructor - NPT_HttpChunkedInputStream(NPT_BufferedInputStreamReference& stream); - virtual ~NPT_HttpChunkedInputStream(); - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - NPT_Result Seek(NPT_Position offset); - NPT_Result Tell(NPT_Position& offset); - NPT_Result GetSize(NPT_LargeSize& size); - NPT_Result GetAvailable(NPT_LargeSize& available); - -protected: - // members - NPT_BufferedInputStreamReference m_Source; - NPT_UInt32 m_CurrentChunkSize; - bool m_Eos; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpChunkedOutputStream -+---------------------------------------------------------------------*/ -class NPT_HttpChunkedOutputStream : public NPT_OutputStream -{ -public: - // constructors and destructor - NPT_HttpChunkedOutputStream(NPT_OutputStream& stream); - virtual ~NPT_HttpChunkedOutputStream(); - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL); - NPT_Result Seek(NPT_Position /*offset*/) { return NPT_ERROR_NOT_SUPPORTED;} - NPT_Result Tell(NPT_Position& offset) { return m_Stream.Tell(offset); } - NPT_Result Flush() { return m_Stream.Flush(); } - -protected: - // members - NPT_OutputStream& m_Stream; -}; - -#endif // _NPT_HTTP_H_ - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptInterfaces.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptInterfaces.h deleted file mode 100644 index b0bb264402..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptInterfaces.h +++ /dev/null @@ -1,115 +0,0 @@ -/***************************************************************** -| -| Neptune - Interfaces -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_INTERFACES_H_ -#define _NPT_INTERFACES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptCommon.h" -#include "NptResults.h" -#include "NptConfig.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_NO_SUCH_INTERFACE = NPT_ERROR_BASE_INTERFACES - 0; - -/*---------------------------------------------------------------------- -| NPT_InterfaceId -+---------------------------------------------------------------------*/ -class NPT_InterfaceId -{ - public: - // methods - bool operator==(const NPT_InterfaceId& id) const { - return ((id.m_Id == m_Id) && (id.m_Version == m_Version)); - } - - // members - unsigned long m_Id; - unsigned long m_Version; -}; - -/*---------------------------------------------------------------------- -| NPT_Polymorphic -+---------------------------------------------------------------------*/ -class NPT_Polymorphic -{ -public: - // destructor - virtual ~NPT_Polymorphic() {} - - // methods - virtual NPT_Result GetInterface(const NPT_InterfaceId& id, - NPT_Interface*& iface) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Interruptible -+---------------------------------------------------------------------*/ -class NPT_Interruptible -{ -public: - // destructor - virtual ~NPT_Interruptible() {} - - // methods - virtual NPT_Result Interrupt() = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Configurable -+---------------------------------------------------------------------*/ -class NPT_Configurable -{ -public: - // destructor - virtual ~NPT_Configurable() {} - - // methods - virtual NPT_Result SetProperty(const char* /*name*/, - const char* /*value*/) { - return NPT_ERROR_NO_SUCH_PROPERTY; - } - virtual NPT_Result SetProperty(const char* /*name*/, - int /*value*/) { - return NPT_ERROR_NO_SUCH_PROPERTY; - } - virtual NPT_Result GetProperty(const char* /*name*/, - NPT_PropertyValue& /*value*/) { - return NPT_ERROR_NO_SUCH_PROPERTY; - } -}; - -#endif // _NPT_INTERFACES_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptList.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptList.h deleted file mode 100644 index e1712c5464..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptList.h +++ /dev/null @@ -1,705 +0,0 @@ -/***************************************************************** -| -| Neptune - Lists -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_LIST_H_ -#define _NPT_LIST_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptResults.h" -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptCommon.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_LIST_EMPTY = NPT_ERROR_BASE_LIST - 0; -const int NPT_ERROR_LIST_OPERATION_ABORTED = NPT_ERROR_BASE_LIST - 1; -const int NPT_ERROR_LIST_OPERATION_CONTINUE = NPT_ERROR_BASE_LIST - 2; - -/*---------------------------------------------------------------------- -| NPT_List -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_List -{ -protected: - class Item; - -public: - // types - typedef T Element; - - class Iterator { - public: - Iterator() : m_Item(NULL) {} - explicit Iterator(Item* item) : m_Item(item) {} - Iterator(const Iterator& copy) : m_Item(copy.m_Item) {} - T& operator*() const { return m_Item->m_Data; } - T* operator->() const { return &m_Item->m_Data;} - Iterator& operator++() { // prefix - m_Item = m_Item->m_Next; - return (*this); - } - Iterator operator++(int) { // postfix - Iterator saved_this = *this; - m_Item = m_Item->m_Next; - return saved_this; - } - Iterator& operator--() { // prefix - m_Item = m_Item->m_Prev; - return (*this); - } - Iterator operator--(int) { // postfix - Iterator saved_this = *this; - m_Item = m_Item->m_Prev; - return saved_this; - } - operator bool() const { - return m_Item != NULL; - } - bool operator==(const Iterator& other) const { - return m_Item == other.m_Item; - } - bool operator!=(const Iterator& other) const { - return m_Item != other.m_Item; - } - void operator=(const Iterator& other) { - m_Item = other.m_Item; - } - void operator=(Item* item) { - m_Item = item; - } - - private: - Item* m_Item; - - // friends - friend class NPT_List<T>; - }; - - // methods - NPT_List<T>(); - NPT_List<T>(const NPT_List<T>& list); - ~NPT_List<T>(); - NPT_Result Add(const T& data); - NPT_Result Insert(const Iterator where, const T& data); - NPT_Result Remove(const T& data, bool all=false); - NPT_Result Erase(const Iterator position); - NPT_Result PopHead(T& data); - bool Contains(const T& data) const; - NPT_Result Clear(); - NPT_Result Get(NPT_Ordinal index, T& data) const; - NPT_Result Get(NPT_Ordinal index, T*& data) const; - NPT_Cardinal GetItemCount() const { return m_ItemCount; } - Iterator GetFirstItem() const { return Iterator(m_Head); } - Iterator GetLastItem() const { return Iterator(m_Tail); } - Iterator GetItem(NPT_Ordinal index) const; - - // list manipulation - NPT_Result Add(NPT_List<T>& list); - NPT_Result Remove(const NPT_List<T>& list, bool all=false); - NPT_Result Cut(NPT_Cardinal keep, NPT_List<T>& cut); - - // item manipulation - NPT_Result Add(Item& item); - NPT_Result Detach(Item& item); - NPT_Result Insert(const Iterator where, Item& item); - - // list operations - // keep these template members defined here because MSV6 does not let - // us define them later - template <typename X> - NPT_Result Apply(const X& function) const - { - Item* item = m_Head; - while (item) { - function(item->m_Data); - item = item->m_Next; - } - - return NPT_SUCCESS; - } - - template <typename X, typename P> - NPT_Result ApplyUntil(const X& function, const P& predicate, bool* match = NULL) const - { - Item* item = m_Head; - while (item) { - NPT_Result return_value; - if (predicate(function(item->m_Data), return_value)) { - if (match) *match = true; - return return_value; - } - item = item->m_Next; - } - - if (match) *match = false; - return NPT_SUCCESS; - } - - template <typename P> - Iterator Find(const P& predicate, NPT_Ordinal n=0) const - { - Item* item = m_Head; - while (item) { - if (predicate(item->m_Data)) { - if (n == 0) { - return Iterator(item); - } - --n; - } - item = item->m_Next; - } - - return Iterator(NULL); - } - - // Merge sort algorithm - // http://en.wikipedia.org/wiki/Mergesort - template <typename X> - NPT_Result Sort(const X& function) - { - if (GetItemCount() <= 1) return NPT_SUCCESS; - - NPT_List<T> right; - NPT_CHECK(Cut(GetItemCount() >> 1, right)); - - // Sort ourselves again - Sort(function); - - // sort the right side - right.Sort(function); - - // merge the two back inline - if (function(m_Tail->m_Data, right.m_Head->m_Data) > 0) { - Merge(right, function); - } else { - // append right - right.m_Head->m_Prev = m_Tail; - if (m_Tail) m_Tail->m_Next = right.m_Head; - if (!m_Head) m_Head = right.m_Head; - m_Tail = right.m_Tail; - m_ItemCount += right.m_ItemCount; - - right.m_ItemCount = 0; - right.m_Head = right.m_Tail = NULL; - } - - return NPT_SUCCESS; - } - - template <typename X> - NPT_Result Merge(NPT_List<T>& other, const X& function) - { - Iterator left = GetFirstItem(); - Iterator right; - while (left && other.m_Head) { - if (function(*left, other.m_Head->m_Data) <= 0) { - ++left; - } else { - // remove head and insert it - Item* head = other.m_Head; - other.Detach(*head); - Insert(left, *head); - } - } - - // add what's left of other if any - if (other.m_Head) { - other.m_Head->m_Prev = m_Tail; - if (m_Tail) m_Tail->m_Next = other.m_Head; - m_Tail = other.m_Tail; - if (!m_Head) m_Head = other.m_Head; - other.m_Head = other.m_Tail = NULL; - } - m_ItemCount += other.m_ItemCount; - other.m_ItemCount = 0; - return NPT_SUCCESS; - } - - // operators - void operator=(const NPT_List<T>& other); - bool operator==(const NPT_List<T>& other) const; - bool operator!=(const NPT_List<T>& other) const; - -protected: - // types - class Item - { - public: - // methods - Item(const T& data) : m_Next(0), m_Prev(0), m_Data(data) {} - - // members - Item* m_Next; - Item* m_Prev; - T m_Data; - - // friends - //friend class NPT_List<T>; - //friend class NPT_List<T>::Iterator; - }; - - // members - NPT_Cardinal m_ItemCount; - Item* m_Head; - Item* m_Tail; -}; - -/*---------------------------------------------------------------------- -| NPT_List<T>::NPT_List -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_List<T>::NPT_List() : m_ItemCount(0), m_Head(0), m_Tail(0) -{ -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::NPT_List -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_List<T>::NPT_List(const NPT_List<T>& list) : m_ItemCount(0), m_Head(0), m_Tail(0) -{ - *this = list; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::~NPT_List<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_List<T>::~NPT_List() -{ - Clear(); -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::operator= -+---------------------------------------------------------------------*/ -template <typename T> -void -NPT_List<T>::operator=(const NPT_List<T>& list) -{ - // cleanup - Clear(); - - // copy the new list - Item* item = list.m_Head; - while (item) { - Add(item->m_Data); - item = item->m_Next; - } -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::operator== -+---------------------------------------------------------------------*/ -template <typename T> -bool -NPT_List<T>::operator==(const NPT_List<T>& other) const -{ - // quick test - if (m_ItemCount != other.m_ItemCount) return false; - - // compare all elements one by one - Item* our_item = m_Head; - Item* their_item = other.m_Head; - while (our_item && their_item) { - if (our_item->m_Data != their_item->m_Data) return false; - our_item = our_item->m_Next; - their_item = their_item->m_Next; - } - - return our_item == NULL && their_item == NULL; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::operator!= -+---------------------------------------------------------------------*/ -template <typename T> -inline -bool -NPT_List<T>::operator!=(const NPT_List<T>& other) const -{ - return !(*this == other); -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Clear -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Clear() -{ - // delete all items - Item* item = m_Head; - while (item) { - Item* next = item->m_Next; - delete item; - item = next; - } - - m_ItemCount = 0; - m_Head = NULL; - m_Tail = NULL; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Add -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Add(Item& item) -{ - // add element at the tail - if (m_Tail) { - item.m_Prev = m_Tail; - item.m_Next = NULL; - m_Tail->m_Next = &item; - m_Tail = &item; - } else { - m_Head = &item; - m_Tail = &item; - item.m_Next = NULL; - item.m_Prev = NULL; - } - - // one more item in the list now - ++m_ItemCount; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Add -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Add(NPT_List<T>& list) -{ - // copy the new list - Item* item = list.m_Head; - while (item) { - Add(item->m_Data); - item = item->m_Next; - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Add -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Result -NPT_List<T>::Add(const T& data) -{ - return Add(*new Item(data)); -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::GetItem -+---------------------------------------------------------------------*/ -template <typename T> -typename NPT_List<T>::Iterator -NPT_List<T>::GetItem(NPT_Ordinal n) const -{ - Iterator result; - if (n >= m_ItemCount) return result; - - result = m_Head; - for (unsigned int i=0; i<n; i++) { - ++result; - } - - return result; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Insert -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Result -NPT_List<T>::Insert(Iterator where, const T&data) -{ - return Insert(where, *new Item(data)); -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Insert -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Insert(Iterator where, Item& item) -{ - // insert the item in the list - Item* position = where.m_Item; - if (position) { - // insert at position - item.m_Next = position; - item.m_Prev = position->m_Prev; - position->m_Prev = &item; - if (item.m_Prev) { - item.m_Prev->m_Next = &item; - } else { - // this is the new head - m_Head = &item; - } - - // one more item in the list now - ++m_ItemCount; - } else { - // insert at tail - return Add(item); - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Erase -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Erase(Iterator position) -{ - if (!position) return NPT_ERROR_NO_SUCH_ITEM; - Detach(*position.m_Item); - delete position.m_Item; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Remove -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Remove(const T& data, bool all) -{ - Item* item = m_Head; - NPT_Cardinal matches = 0; - - while (item) { - Item* next = item->m_Next; - if (item->m_Data == data) { - // we found a match - ++matches; - - // detach item - Detach(*item); - - // destroy the item - delete item; - - if (!all) return NPT_SUCCESS; - } - item = next; - } - - return matches?NPT_SUCCESS:NPT_ERROR_NO_SUCH_ITEM; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Remove -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Remove(const NPT_List<T>& list, bool all) -{ - Item* item = list.m_Head; - while (item) { - Remove(item->m_Data, all); - item = item->m_Next; - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Detach -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Detach(Item& item) -{ - // remove item - if (item.m_Prev) { - // item is not the head - if (item.m_Next) { - // item is not the tail - item.m_Next->m_Prev = item.m_Prev; - item.m_Prev->m_Next = item.m_Next; - } else { - // item is the tail - m_Tail = item.m_Prev; - m_Tail->m_Next = NULL; - } - } else { - // item is the head - m_Head = item.m_Next; - if (m_Head) { - // item is not the tail - m_Head->m_Prev = NULL; - } else { - // item is also the tail - m_Tail = NULL; - } - } - - // one less item in the list now - --m_ItemCount; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Get -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Get(NPT_Ordinal index, T& data) const -{ - T* data_pointer; - NPT_CHECK(Get(index, data_pointer)); - data = *data_pointer; - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Get -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Get(NPT_Ordinal index, T*& data) const -{ - Item* item = m_Head; - - if (index < m_ItemCount) { - while (index--) item = item->m_Next; - data = &item->m_Data; - return NPT_SUCCESS; - } else { - data = NULL; - return NPT_ERROR_NO_SUCH_ITEM; - } -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::PopHead -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::PopHead(T& data) -{ - // check that we have an element - if (m_Head == NULL) return NPT_ERROR_LIST_EMPTY; - - // copy the head item's data - data = m_Head->m_Data; - - // discard the head item - Item* head = m_Head; - m_Head = m_Head->m_Next; - if (m_Head) { - m_Head->m_Prev = NULL; - } else { - m_Tail = NULL; - } - delete head; - - // update the count - --m_ItemCount; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Contains -+---------------------------------------------------------------------*/ -template <typename T> -bool -NPT_List<T>::Contains(const T& data) const -{ - Item* item = m_Head; - while (item) { - if (item->m_Data == data) return true; - item = item->m_Next; - } - - return false; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Cut -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Cut(NPT_Cardinal keep, NPT_List<T>& cut) -{ - cut.Clear(); - - // shortcut - if (keep >= GetItemCount()) return NPT_SUCCESS; - - // update new counts first - cut.m_ItemCount = m_ItemCount-keep; - m_ItemCount = keep; - - // look for the cut-point item - Item* item = m_Head; - while (keep--) { item = item->m_Next;} - - // the cut list goes from the cut-point item to the tail - cut.m_Head = item; - cut.m_Tail = m_Tail; - - // update the portion of the list we keep - if (item == m_Head) m_Head = NULL; - m_Tail = item->m_Prev; - - // update the cut list - if (item->m_Prev) item->m_Prev->m_Next = NULL; - item->m_Prev = NULL; - - return NPT_SUCCESS; -} - -#endif // _NPT_LIST_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptLogging.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptLogging.h deleted file mode 100644 index 3168424a3b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptLogging.h +++ /dev/null @@ -1,520 +0,0 @@ -/***************************************************************** -| -| Neptune - Logging Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ -/** @file -* Header file for logging -*/ - -#ifndef _NPT_LOGGING_H_ -#define _NPT_LOGGING_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptTypes.h" -#include "NptTime.h" -#include "NptStrings.h" -#include "NptList.h" -#include "NptStreams.h" -#include "NptThreads.h" -#include "NptHttp.h" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_LogManager; - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -class NPT_LogRecord { -public: - const char* m_LoggerName; - int m_Level; - const char* m_Message; - NPT_TimeStamp m_TimeStamp; - const char* m_SourceFile; - unsigned int m_SourceLine; - const char* m_SourceFunction; - unsigned long m_ThreadId; -}; - -class NPT_LogHandler { -public: - typedef void(*CustomHandlerExternalFunction)(const NPT_LogRecord* record); - - // class methods - static NPT_Result SetCustomHandlerFunction(CustomHandlerExternalFunction function); - static NPT_Result Create(const char* logger_name, - const char* handler_name, - NPT_LogHandler*& handler); - - // methods - virtual ~NPT_LogHandler() {} - virtual void Log(const NPT_LogRecord& record) = 0; - virtual NPT_String ToString() { return ""; } -}; - -class NPT_Logger { -public: - // methods - NPT_Logger(const char* name, NPT_LogManager& manager); - ~NPT_Logger(); - void Log(int level, - const char* source_file, - unsigned int source_line, - const char* source_function, - const char* msg, - ...); - - NPT_Result AddHandler(NPT_LogHandler* handler, bool transfer_ownership = true); - NPT_Result DeleteHandlers(); - NPT_Result SetParent(NPT_Logger* parent); - const NPT_String& GetName() const { return m_Name; } - int GetLevel() const { return m_Level; } - bool GetForwardToParent() const { return m_ForwardToParent; } - NPT_List<NPT_LogHandler*>& GetHandlers() { return m_Handlers; } - -private: - // members - NPT_LogManager& m_Manager; - NPT_String m_Name; - int m_Level; - bool m_LevelIsInherited; - bool m_ForwardToParent; - NPT_Logger* m_Parent; - NPT_List<NPT_LogHandler*> m_Handlers; - NPT_List<NPT_LogHandler*> m_ExternalHandlers; - - // friends - friend class NPT_LogManager; -}; - -typedef struct { - NPT_Logger* logger; - const char* name; -} NPT_LoggerReference; - -class NPT_Log { -public: - // class methods - static int GetLogLevel(const char* name); - static const char* GetLogLevelName(int level); - static const char* GetLogLevelAnsiColor(int level); - static void FormatRecordToStream(const NPT_LogRecord& record, - NPT_OutputStream& stream, - bool use_colors, - NPT_Flags format_filter); -}; - -class NPT_LogConfigEntry { -public: - NPT_LogConfigEntry(const char* key, const char* value) : - m_Key(key), m_Value(value) {} - NPT_String m_Key; - NPT_String m_Value; -}; - -class NPT_LogManager { -public: - // class methods - static NPT_LogManager& GetDefault(); - static bool ConfigValueIsBooleanTrue(NPT_String& value); - static bool ConfigValueIsBooleanFalse(NPT_String& value); - static NPT_Logger* GetLogger(const char* name); - - // methods - NPT_LogManager(); - ~NPT_LogManager(); - NPT_Result Configure(const char* config_sources = NULL); - NPT_String* GetConfigValue(const char* prefix, const char* suffix); - NPT_List<NPT_Logger*>& GetLoggers() { return m_Loggers; } - NPT_List<NPT_LogConfigEntry>& GetConfig() { return m_Config; } - void SetEnabled(bool enabled) { m_Enabled = enabled; } - bool IsEnabled() { return m_Enabled; } - void Lock(); - void Unlock(); - -private: - // methods - NPT_Result SetConfigValue(const char* key, const char* value); - NPT_Result ParseConfig(const char* config, NPT_Size config_size); - NPT_Result ParseConfigSource(NPT_String& source); - NPT_Result ParseConfigFile(const char* filename); - bool HaveLoggerConfig(const char* name); - NPT_Logger* FindLogger(const char* name); - NPT_Result ConfigureLogger(NPT_Logger* logger); - - // members - NPT_Mutex m_Lock; - NPT_Thread::ThreadId m_LockOwner; - bool m_Enabled; - bool m_Configured; - NPT_List<NPT_LogConfigEntry> m_Config; - NPT_List<NPT_Logger*> m_Loggers; - NPT_Logger* m_Root; -}; - -const unsigned short NPT_HTTP_LOGGER_CONFIGURATOR_DEFAULT_PORT = 6378; -class NPT_HttpLoggerConfigurator : NPT_HttpRequestHandler, public NPT_Thread { -public: - // constructor and destructor - NPT_HttpLoggerConfigurator(NPT_UInt16 port = NPT_HTTP_LOGGER_CONFIGURATOR_DEFAULT_PORT, - bool detached = true); - virtual ~NPT_HttpLoggerConfigurator(); - - // NPT_Runnable (NPT_Thread) methods - virtual void Run(); - -private: - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // members - NPT_HttpServer* m_Server; -}; - -NPT_Result NPT_GetSystemLogConfig(NPT_String& config); - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define NPT_LOG_LEVEL_FATAL 700 -#define NPT_LOG_LEVEL_SEVERE 600 -#define NPT_LOG_LEVEL_WARNING 500 -#define NPT_LOG_LEVEL_INFO 400 -#define NPT_LOG_LEVEL_FINE 300 -#define NPT_LOG_LEVEL_FINER 200 -#define NPT_LOG_LEVEL_FINEST 100 - -#define NPT_LOG_LEVEL_OFF 32767 -#define NPT_LOG_LEVEL_ALL 0 - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#define NPT_LOG_GET_LOGGER(_logger) \ - if ((_logger).logger == NULL) { \ - (_logger).logger = NPT_LogManager::GetLogger((_logger).name); \ - } - -#if defined(NPT_CONFIG_ENABLE_LOGGING) -//TODO: volatile makes tons of errors for me -//#define NPT_DEFINE_LOGGER(_logger, _name) static volatile NPT_LoggerReference _logger = { NULL, (_name) }; -#define NPT_DEFINE_LOGGER(_logger, _name) static NPT_LoggerReference _logger = { NULL, (_name) }; - -#define NPT_LOG_X(_logger, _level, _argsx) \ -do { \ - NPT_LOG_GET_LOGGER((_logger)) \ - if ((_logger).logger && (_level) >= (_logger).logger->GetLevel()) { \ - (_logger).logger->Log _argsx; \ - } \ -} while(0) - -#define NPT_CHECK_LL(_logger, _level, _result) do { \ - NPT_Result _x = (_result); \ - if (_x != NPT_SUCCESS) { \ - NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"NPT_CHECK failed, result=%d (%s) [%s]", _x, NPT_ResultText(_x), #_result)); \ - return _x; \ - } \ -} while(0) - -#define NPT_CHECK_LABEL_LL(_logger, _level, _result, _label) do { \ - NPT_Result _x = (_result); \ - if (_x != NPT_SUCCESS) { \ - NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"NPT_CHECK failed, result=%d (%s) [%s]", _x, NPT_ResultText(_x), #_result)); \ - goto _label; \ - } \ -} while(0) -#define NPT_CHECK_POINTER_LL(_logger, _level, _p) do { \ - if ((_p) == NULL) { \ - NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"@@@ NULL pointer parameter")); \ - return NPT_ERROR_INVALID_PARAMETERS; \ - } \ -} while(0) -#define NPT_CHECK_POINTER_LABEL_LL(_logger, _level, _p, _label) do { \ - if ((_p) == NULL) { \ - NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"@@@ NULL pointer parameter")); \ - goto _label; \ - } \ -} while(0) - -#else /* NPT_CONFIG_ENABLE_LOGGING */ - -#define NPT_DEFINE_LOGGER(_logger, _name) -#define NPT_LOG_X(_logger, _level, _argsx) -#define NPT_CHECK_LL(_logger, _level, _result) NPT_CHECK(_result) -#define NPT_CHECK_LABEL_LL(_logger, _level, _result, _label) NPT_CHECK_LABEL((_result), _label) -#define NPT_CHECK_POINTER_LL(_logger, _level, _p) NPT_CHECK_POINTER((_p)) -#define NPT_CHECK_POINTER_LABEL_LL(_logger, _level, _p, _label) NPT_CHECK_POINTER_LABEL((_p), _label) - -#endif /* NPT_CONFIG_ENABLE_LOGGING */ - -#define NPT_SET_LOCAL_LOGGER(_name) NPT_DEFINE_LOGGER(_NPT_LocalLogger, (_name)) -#define NPT_CHECK_L(_level, _result) NPT_CHECK_LL(_NPT_LocalLogger, (_level), (_result)) -#define NPT_CHECK_LABEL_L(_level, _result, _label) NPT_CHECK_LABEL_LL(_NPT_LocalLogger, (_level), NULL, (_result), _label) - -/* NOTE: the following are machine-generated, do not edit */ -#define NPT_LOG_LL(_logger,_level,_msg) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg))) -#define NPT_LOG(_level,_msg) NPT_LOG_LL((_NPT_LocalLogger),(_level),(_msg)) -#define NPT_LOG_L(_logger,_level,_msg) NPT_LOG_LL((_logger),(_level),(_msg)) -#define NPT_LOG_LL1(_logger,_level,_msg,_arg1) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1))) -#define NPT_LOG_1(_level,_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),(_level),(_msg),(_arg1)) -#define NPT_LOG_L1(_logger,_level,_msg,_arg1) NPT_LOG_LL1((_logger),(_level),(_msg),(_arg1)) -#define NPT_LOG_LL2(_logger,_level,_msg,_arg1,_arg2) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2))) -#define NPT_LOG_2(_level,_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2)) -#define NPT_LOG_L2(_logger,_level,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),(_level),(_msg),(_arg1),(_arg2)) -#define NPT_LOG_LL3(_logger,_level,_msg,_arg1,_arg2,_arg3) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3))) -#define NPT_LOG_3(_level,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_L3(_logger,_level,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_LL4(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4))) -#define NPT_LOG_4(_level,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_L4(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_LL5(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5))) -#define NPT_LOG_5(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_L5(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_LL6(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6))) -#define NPT_LOG_6(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_L6(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_LL7(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7))) -#define NPT_LOG_7(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_L7(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_LL8(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8))) -#define NPT_LOG_8(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_L8(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_LL9(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9))) -#define NPT_LOG_9(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_L9(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) - -#define NPT_LOG_FATAL(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg)) -#define NPT_LOG_FATAL_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_FATAL,(_msg)) -#define NPT_LOG_FATAL_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1)) -#define NPT_LOG_FATAL_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1)) -#define NPT_LOG_FATAL_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FATAL_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FATAL_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FATAL_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FATAL_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FATAL_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FATAL_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FATAL_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FATAL_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FATAL_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FATAL_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FATAL_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FATAL_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FATAL_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FATAL_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FATAL_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_SEVERE(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg)) -#define NPT_LOG_SEVERE_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_SEVERE,(_msg)) -#define NPT_LOG_SEVERE_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1)) -#define NPT_LOG_SEVERE_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1)) -#define NPT_LOG_SEVERE_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_SEVERE_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_SEVERE_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_SEVERE_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_SEVERE_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_SEVERE_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_SEVERE_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_SEVERE_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_SEVERE_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_SEVERE_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_SEVERE_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_SEVERE_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_SEVERE_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_SEVERE_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_SEVERE_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_SEVERE_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_WARNING(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg)) -#define NPT_LOG_WARNING_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_WARNING,(_msg)) -#define NPT_LOG_WARNING_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1)) -#define NPT_LOG_WARNING_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1)) -#define NPT_LOG_WARNING_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_WARNING_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_WARNING_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_WARNING_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_WARNING_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_WARNING_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_WARNING_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_WARNING_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_WARNING_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_WARNING_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_WARNING_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_WARNING_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_WARNING_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_WARNING_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_WARNING_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_WARNING_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_INFO(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg)) -#define NPT_LOG_INFO_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_INFO,(_msg)) -#define NPT_LOG_INFO_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1)) -#define NPT_LOG_INFO_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1)) -#define NPT_LOG_INFO_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_INFO_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_INFO_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_INFO_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_INFO_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_INFO_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_INFO_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_INFO_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_INFO_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_INFO_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_INFO_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_INFO_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_INFO_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_INFO_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_INFO_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_INFO_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINE(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg)) -#define NPT_LOG_FINE_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_FINE,(_msg)) -#define NPT_LOG_FINE_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1)) -#define NPT_LOG_FINE_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1)) -#define NPT_LOG_FINE_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINE_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINE_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINE_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINE_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINE_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINE_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINE_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINE_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINE_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINE_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINE_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINE_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINE_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINE_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINE_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINER(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg)) -#define NPT_LOG_FINER_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_FINER,(_msg)) -#define NPT_LOG_FINER_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1)) -#define NPT_LOG_FINER_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1)) -#define NPT_LOG_FINER_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINER_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINER_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINER_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINER_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINER_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINER_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINER_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINER_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINER_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINER_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINER_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINER_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINER_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINER_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINER_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINEST(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg)) -#define NPT_LOG_FINEST_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_FINEST,(_msg)) -#define NPT_LOG_FINEST_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1)) -#define NPT_LOG_FINEST_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1)) -#define NPT_LOG_FINEST_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINEST_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINEST_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINEST_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINEST_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINEST_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINEST_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINEST_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINEST_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINEST_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINEST_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINEST_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINEST_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINEST_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINEST_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINEST_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) - -#define NPT_CHECK_FATAL(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_result)) -#define NPT_CHECK_FATAL_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_FATAL,(_result)) -#define NPT_CHECK_SEVERE(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_result)) -#define NPT_CHECK_SEVERE_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_SEVERE,(_result)) -#define NPT_CHECK_WARNING(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_result)) -#define NPT_CHECK_WARNING_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_WARNING,(_result)) -#define NPT_CHECK_INFO(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_result)) -#define NPT_CHECK_INFO_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_INFO,(_result)) -#define NPT_CHECK_FINE(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_result)) -#define NPT_CHECK_FINE_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_FINE,(_result)) -#define NPT_CHECK_FINER(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_result)) -#define NPT_CHECK_FINER_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_FINER,(_result)) -#define NPT_CHECK_FINEST(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_result)) -#define NPT_CHECK_FINEST_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_FINEST,(_result)) - -#define NPT_CHECK_LABEL_FATAL(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_result),_label) -#define NPT_CHECK_LABEL_FATAL_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_FATAL,(_result),_label) -#define NPT_CHECK_LABEL_SEVERE(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_result),_label) -#define NPT_CHECK_LABEL_SEVERE_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_SEVERE,(_result),_label) -#define NPT_CHECK_LABEL_WARNING(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_result),_label) -#define NPT_CHECK_LABEL_WARNING_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_WARNING,(_result),_label) -#define NPT_CHECK_LABEL_INFO(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_result),_label) -#define NPT_CHECK_LABEL_INFO_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_INFO,(_result),_label) -#define NPT_CHECK_LABEL_FINE(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_result),_label) -#define NPT_CHECK_LABEL_FINE_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_FINE,(_result),_label) -#define NPT_CHECK_LABEL_FINER(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_result),_label) -#define NPT_CHECK_LABEL_FINER_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_FINER,(_result),_label) -#define NPT_CHECK_LABEL_FINEST(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_result),_label) -#define NPT_CHECK_LABEL_FINEST_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_FINEST,(_result),_label) - -#define NPT_CHECK_POINTER_FATAL(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_p)) -#define NPT_CHECK_POINTER_FATAL_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_FATAL,(_p)) -#define NPT_CHECK_POINTER_SEVERE(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_p)) -#define NPT_CHECK_POINTER_SEVERE_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_SEVERE,(_p)) -#define NPT_CHECK_POINTER_WARNING(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_p)) -#define NPT_CHECK_POINTER_WARNING_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_WARNING,(_p)) -#define NPT_CHECK_POINTER_INFO(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_p)) -#define NPT_CHECK_POINTER_INFO_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_INFO,(_p)) -#define NPT_CHECK_POINTER_FINE(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_p)) -#define NPT_CHECK_POINTER_FINE_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_FINE,(_p)) -#define NPT_CHECK_POINTER_FINER(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_p)) -#define NPT_CHECK_POINTER_FINER_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_FINER,(_p)) -#define NPT_CHECK_POINTER_FINEST(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_p)) -#define NPT_CHECK_POINTER_FINEST_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_FINEST,(_p)) - -#define NPT_CHECK_POINTER_LABEL_FATAL(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FATAL_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_FATAL,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_SEVERE(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_SEVERE_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_SEVERE,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_WARNING(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_WARNING_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_WARNING,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_INFO(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_INFO_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_INFO,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINE(_p, _label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINE_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_FINE,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINER(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINER_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_FINER,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINEST(_p,_label) NNPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINEST_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_FINEST,(_p),_label) - -#endif /* _NPT_LOGGING_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptMap.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptMap.h deleted file mode 100644 index fc12b8797b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptMap.h +++ /dev/null @@ -1,807 +0,0 @@ -/***************************************************************** -| -| Neptune - Maps -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_MAP_H_ -#define _NPT_MAP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptResults.h" -#include "NptList.h" -#include "NptHash.h" - -/*---------------------------------------------------------------------- -| NPT_Map -+---------------------------------------------------------------------*/ -template <typename K, typename V> -class NPT_Map -{ -public: - // types - class Entry { - public: - // constructor - Entry(const K& key, const V& value) : m_Key(key), m_Value(value) {} - Entry(const K& key) : m_Key(key) {} - - // accessors - const K& GetKey() const { return m_Key; } - const V& GetValue() const { return m_Value; } - - // operators - bool operator==(const Entry& other) const { - return m_Key == other.m_Key && m_Value == other.m_Value; - } - - protected: - // methods - void SetValue(const V& value) { m_Value = value; } - - // members - K m_Key; - V m_Value; - - // friends - friend class NPT_Map<K,V>; - }; - - // constructors - NPT_Map<K,V>() {} - NPT_Map<K,V>(const NPT_Map<K,V>& copy); - - // destructor - ~NPT_Map<K,V>(); - - // methods - NPT_Result Put(const K& key, const V& value); - NPT_Result Get(const K& key, V*& value) const; // WARNING: the second parameter is a POINTER on the value type!!! - bool HasKey(const K& key) const { return GetEntry(key) != NULL; } - bool HasValue(const V& value) const; - NPT_Result Erase(const K& key); - NPT_Cardinal GetEntryCount() const { return m_Entries.GetItemCount(); } - const NPT_List<Entry*>& GetEntries() const { return m_Entries; } - NPT_Result Clear(); - - // operators - V& operator[](const K& key); - const NPT_Map<K,V>& operator=(const NPT_Map<K,V>& copy); - bool operator==(const NPT_Map<K,V>& other) const; - bool operator!=(const NPT_Map<K,V>& other) const; - -private: - // types - typedef typename NPT_List<Entry*>::Iterator ListIterator; - - // methods - Entry* GetEntry(const K& key) const; - - // members - NPT_List<Entry*> m_Entries; -}; - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::NPT_Map<K,V> -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Map<K,V>::NPT_Map(const NPT_Map<K,V>& copy) -{ - *this = copy; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::~NPT_Map<K,V> -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Map<K,V>::~NPT_Map() -{ - // call Clear to ensure we delete all entry objects - Clear(); -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::Clear -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Result -NPT_Map<K,V>::Clear() -{ - m_Entries.Apply(NPT_ObjectDeleter<Entry>()); - m_Entries.Clear(); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::GetEntry -+---------------------------------------------------------------------*/ -template <typename K, typename V> -typename NPT_Map<K,V>::Entry* -NPT_Map<K,V>::GetEntry(const K& key) const -{ - typename NPT_List<Entry*>::Iterator entry = m_Entries.GetFirstItem(); - while (entry) { - if ((*entry)->GetKey() == key) { - return *entry; - } - ++entry; - } - - return NULL; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::Put -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Result -NPT_Map<K,V>::Put(const K& key, const V& value) -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // no existing entry for that key, create one - m_Entries.Add(new Entry(key, value)); - } else { - // replace the existing entry for that key - entry->SetValue(value); - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::Get -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Result -NPT_Map<K,V>::Get(const K& key, V*& value) const -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // no existing entry for that key - value = NULL; - return NPT_ERROR_NO_SUCH_ITEM; - } else { - // found an entry with that key - value = &entry->m_Value; - return NPT_SUCCESS; - } -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::HasValue -+---------------------------------------------------------------------*/ -template <typename K, typename V> -bool -NPT_Map<K,V>::HasValue(const V& value) const -{ - ListIterator entry = m_Entries.GetFirstItem(); - while (entry) { - if (value == (*entry)->m_Value) { - return true; - } - ++entry; - } - - return false; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::operator= -+---------------------------------------------------------------------*/ -template <typename K, typename V> -const NPT_Map<K,V>& -NPT_Map<K,V>::operator=(const NPT_Map<K,V>& copy) -{ - // do nothing if we're assigning to ourselves - if (this == ©) return copy; - - // destroy all entries - Clear(); - - // copy all entries one by one - ListIterator entry = copy.m_Entries.GetFirstItem(); - while (entry) { - m_Entries.Add(new Entry((*entry)->GetKey(), (*entry)->GetValue())); - ++entry; - } - - return *this; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::Erase -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Result -NPT_Map<K,V>::Erase(const K& key) -{ - ListIterator entry = m_Entries.GetFirstItem(); - while (entry) { - if ((*entry)->GetKey() == key) { - delete *entry; // do this before removing the entry from the - // list, because Erase() will invalidate the - // iterator item - m_Entries.Erase(entry); - return NPT_SUCCESS; - } - ++entry; - } - - return NPT_ERROR_NO_SUCH_ITEM; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::operator== -+---------------------------------------------------------------------*/ -template <typename K, typename V> -bool -NPT_Map<K,V>::operator==(const NPT_Map<K,V>& other) const -{ - // quick test - if (m_Entries.GetItemCount() != other.m_Entries.GetItemCount()) return false; - - // compare all entries to all other entries - ListIterator entry = m_Entries.GetFirstItem(); - while (entry) { - V* value; - if (NPT_SUCCEEDED(other.Get((*entry)->m_Key, value))) { - // the other map has an entry for this key, check the value - if (!(*value == (*entry)->m_Value)) return false; - } else { - // the other map does not have an entry for this key - return false; - } - ++entry; - } - - return true; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::operator!= -+---------------------------------------------------------------------*/ -template <typename K, typename V> -bool -NPT_Map<K,V>::operator!=(const NPT_Map<K,V>& other) const -{ - return !(*this == other); -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::operator[] -+---------------------------------------------------------------------*/ -template <typename K, typename V> -V& -NPT_Map<K,V>::operator[](const K& key) -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // create a new "default" entry for this key - entry = new Entry(key); - m_Entries.Add(entry); - } - - return entry->m_Value; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF = NPT_Hash<K> > -class NPT_HashMap -{ -public: - // types - class Entry { - public: - // constructor - Entry(NPT_UInt32 hash_value, const K& key, const V& value) : m_HashValue(hash_value), m_Key(key), m_Value(value) {} - Entry(NPT_UInt32 hash_value, const K& key) : m_HashValue(hash_value), m_Key(key) {} - - // accessors - const K& GetKey() const { return m_Key; } - const V& GetValue() const { return m_Value; } - NPT_UInt32 GetHashValue() const { return m_HashValue; } - - // operators - bool operator==(const Entry& other) const { - return m_HashValue == other.m_HashValue && m_Key == other.m_Key && m_Value == other.m_Value; - } - - protected: - // methods - void SetValue(const V& value) { m_Value = value; } - - // members - NPT_UInt32 m_HashValue; - K m_Key; - V m_Value; - - // friends - friend class NPT_HashMap<K,V,HF>; - }; - - class Iterator { - public: - Iterator() : m_Entry(NULL), m_Map(NULL) {} - Iterator(Entry** entry, const NPT_HashMap<K,V,HF>* map) : m_Entry(entry), m_Map(map) {} - Iterator(const Iterator& copy) : m_Entry(copy.m_Entry), m_Map(copy.m_Map) {} - const Entry& operator*() const { return **m_Entry; } - Iterator& operator++() { // prefix - if (m_Map && m_Entry) { - do { - ++m_Entry; - if (m_Entry >= &m_Map->m_Buckets[1<<m_Map->m_BucketCountLog]) { - m_Entry = NULL; - } else { - if (*m_Entry) break; - } - } while (m_Entry); - } - return (*this); - } - Iterator operator++(int) { // postfix - Iterator saved_this = *this; - ++(*this); - return saved_this; - } - operator bool() const { - return m_Entry != NULL; - } - bool operator==(const Iterator& other) const { - return m_Map == other.m_Map && m_Entry == other.m_Entry; - } - bool operator!=(const Iterator& other) const { - return !(*this == other); - } - void operator=(const Iterator& other) { - m_Entry = other.m_Entry; - m_Map = other.m_Map; - } - - private: - // friends - friend class NPT_HashMap<K,V,HF>; - - // members - Entry** m_Entry; - const NPT_HashMap<K,V,HF>* m_Map; - }; - - // constructors - NPT_HashMap<K,V,HF>(); - NPT_HashMap<K,V,HF>(const HF& hasher); - NPT_HashMap<K,V,HF>(const NPT_HashMap<K,V,HF>& copy); - - // destructor - ~NPT_HashMap<K,V,HF>(); - - // methods - NPT_Result Put(const K& key, const V& value); - NPT_Result Get(const K& key, V*& value) const; // WARNING: the second parameter is a POINTER on the value type!!! - bool HasKey(const K& key) const { return GetEntry(key) != NULL; } - bool HasValue(const V& value) const; - NPT_Result Erase(const K& key); - NPT_Cardinal GetEntryCount() const { return m_EntryCount; } - Iterator GetEntries() const; - NPT_Result Clear(); - - // list operations - // keep these template members defined here because MSV6 does not let - // us define them later - template <typename X> - NPT_Result Apply(const X& function) const - { - for (int i=0; i<(1<<m_BucketCountLog); i++) { - if (m_Buckets[i]) { - function(m_Buckets[i]); - } - } - return NPT_SUCCESS; - } - - // operators - V& operator[](const K& key); - const NPT_HashMap<K,V,HF>& operator=(const NPT_HashMap<K,V,HF>& copy); - bool operator==(const NPT_HashMap<K,V,HF>& other) const; - bool operator!=(const NPT_HashMap<K,V,HF>& other) const; - -private: - // methods - Entry* GetEntry(const K& key, NPT_UInt32* position=NULL) const; - NPT_Result AddEntry(Entry* entry); - void AllocateBuckets(unsigned int count_log); - void AdjustBuckets(NPT_Cardinal entry_count, bool allow_shrink=false); - - // members - HF m_Hasher; - Entry** m_Buckets; - NPT_Cardinal m_BucketCountLog; - NPT_Cardinal m_EntryCount; -}; - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V>::NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_HashMap<K,V,HF>::NPT_HashMap() : - m_Buckets(NULL), - m_EntryCount(0) -{ - AllocateBuckets(4); -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V>::NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_HashMap<K,V,HF>::NPT_HashMap(const HF& hasher) : - m_Hasher(hasher), - m_Buckets(NULL), - m_EntryCount(0) -{ - AllocateBuckets(4); -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V>::NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_HashMap<K,V,HF>::NPT_HashMap(const NPT_HashMap<K,V,HF>& copy) : - m_Buckets(NULL), - m_BucketCountLog(0), - m_EntryCount(0) -{ - *this = copy; -} - -/*---------------------------------------------------------------------- -| NPT_MapMap<K,V,HF>::NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_HashMap<K,V,HF>::~NPT_HashMap() -{ - for (int i=0; i<(1<<m_BucketCountLog); i++) { - delete m_Buckets[i]; - } - delete[] m_Buckets; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::AllocateBuckets -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -void -NPT_HashMap<K,V,HF>::AllocateBuckets(unsigned int count_log) -{ - m_Buckets = new Entry*[1<<count_log]; - m_BucketCountLog = count_log; - for (int i=0; i<(1<<count_log); i++) { - m_Buckets[i] = NULL; - } -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::AdjustBuckets -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -void -NPT_HashMap<K,V,HF>::AdjustBuckets(NPT_Cardinal entry_count, bool allow_shrink) -{ - Entry** buckets = NULL; - unsigned int bucket_count = 1<<m_BucketCountLog; - if (2*entry_count >= bucket_count) { - // we need to grow - buckets = m_Buckets; - AllocateBuckets(m_BucketCountLog+1); - } else if (allow_shrink && (5*entry_count < bucket_count) && m_BucketCountLog > 4) { - // we need to shrink - buckets = m_Buckets; - AllocateBuckets(m_BucketCountLog-1); - } - if (buckets) { - m_EntryCount = 0; - for (unsigned int i=0; i<bucket_count; i++) { - if (buckets[i]) AddEntry(buckets[i]); - } - delete[] buckets; - } -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::Clear -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::Clear() -{ - if (m_Buckets) { - for (int i=0; i<(1<<m_BucketCountLog); i++) { - delete m_Buckets[i]; - } - delete[] m_Buckets; - } - m_EntryCount = 0; - AllocateBuckets(4); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::GetEntries -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -typename NPT_HashMap<K,V,HF>::Iterator -NPT_HashMap<K,V,HF>::GetEntries() const -{ - for (int i=0; i<(1<<m_BucketCountLog); i++) { - if (m_Buckets[i]) { - return Iterator(&m_Buckets[i], this); - } - } - return Iterator(NULL, this); -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::GetEntry -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -typename NPT_HashMap<K,V,HF>::Entry* -NPT_HashMap<K,V,HF>::GetEntry(const K& key, NPT_UInt32* position) const -{ - NPT_UInt32 hash_value = m_Hasher(key); - NPT_UInt32 mask = (1<<m_BucketCountLog)-1; - NPT_UInt32 cursor = hash_value & mask; - while (m_Buckets[cursor]) { - Entry* entry = m_Buckets[cursor]; - if (entry->m_HashValue == hash_value && - entry->m_Key == key) { - if (position) *position = cursor; - return entry; - } - cursor = (cursor + 1) & mask; - } - - return NULL; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::AddEntry -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::AddEntry(Entry* entry) -{ - AdjustBuckets(m_EntryCount+1); - - NPT_UInt32 hash_value = entry->m_HashValue; - NPT_UInt32 mask = (1<<m_BucketCountLog)-1; - NPT_UInt32 cursor = hash_value & mask; - while (m_Buckets[cursor]) { - cursor = (cursor + 1) & mask; - } - m_Buckets[cursor] = entry; - ++m_EntryCount; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::Put -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::Put(const K& key, const V& value) -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // no existing entry for that key, create one - return AddEntry(new Entry(m_Hasher(key), key, value)); - } else { - // replace the existing entry for that key - entry->SetValue(value); - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::Get -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::Get(const K& key, V*& value) const -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // no existing entry for that key - value = NULL; - return NPT_ERROR_NO_SUCH_ITEM; - } else { - // found an entry with that key - value = &entry->m_Value; - return NPT_SUCCESS; - } -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::HasValue -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -bool -NPT_HashMap<K,V,HF>::HasValue(const V& value) const -{ - for (int i=0; i<(1<<m_BucketCountLog); i++) { - if (m_Buckets[i] && m_Buckets[i]->m_Value == value) { - return true; - } - } - - return false; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::Erase -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::Erase(const K& key) -{ - NPT_UInt32 position; - Entry* entry = GetEntry(key, &position); - if (entry == NULL) { - return NPT_ERROR_NO_SUCH_ITEM; - } - - // mark the bucket as unoccupied - m_Buckets[position] = NULL; - - // look for buckets that need to be relocated: - // there should be no empty bucket between an entry's ideal hash bucket - // and its actual bucket. - NPT_UInt32 mask = (1<<m_BucketCountLog)-1; - for (NPT_UInt32 cursor = (position+1) & mask; m_Buckets[cursor]; cursor = (cursor + 1) & mask) { - NPT_UInt32 target = m_Buckets[cursor]->m_HashValue & mask; - // check if target is between position and cursor (modulo the bucket array size) - // | position.target.cursor | - // |....cursor position.target.| or |.target..cursor position...| - if ( (position <= cursor) ? - ((position < target) && (target <= cursor)) : - ((position < target) || (target <= cursor)) ) { - continue; - } - - // move the bucket back - m_Buckets[position] = m_Buckets[cursor]; - m_Buckets[cursor] = NULL; - position = cursor; - } - - // cleanup and adjust the counter and buckets - delete entry; - --m_EntryCount; - AdjustBuckets(m_EntryCount, true); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::operator= -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -const NPT_HashMap<K,V,HF>& -NPT_HashMap<K,V,HF>::operator=(const NPT_HashMap<K,V,HF>& copy) -{ - // do nothing if we're assigning to ourselves - if (this == ©) return copy; - - // destroy all entries - Clear(); - - // prepare to receive all the entries - AdjustBuckets(copy.m_EntryCount); - - // copy all entries - for (int i=0; i<1<<copy.m_BucketCountLog; i++) { - if (copy.m_Buckets[i]) { - AddEntry(new Entry(m_Hasher(copy.m_Buckets[i]->GetKey()), - copy.m_Buckets[i]->GetKey(), - copy.m_Buckets[i]->GetValue())); - } - } - - return *this; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::operator== -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -bool -NPT_HashMap<K,V,HF>::operator==(const NPT_HashMap<K,V,HF>& other) const -{ - // quick check - if (m_EntryCount != other.m_EntryCount) return false; - - // compare all entries to all other entries - for (int i=0; i<(1<<m_BucketCountLog); i++) { - Entry* entry = m_Buckets[i]; - if (entry == NULL) continue; - Entry* other_entry = other.GetEntry(entry->m_Key); - if (other_entry == NULL || !(other_entry->m_Value == entry->m_Value)) { - return false; - } - } - - return true; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::operator!= -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -bool -NPT_HashMap<K,V,HF>::operator!=(const NPT_HashMap<K,V,HF>& other) const -{ - return !(*this == other); -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V>::operator[] -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -V& -NPT_HashMap<K,V,HF>::operator[](const K& key) -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // create a new "default" entry for this key - entry = new Entry(m_Hasher(key), key); - AddEntry(entry); - } - - return entry->m_Value; -} - -/*---------------------------------------------------------------------- -| NPT_MapEntryValueDeleter -+---------------------------------------------------------------------*/ -template <class T> -class NPT_MapEntryValueDeleter { -public: - void operator()(T* entry) const { - delete entry->GetValue(); - } -}; - -#endif // _NPT_MAP_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptMessaging.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptMessaging.h deleted file mode 100644 index 3e61919f56..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptMessaging.h +++ /dev/null @@ -1,230 +0,0 @@ -/***************************************************************** -| -| Neptune - Messaging System -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_MESSAGING_H_ -#define _NPT_MESSAGING_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConstants.h" -#include "NptTypes.h" -#include "NptResults.h" -#include "NptList.h" -#include "NptThreads.h" -#include "NptDynamicCast.h" - -/*---------------------------------------------------------------------- -| forward references -+---------------------------------------------------------------------*/ -class NPT_Message; - -/*---------------------------------------------------------------------- -| NPT_MessageHandler -+---------------------------------------------------------------------*/ -class NPT_MessageHandler -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST(NPT_MessageHandler) - - // methods - virtual ~NPT_MessageHandler() {} - - // default message handler - virtual void OnMessage(NPT_Message*) {} - - // this method is a central point of handling for received messages. - // it can be overloaded by subclasses that wish to process all - // incoming messages - virtual NPT_Result HandleMessage(NPT_Message* message); -}; - -/*---------------------------------------------------------------------- -| NPT_MessageHandlerProxy -+---------------------------------------------------------------------*/ -class NPT_MessageHandlerProxy : public NPT_MessageHandler -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST_D(NPT_MessageHandlerProxy, NPT_MessageHandler) - - /** - * Create a proxy for a message handler. - * All calls to HandleMessage() and OnMessage() on the proxy - * are automatically forwarded to the handler. - * This class is useful in cases where a handler is passed - * asynchronously (for example in a message queue) and one wishes - * to guarantee right away that no more calls to the handler will be - * made (because, for example, the handler needs to be deleted). - * - * The proxy object keeps a pointer to the handler, but does not own it. - */ - NPT_MessageHandlerProxy(NPT_MessageHandler* handler); - - // destructor - virtual ~NPT_MessageHandlerProxy(); - - // NPT_MessageHandler methods - virtual void OnMessage(NPT_Message*); - virtual NPT_Result HandleMessage(NPT_Message* message); - - /** - * Detach the proxy from the handler implementation. - * After this call returns, calls will no longer be - * forwarded to the handler object. It is then safe, for example, - * to delete the handler. - */ - void DetachHandler(); - - /** - * Increment the reference count - */ - void AddReference(); - - /** - * Decrement the reference count and delete if 0 - */ - void Release(); - -private: - // members - NPT_MessageHandler* m_Handler; - NPT_Cardinal m_ReferenceCount; - NPT_Mutex m_Lock; -}; - -/*---------------------------------------------------------------------- -| NPT_Messsage -+---------------------------------------------------------------------*/ -class NPT_Message -{ -public: - // types - typedef const char* Type; - - // static members - static Type const MessageType; - - // methods - virtual ~NPT_Message() {} - virtual Type GetType() { return MessageType; } - virtual NPT_Result Dispatch(NPT_MessageHandler* handler) { - return DefaultDeliver(handler); - } - // this method should really be called 'Deliver', but this would - // cause a problem when subclasses overload it - virtual NPT_Result DefaultDeliver(NPT_MessageHandler* handler) { - handler->OnMessage(this); - return NPT_SUCCESS; - } -}; - -/*---------------------------------------------------------------------- -| NPT_TerminateMesssage -+---------------------------------------------------------------------*/ -class NPT_TerminateMessage : public NPT_Message -{ -public: - // methods - NPT_Result Dispatch(NPT_MessageHandler* /*handler*/) { - return NPT_ERROR_TERMINATED; - } -}; - -/*---------------------------------------------------------------------- -| NPT_MessageQueue -+---------------------------------------------------------------------*/ -class NPT_MessageQueue -{ -public: - // methods - virtual ~NPT_MessageQueue() {} - virtual NPT_Result PumpMessage(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result QueueMessage(NPT_Message* message, - NPT_MessageHandler* handler) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_MessageReceiver -+---------------------------------------------------------------------*/ -class NPT_MessageReceiver -{ -public: - // methods - NPT_MessageReceiver() : m_Queue(NULL), m_Handler(NULL) {} - NPT_MessageReceiver(NPT_MessageHandler* handler) : - m_Queue(NULL), m_Handler(handler) {} - NPT_MessageReceiver(NPT_MessageQueue* queue) : - m_Queue(queue), m_Handler(NULL) {} - NPT_MessageReceiver(NPT_MessageHandler* handler, - NPT_MessageQueue* queue) : - m_Queue(queue), m_Handler(handler) {} - virtual ~NPT_MessageReceiver() {} - NPT_Result SetQueue(NPT_MessageQueue* queue) { - m_Queue = queue; - return NPT_SUCCESS; - } - NPT_Result SetHandler(NPT_MessageHandler* handler) { - m_Handler = handler; - return NPT_SUCCESS; - } - virtual NPT_Result PostMessage(NPT_Message* message) { - if (m_Queue) { - return m_Queue->QueueMessage(message, m_Handler); - } else { - return NPT_FAILURE; - } - } - -protected: - // members - NPT_MessageQueue* m_Queue; - NPT_MessageHandler* m_Handler; -}; - -/*---------------------------------------------------------------------- -| NPT_MessageBroadcaster -+---------------------------------------------------------------------*/ -class NPT_MessageBroadcaster -{ -public: - // methods - NPT_MessageBroadcaster(NPT_Message* message) : m_Message(message) {} - NPT_Result operator()(NPT_MessageReceiver*& receiver) const { - receiver->PostMessage(m_Message); - return NPT_SUCCESS; - } - -private: - // members - NPT_Message* m_Message; -}; - -#endif // _NPT_MESSAGING_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptNetwork.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptNetwork.h deleted file mode 100644 index 6486f0353a..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptNetwork.h +++ /dev/null @@ -1,250 +0,0 @@ -/***************************************************************** -| -| Neptune - Network -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_NETWORK_H_ -#define _NPT_NETWORK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptStrings.h" -#include "NptList.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const unsigned int NPT_NETWORK_MAX_MAC_ADDRESS_LENGTH = 8; - -/*---------------------------------------------------------------------- -| flags -+---------------------------------------------------------------------*/ -#define NPT_NETWORK_INTERFACE_FLAG_LOOPBACK 0x01 -#define NPT_NETWORK_INTERFACE_FLAG_PROMISCUOUS 0x02 -#define NPT_NETWORK_INTERFACE_FLAG_BROADCAST 0x04 -#define NPT_NETWORK_INTERFACE_FLAG_MULTICAST 0x08 -#define NPT_NETWORK_INTERFACE_FLAG_POINT_TO_POINT 0x10 - -/*---------------------------------------------------------------------- -| workarounds -+---------------------------------------------------------------------*/ -#if defined(_WIN32) -#if defined(SetPort) -#undef SetPort -#endif -#endif - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef unsigned int NPT_IpPort; - -/*---------------------------------------------------------------------- -| NPT_IpAddress -+---------------------------------------------------------------------*/ -class NPT_IpAddress -{ -public: - // class members - static const NPT_IpAddress Any; - - // constructors and destructor - NPT_IpAddress(); - NPT_IpAddress(unsigned long address); - NPT_IpAddress(unsigned char a, unsigned char b, unsigned char c, unsigned char d); - - // methods - NPT_Result ResolveName(const char* name, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - NPT_Result Parse(const char* name); - NPT_Result Set(unsigned long address); - NPT_Result Set(const unsigned char bytes[4]); - const unsigned char* AsBytes() const; - unsigned long AsLong() const; - NPT_String ToString() const; - - // operators - bool operator==(const NPT_IpAddress& other) const; - - // FIXME: temporary - NPT_String m_HostName; - -private: - // members - unsigned char m_Address[4]; -}; - -/*---------------------------------------------------------------------- -| NPT_MacAddress -+---------------------------------------------------------------------*/ -class NPT_MacAddress -{ -public: - // typedef enum - typedef enum { - TYPE_UNKNOWN, - TYPE_LOOPBACK, - TYPE_ETHERNET, - TYPE_PPP, - TYPE_IEEE_802_11 - } Type; - - // constructors and destructor - NPT_MacAddress() : m_Type(TYPE_UNKNOWN), m_Length(0) {} - NPT_MacAddress(Type type, - const unsigned char* addr, - unsigned int length); - - // methods - void SetAddress(Type type, const unsigned char* addr, - unsigned int length); - Type GetType() const { return m_Type; } - const unsigned char* GetAddress() const { return m_Address; } - unsigned int GetLength() const { return m_Length; } - NPT_String ToString() const; - -private: - // members - Type m_Type; - unsigned char m_Address[NPT_NETWORK_MAX_MAC_ADDRESS_LENGTH]; - unsigned int m_Length; -}; - -/*---------------------------------------------------------------------- -| NPT_NetworkInterfaceAddress -+---------------------------------------------------------------------*/ -class NPT_NetworkInterfaceAddress -{ -public: - // constructors and destructor - NPT_NetworkInterfaceAddress(const NPT_IpAddress& primary, - const NPT_IpAddress& broadcast, - const NPT_IpAddress& destination, - const NPT_IpAddress& netmask) : - m_PrimaryAddress(primary), - m_BroadcastAddress(broadcast), - m_DestinationAddress(destination), - m_NetMask(netmask) {} - - // methods - const NPT_IpAddress& GetPrimaryAddress() const { - return m_PrimaryAddress; - } - const NPT_IpAddress& GetBroadcastAddress() const { - return m_BroadcastAddress; - } - const NPT_IpAddress& GetDestinationAddress() const { - return m_DestinationAddress; - } - const NPT_IpAddress& GetNetMask() const { - return m_NetMask; - } - - bool IsAddressInNetwork(const NPT_IpAddress& address) { - if (m_PrimaryAddress.AsLong() == address.AsLong()) return true; - if (m_NetMask.AsLong() == 0) return false; - return (m_PrimaryAddress.AsLong() & m_NetMask.AsLong()) == (address.AsLong() & m_NetMask.AsLong()); - } - -private: - // members - NPT_IpAddress m_PrimaryAddress; - NPT_IpAddress m_BroadcastAddress; - NPT_IpAddress m_DestinationAddress; - NPT_IpAddress m_NetMask; -}; - -/*---------------------------------------------------------------------- -| NPT_NetworkInterface -+---------------------------------------------------------------------*/ -class NPT_NetworkInterface -{ -public: - // class methods - static NPT_Result GetNetworkInterfaces(NPT_List<NPT_NetworkInterface*>& interfaces); - - // constructors and destructor - NPT_NetworkInterface(const char* name, - const NPT_MacAddress& mac, - NPT_Flags flags); - NPT_NetworkInterface(const char* name, - NPT_Flags flags); - ~NPT_NetworkInterface() {} - - // methods - NPT_Result AddAddress(const NPT_NetworkInterfaceAddress& address); - const NPT_String& GetName() const { - return m_Name; - } - const NPT_MacAddress& GetMacAddress() const { - return m_MacAddress; - } - void SetMacAddress(NPT_MacAddress::Type type, - const unsigned char* addr, - unsigned int length) { - m_MacAddress.SetAddress(type, addr, length); - } - NPT_Flags GetFlags() const { return m_Flags; } - const NPT_List<NPT_NetworkInterfaceAddress>& GetAddresses() const { - return m_Addresses; - } - - bool IsAddressInNetwork(const NPT_IpAddress& address) { - NPT_List<NPT_NetworkInterfaceAddress>::Iterator iter = m_Addresses.GetFirstItem(); - while (iter) { - if ((*iter).IsAddressInNetwork(address)) return true; - ++iter; - } - return false; - } - -private: - // members - NPT_String m_Name; - NPT_MacAddress m_MacAddress; - NPT_Flags m_Flags; - NPT_List<NPT_NetworkInterfaceAddress> m_Addresses; -}; - -/*---------------------------------------------------------------------- -| NPT_NetworkNameResolver -+---------------------------------------------------------------------*/ -class NPT_NetworkNameResolver -{ -public: - // class methods - static NPT_Result Resolve(const char* name, - NPT_List<NPT_IpAddress>& addresses, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); -}; - -#endif // _NPT_NETWORK_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptQueue.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptQueue.h deleted file mode 100644 index ecfe1a92fd..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptQueue.h +++ /dev/null @@ -1,94 +0,0 @@ -/***************************************************************** -| -| Neptune - Queue -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_QUEUE_H_ -#define _NPT_QUEUE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" - -/*---------------------------------------------------------------------- -| NPT_QueueItem -+---------------------------------------------------------------------*/ -class NPT_QueueItem; - -/*---------------------------------------------------------------------- -| NPT_GenericQueue -+---------------------------------------------------------------------*/ -class NPT_GenericQueue -{ - public: - // class methods - static NPT_GenericQueue* CreateInstance(NPT_Cardinal max_items = 0); - - // methods - virtual ~NPT_GenericQueue() {} - virtual NPT_Result Push(NPT_QueueItem* item, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result Pop(NPT_QueueItem*& item, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result Peek(NPT_QueueItem*& item, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - protected: - // methods - NPT_GenericQueue() {} -}; - -/*---------------------------------------------------------------------- -| NPT_Queue -+---------------------------------------------------------------------*/ -template <class T> -class NPT_Queue -{ - public: - // methods - NPT_Queue(NPT_Cardinal max_items = 0) : - m_Delegate(NPT_GenericQueue::CreateInstance(max_items)) {} - virtual ~NPT_Queue<T>() { delete m_Delegate; } - virtual NPT_Result Push(T* item, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->Push(reinterpret_cast<NPT_QueueItem*>(item), timeout); - } - virtual NPT_Result Pop(T*& item, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->Pop(reinterpret_cast<NPT_QueueItem*&>(item), timeout); - } - virtual NPT_Result Peek(T*& item, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->Peek(reinterpret_cast<NPT_QueueItem*&>(item), timeout); - } - - protected: - // members - NPT_GenericQueue* m_Delegate; -}; - -#endif // _NPT_QUEUE_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptReferences.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptReferences.h deleted file mode 100644 index c8e1f5ad42..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptReferences.h +++ /dev/null @@ -1,173 +0,0 @@ -/***************************************************************** -| -| Neptune - References -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_REFERENCES_H_ -#define _NPT_REFERENCES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConstants.h" -#include "NptThreads.h" - -/*---------------------------------------------------------------------- -| NPT_Reference -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_Reference -{ -public: - // constructors and destructor - NPT_Reference() : m_Object(NULL), m_Counter(NULL), m_Mutex(NULL), m_ThreadSafe(true) {} - explicit NPT_Reference(T* object, bool thread_safe = true) : - m_Object(object), - m_Counter(object?new NPT_Cardinal(1):NULL), - m_Mutex((object && thread_safe)?new NPT_Mutex():NULL), - m_ThreadSafe(thread_safe) {} - - NPT_Reference(const NPT_Reference<T>& ref) : - m_Object(ref.m_Object), m_Counter(ref.m_Counter), m_Mutex(ref.m_Mutex), m_ThreadSafe(ref.m_ThreadSafe) { - if (m_Mutex) m_Mutex->Lock(); - if (m_Counter) ++(*m_Counter); - if (m_Mutex) m_Mutex->Unlock(); - } - - // this methods should be private, but this causes a problem on some - // compilers, because we need this function in order to implement - // the cast operator operator NPT_Reference<U>() below, which would - // have to be marked as a friend, and friend declarations with the - // same class name confuses some compilers - NPT_Reference(T* object, NPT_Cardinal* counter, NPT_Mutex* mutex, bool thread_safe) : - m_Object(object), m_Counter(counter), m_Mutex(mutex), m_ThreadSafe(thread_safe) { - if (m_Mutex) m_Mutex->Lock(); - if (m_Counter) ++(*m_Counter); - if (m_Mutex) m_Mutex->Unlock(); - } - - ~NPT_Reference() { - Release(); - } - - // overloaded operators - NPT_Reference<T>& operator=(const NPT_Reference<T>& ref) { - if (this != &ref) { - Release(); - m_Object = ref.m_Object; - m_Counter = ref.m_Counter; - m_Mutex = ref.m_Mutex; - m_ThreadSafe = ref.m_ThreadSafe; - - if (m_Mutex) m_Mutex->Lock(); - if (m_Counter) ++(*m_Counter); - if (m_Mutex) m_Mutex->Unlock(); - } - return *this; - } - NPT_Reference<T>& operator=(T* object) { - Release(); - m_Object = object; - m_Counter = object?new NPT_Cardinal(1):NULL; - m_Mutex = (object && m_ThreadSafe)?new NPT_Mutex():NULL; - return *this; - } - T& operator*() const { return *m_Object; } - T* operator->() const { return m_Object; } - - bool operator==(const NPT_Reference<T>& ref) const { - return m_Object == ref.m_Object; - } - bool operator!=(const NPT_Reference<T>& ref) const { - return m_Object != ref.m_Object; - } - - // overloaded cast operators - template <typename U> operator NPT_Reference<U>() { - return NPT_Reference<U>(m_Object, m_Counter, m_Mutex, m_ThreadSafe); - } - - // methods - /** - * Returns the naked pointer value. - */ - T* AsPointer() const { return m_Object; } - - /** - * Returns the reference counter value. - */ - NPT_Cardinal GetCounter() const { return *m_Counter; } - - /** - * Returns whether this references a NULL object. - */ - bool IsNull() const { return m_Object == NULL; } - - /** - * Detach the reference from the shared object. - * The reference count is decremented, but the object is not deleted if the - * reference count becomes 0. - * After the method returns, this reference does not point to any shared object. - */ - void Detach() { - Release(true); - } - -private: - // methods - void Release(bool detach_only = false) { - bool last_reference = false; - if (m_Mutex) m_Mutex->Lock(); - - if (m_Counter && --(*m_Counter) == 0) { - delete m_Counter; - if (!detach_only) delete m_Object; - last_reference = true; - } - - m_Counter = NULL; - m_Object = NULL; - - if (m_Mutex) { - NPT_Mutex* mutex = m_Mutex; - m_Mutex = NULL; - mutex->Unlock(); - if (last_reference) delete mutex; - } - - } - - // members - T* m_Object; - NPT_Cardinal* m_Counter; - NPT_Mutex* m_Mutex; - bool m_ThreadSafe; -}; - -#endif // _NPT_REFERENCES_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptResults.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptResults.h deleted file mode 100644 index 88025f7b9d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptResults.h +++ /dev/null @@ -1,163 +0,0 @@ -/***************************************************************** -| -| Neptune - Result Codes -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_RESULTS_H_ -#define _NPT_RESULTS_H_ - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#if defined(NPT_DEBUG) -#include "NptDebug.h" -#define NPT_CHECK(_x) \ -do { \ - NPT_Result _result = (_x); \ - if (_result != NPT_SUCCESS) { \ - NPT_Debug("%s(%d): @@@ NPT_CHECK failed, result=%d (%s)\n", __FILE__, __LINE__, _result, NPT_ResultText(_result)); \ - return _result; \ - } \ -} while(0) -#define NPT_CHECK_POINTER(_p) \ -do { \ - if ((_p) == NULL) { \ - NPT_Debug("%s(%d): @@@ NULL pointer parameter\n", __FILE__, __LINE__); \ - return NPT_ERROR_INVALID_PARAMETERS; \ - } \ -} while(0) -#define NPT_CHECK_LABEL(_x, label) \ -do { \ - NPT_Result _result = (_x); \ - if (_result != NPT_SUCCESS) { \ - NPT_Debug("%s(%d): @@@ NPT_CHECK failed, result=%d (%s)\n", __FILE__, __LINE__, _result, NPT_ResultText(_result)); \ - goto label; \ - } \ -} while(0) -#define NPT_CHECK_POINTER_LABEL(_p, label) \ -do { \ - if (_p == NULL) { \ - NPT_Debug("%s(%d): @@@ NULL pointer parameter\n", __FILE__, __LINE__); \ - goto label; \ - } \ -} while(0) -#else -#define NPT_CHECK(_x) \ -do { \ - NPT_Result _result = (_x); \ - if (_result != NPT_SUCCESS) { \ - return _result; \ - } \ -} while(0) -#define NPT_CHECK_POINTER(_p) \ -do { \ - if ((_p) == NULL) return NPT_ERROR_INVALID_PARAMETERS; \ -} while(0) -#define NPT_CHECK_LABEL(_x, label) \ -do { \ - NPT_Result _result = (_x); \ - if (_result != NPT_SUCCESS) { \ - goto label; \ - } \ -} while(0) -#define NPT_CHECK_POINTER_LABEL(_p, label) \ -do { \ - if ((_p) == NULL) { \ - goto label; \ - } \ -} while(0) -#endif - -#define NPT_FAILED(result) ((result) != NPT_SUCCESS) -#define NPT_SUCCEEDED(result) ((result) == NPT_SUCCESS) - -/*---------------------------------------------------------------------- -| result codes -+---------------------------------------------------------------------*/ -/** Result indicating that the operation or call succeeded */ -#define NPT_SUCCESS 0 - -/** Result indicating an unspecififed failure condition */ -#define NPT_FAILURE (-1) - -#if !defined(NPT_ERROR_BASE) -#define NPT_ERROR_BASE -20000 -#endif - -// error bases -#define NPT_ERROR_BASE_GENERAL (NPT_ERROR_BASE-0) -#define NPT_ERROR_BASE_LIST (NPT_ERROR_BASE-100) -#define NPT_ERROR_BASE_FILE (NPT_ERROR_BASE-200) -#define NPT_ERROR_BASE_IO (NPT_ERROR_BASE-300) -#define NPT_ERROR_BASE_SOCKET (NPT_ERROR_BASE-400) -#define NPT_ERROR_BASE_INTERFACES (NPT_ERROR_BASE-500) -#define NPT_ERROR_BASE_XML (NPT_ERROR_BASE-600) -#define NPT_ERROR_BASE_UNIX (NPT_ERROR_BASE-700) -#define NPT_ERROR_BASE_HTTP (NPT_ERROR_BASE-800) -#define NPT_ERROR_BASE_THREADS (NPT_ERROR_BASE-900) -#define NPT_ERROR_BASE_SERIAL_PORT (NPT_ERROR_BASE-1000) -#define NPT_ERROR_BASE_TLS (NPT_ERROR_BASE-1100) - -// general errors -#define NPT_ERROR_INVALID_PARAMETERS (NPT_ERROR_BASE_GENERAL - 0) -#define NPT_ERROR_PERMISSION_DENIED (NPT_ERROR_BASE_GENERAL - 1) -#define NPT_ERROR_OUT_OF_MEMORY (NPT_ERROR_BASE_GENERAL - 2) -#define NPT_ERROR_NO_SUCH_NAME (NPT_ERROR_BASE_GENERAL - 3) -#define NPT_ERROR_NO_SUCH_PROPERTY (NPT_ERROR_BASE_GENERAL - 4) -#define NPT_ERROR_NO_SUCH_ITEM (NPT_ERROR_BASE_GENERAL - 5) -#define NPT_ERROR_NO_SUCH_CLASS (NPT_ERROR_BASE_GENERAL - 6) -#define NPT_ERROR_OVERFLOW (NPT_ERROR_BASE_GENERAL - 7) -#define NPT_ERROR_INTERNAL (NPT_ERROR_BASE_GENERAL - 8) -#define NPT_ERROR_INVALID_STATE (NPT_ERROR_BASE_GENERAL - 9) -#define NPT_ERROR_INVALID_FORMAT (NPT_ERROR_BASE_GENERAL - 10) -#define NPT_ERROR_INVALID_SYNTAX (NPT_ERROR_BASE_GENERAL - 11) -#define NPT_ERROR_NOT_IMPLEMENTED (NPT_ERROR_BASE_GENERAL - 12) -#define NPT_ERROR_NOT_SUPPORTED (NPT_ERROR_BASE_GENERAL - 13) -#define NPT_ERROR_TIMEOUT (NPT_ERROR_BASE_GENERAL - 14) -#define NPT_ERROR_WOULD_BLOCK (NPT_ERROR_BASE_GENERAL - 15) -#define NPT_ERROR_TERMINATED (NPT_ERROR_BASE_GENERAL - 16) -#define NPT_ERROR_OUT_OF_RANGE (NPT_ERROR_BASE_GENERAL - 17) -#define NPT_ERROR_OUT_OF_RESOURCES (NPT_ERROR_BASE_GENERAL - 18) -#define NPT_ERROR_NOT_ENOUGH_SPACE (NPT_ERROR_BASE_GENERAL - 19) -#define NPT_ERROR_INTERRUPTED (NPT_ERROR_BASE_GENERAL - 20) -#define NPT_ERROR_CANCELLED (NPT_ERROR_BASE_GENERAL - 21) - -/* standard error codes */ -/* these are special codes to convey an errno */ -/* the error code is (SHI_ERROR_BASE_ERRNO - errno) */ -/* where errno is the positive integer from errno.h */ -#define NPT_ERROR_BASE_ERRNO (NPT_ERROR_BASE-2000) -#define NPT_ERROR_ERRNO(e) (NPT_ERROR_BASE_ERRNO - (e)) - -/*---------------------------------------------------------------------- -| functions -+---------------------------------------------------------------------*/ -const char* NPT_ResultText(int result); - -#endif // _NPT_RESULTS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptRingBuffer.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptRingBuffer.h deleted file mode 100644 index 990b4a6c6e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptRingBuffer.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************** -| -| Neptune - Ring Buffer -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_RING_BUFFER_H_ -#define _NPT_RING_BUFFER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptReferences.h" - -/*---------------------------------------------------------------------- -| NPT_RingBuffer -+---------------------------------------------------------------------*/ -class NPT_RingBuffer -{ - public: - // methods - NPT_RingBuffer(NPT_Size size); - NPT_RingBuffer(void* buffer, NPT_Size size); - virtual ~NPT_RingBuffer(); - NPT_Size GetSpace() const; - NPT_Size GetContiguousSpace() const; - NPT_Result Write(const void* buffer, NPT_Size byte_count); - NPT_Size GetAvailable() const; - NPT_Size GetContiguousAvailable() const; - NPT_Result Read(void* buffer, NPT_Size byte_count); - unsigned char ReadByte(); - unsigned char PeekByte(NPT_Position offset); - NPT_Result MoveIn(NPT_Position offset); - NPT_Result MoveOut(NPT_Position offset); - NPT_Result Flush(); - NPT_Result Close(); - bool IsClosed() { return m_Closed; } - - // accessors - unsigned char* GetWritePointer() { return m_In; } - unsigned char* GetReadPointer() { return m_Out;} - - private: - // members - struct { - unsigned char* start; - unsigned char* end; - } m_Data; - unsigned char* m_In; - unsigned char* m_Out; -// NPT_Size m_Size; - bool m_BufferIsLocal; - bool m_Closed; -}; - -typedef NPT_Reference<NPT_RingBuffer> NPT_RingBufferReference; - -#endif // _NPT_RING_BUFFER_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSelectableMessageQueue.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSelectableMessageQueue.h deleted file mode 100644 index 23dd499153..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSelectableMessageQueue.h +++ /dev/null @@ -1,68 +0,0 @@ -/***************************************************************** -| -| Neptune - Selectable Message Queue -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SELECTABLE_MESSAGE_QUEUE_H_ -#define _NPT_SELECTABLE_MESSAGE_QUEUE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptMessaging.h" -#include "NptSimpleMessageQueue.h" - -/*---------------------------------------------------------------------- -| NPT_SelectableMessageQueue -+---------------------------------------------------------------------*/ -class NPT_SelectableMessageQueue : public NPT_SimpleMessageQueue -{ -public: - // methods - NPT_SelectableMessageQueue(); - virtual ~NPT_SelectableMessageQueue(); - - // NPT_MessageQueue methods - virtual NPT_Result PumpMessage(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - virtual NPT_Result QueueMessage(NPT_Message* message, - NPT_MessageHandler* handler); - - // methods - int GetEventFd() { return m_Pipe[0]; } - -private: - // methods - NPT_Result FlushEvent(); - - // members - int m_Pipe[2]; -}; - - -#endif /* _NPT_SELECTABLE_MESSAGE_QUEUE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSerialPort.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSerialPort.h deleted file mode 100644 index 1e23a3d37f..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSerialPort.h +++ /dev/null @@ -1,119 +0,0 @@ -/***************************************************************** -| -| Neptune - Serial Ports -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SERIAL_PORT_H_ -#define _NPT_SERIAL_PORT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptStreams.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_NO_SUCH_SERIAL_PORT = NPT_ERROR_BASE_SERIAL_PORT - 0; -const int NPT_ERROR_SERIAL_PORT_NOT_OPEN = NPT_ERROR_BASE_SERIAL_PORT - 1; -const int NPT_ERROR_SERIAL_PORT_ALREADY_OPEN = NPT_ERROR_BASE_SERIAL_PORT - 2; -const int NPT_ERROR_SERIAL_PORT_BUSY = NPT_ERROR_BASE_SERIAL_PORT - 3; - -typedef enum { - NPT_SERIAL_PORT_PARITY_NONE, - NPT_SERIAL_PORT_PARITY_EVEN, - NPT_SERIAL_PORT_PARITY_ODD, - NPT_SERIAL_PORT_PARITY_MARK -} NPT_SerialPortParity; - -typedef enum { - NPT_SERIAL_PORT_STOP_BITS_1, - NPT_SERIAL_PORT_STOP_BITS_1_5, - NPT_SERIAL_PORT_STOP_BITS_2 -} NPT_SerialPortStopBits; - -typedef enum { - NPT_SERIAL_PORT_FLOW_CONTROL_NONE, - NPT_SERIAL_PORT_FLOW_CONTROL_HARDWARE, - NPT_SERIAL_PORT_FLOW_CONTROL_XON_XOFF -} NPT_SerialPortFlowControl; - -/*---------------------------------------------------------------------- -| NPT_SerialPortInterface -+---------------------------------------------------------------------*/ -class NPT_SerialPortInterface -{ -public: - // constructors and destructor - virtual ~NPT_SerialPortInterface() {} - - // methods - virtual NPT_Result Open(unsigned int speed, - NPT_SerialPortStopBits stop_bits, - NPT_SerialPortFlowControl flow_control, - NPT_SerialPortParity parity) = 0; - virtual NPT_Result Close() = 0; - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream) = 0; - virtual NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_SerialPort -+---------------------------------------------------------------------*/ -class NPT_SerialPort : public NPT_SerialPortInterface -{ -public: - // constructors and destructor - NPT_SerialPort(const char* name); - ~NPT_SerialPort() { delete m_Delegate; } - - // NPT_SerialPortInterface methods - NPT_Result Open(unsigned int speed, - NPT_SerialPortStopBits stop_bits = NPT_SERIAL_PORT_STOP_BITS_1, - NPT_SerialPortFlowControl flow_control = NPT_SERIAL_PORT_FLOW_CONTROL_NONE, - NPT_SerialPortParity parity = NPT_SERIAL_PORT_PARITY_NONE) { - return m_Delegate->Open(speed, stop_bits, flow_control, parity); - } - NPT_Result Close() { - return m_Delegate->Close(); - } - NPT_Result GetInputStream(NPT_InputStreamReference& stream) { - return m_Delegate->GetInputStream(stream); - } - NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) { - return m_Delegate->GetOutputStream(stream); - } - -protected: - // members - NPT_SerialPortInterface* m_Delegate; -}; - -#endif // _NPT_SERIAL_PORT_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSimpleMessageQueue.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSimpleMessageQueue.h deleted file mode 100644 index 158b6ff029..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSimpleMessageQueue.h +++ /dev/null @@ -1,68 +0,0 @@ -/***************************************************************** -| -| Neptune - Simple Message Queue -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SIMPLE_MESSAGE_QUEUE_H_ -#define _NPT_SIMPLE_MESSAGE_QUEUE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptThreads.h" -#include "NptMessaging.h" -#include "NptQueue.h" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_SimpleMessageCapsule; - -/*---------------------------------------------------------------------- -| NPT_SimpleMessageQueue -+---------------------------------------------------------------------*/ -class NPT_SimpleMessageQueue : public NPT_MessageQueue -{ - public: - // members - NPT_SimpleMessageQueue(); - virtual ~NPT_SimpleMessageQueue(); - - // NPT_MessageQueue methods - virtual NPT_Result QueueMessage(NPT_Message* message, - NPT_MessageHandler* handler); - virtual NPT_Result PumpMessage(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - - private: - // members - NPT_Queue<NPT_SimpleMessageCapsule> m_Queue; -}; - -#endif // _NPT_SIMPLE_MESSAGE_QUEUE_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSockets.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSockets.h deleted file mode 100644 index 789939a534..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSockets.h +++ /dev/null @@ -1,335 +0,0 @@ -/***************************************************************** -| -| Neptune - Network Sockets -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SOCKETS_H_ -#define _NPT_SOCKETS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptStreams.h" -#include "NptStrings.h" -#include "NptDataBuffer.h" -#include "NptNetwork.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_CONNECTION_RESET = NPT_ERROR_BASE_SOCKET - 0; -const int NPT_ERROR_CONNECTION_ABORTED = NPT_ERROR_BASE_SOCKET - 1; -const int NPT_ERROR_CONNECTION_REFUSED = NPT_ERROR_BASE_SOCKET - 2; -const int NPT_ERROR_CONNECTION_FAILED = NPT_ERROR_BASE_SOCKET - 3; -const int NPT_ERROR_HOST_UNKNOWN = NPT_ERROR_BASE_SOCKET - 4; -const int NPT_ERROR_SOCKET_FAILED = NPT_ERROR_BASE_SOCKET - 5; -const int NPT_ERROR_GETSOCKOPT_FAILED = NPT_ERROR_BASE_SOCKET - 6; -const int NPT_ERROR_SETSOCKOPT_FAILED = NPT_ERROR_BASE_SOCKET - 7; -const int NPT_ERROR_SOCKET_CONTROL_FAILED = NPT_ERROR_BASE_SOCKET - 8; -const int NPT_ERROR_BIND_FAILED = NPT_ERROR_BASE_SOCKET - 9; -const int NPT_ERROR_LISTEN_FAILED = NPT_ERROR_BASE_SOCKET - 10; -const int NPT_ERROR_ACCEPT_FAILED = NPT_ERROR_BASE_SOCKET - 11; -const int NPT_ERROR_ADDRESS_IN_USE = NPT_ERROR_BASE_SOCKET - 12; -const int NPT_ERROR_NETWORK_DOWN = NPT_ERROR_BASE_SOCKET - 13; -const int NPT_ERROR_NETWORK_UNREACHABLE = NPT_ERROR_BASE_SOCKET - 14; -const int NPT_ERROR_NOT_CONNECTED = NPT_ERROR_BASE_SOCKET - 15; - -const unsigned int NPT_SOCKET_FLAG_CANCELLABLE = 1; // make the socket cancellable - -/*---------------------------------------------------------------------- -| forward references -+---------------------------------------------------------------------*/ -class NPT_Socket; - -/*---------------------------------------------------------------------- -| NPT_SocketAddress -+---------------------------------------------------------------------*/ -class NPT_SocketAddress -{ -public: - // constructors and destructor - NPT_SocketAddress() : m_Port(0) {} - NPT_SocketAddress(const NPT_IpAddress& address, NPT_IpPort port) : - m_IpAddress(address), - m_Port(port) {} - - // methods - NPT_Result SetIpAddress(const NPT_IpAddress& address) { - m_IpAddress = address; - return NPT_SUCCESS; - } - const NPT_IpAddress& GetIpAddress() const { - return m_IpAddress; - } - NPT_Result SetPort(NPT_IpPort port) { - m_Port = port; - return NPT_SUCCESS; - } - NPT_IpPort GetPort() const { - return m_Port; - } - NPT_String ToString() const; - - // operators - bool operator==(const NPT_SocketAddress& other) const; - -private: - // members - NPT_IpAddress m_IpAddress; - NPT_IpPort m_Port; -}; - -/*---------------------------------------------------------------------- -| NPT_SocketInfo -+---------------------------------------------------------------------*/ -typedef struct { - NPT_SocketAddress local_address; - NPT_SocketAddress remote_address; -} NPT_SocketInfo; - -/*---------------------------------------------------------------------- -| NPT_SocketInterface -+---------------------------------------------------------------------*/ -class NPT_SocketInterface -{ - public: - virtual ~NPT_SocketInterface() {} - - // interface methods - virtual NPT_Result Bind(const NPT_SocketAddress& address, bool reuse_address = true) = 0; - virtual NPT_Result Connect(const NPT_SocketAddress& address, NPT_Timeout timeout) = 0; - virtual NPT_Result WaitForConnection(NPT_Timeout timeout) = 0; - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream) = 0; - virtual NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) = 0; - virtual NPT_Result GetInfo(NPT_SocketInfo& info) = 0; - virtual NPT_Result SetReadTimeout(NPT_Timeout timeout) = 0; - virtual NPT_Result SetWriteTimeout(NPT_Timeout timeout) = 0; - virtual NPT_Result Cancel(bool shutdown=true) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_UdpSocketInterface -+---------------------------------------------------------------------*/ -class NPT_UdpSocketInterface -{ - public: - virtual ~NPT_UdpSocketInterface() {} - - // methods - virtual NPT_Result Send(const NPT_DataBuffer& packet, - const NPT_SocketAddress* address = NULL) = 0; - virtual NPT_Result Receive(NPT_DataBuffer& packet, - NPT_SocketAddress* address = NULL) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_UdpMulticastSocketInterface -+---------------------------------------------------------------------*/ -class NPT_UdpMulticastSocketInterface -{ - public: - virtual ~NPT_UdpMulticastSocketInterface() {} - - // methods - virtual NPT_Result JoinGroup(const NPT_IpAddress& group, - const NPT_IpAddress& iface) = 0; - virtual NPT_Result LeaveGroup(const NPT_IpAddress& group, - const NPT_IpAddress& iface) = 0; - virtual NPT_Result SetTimeToLive(unsigned char ttl) = 0; - virtual NPT_Result SetInterface(const NPT_IpAddress& iface) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_TcpServerSocketInterface -+---------------------------------------------------------------------*/ -class NPT_TcpServerSocketInterface -{ - public: - virtual ~NPT_TcpServerSocketInterface() {} - - // interface methods - virtual NPT_Result Listen(unsigned int max_clients) = 0; - virtual NPT_Result WaitForNewClient(NPT_Socket*& client, - NPT_Timeout timeout, - NPT_Flags flags) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Socket -+---------------------------------------------------------------------*/ -class NPT_Socket : public NPT_SocketInterface -{ -public: - // constructor and destructor - explicit NPT_Socket(NPT_SocketInterface* delegate) : m_SocketDelegate(delegate) {} - virtual ~NPT_Socket(); - - // delegate NPT_SocketInterface methods - NPT_Result Bind(const NPT_SocketAddress& address, bool reuse_address = true) { - return m_SocketDelegate->Bind(address, reuse_address); - } - NPT_Result Connect(const NPT_SocketAddress& address, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_SocketDelegate->Connect(address, timeout); - } - NPT_Result WaitForConnection(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_SocketDelegate->WaitForConnection(timeout); - } - NPT_Result GetInputStream(NPT_InputStreamReference& stream) { - return m_SocketDelegate->GetInputStream(stream); - } - NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) { - return m_SocketDelegate->GetOutputStream(stream); - } - NPT_Result GetInfo(NPT_SocketInfo& info) { - return m_SocketDelegate->GetInfo(info); - } - NPT_Result SetReadTimeout(NPT_Timeout timeout) { - return m_SocketDelegate->SetReadTimeout(timeout); - } - NPT_Result SetWriteTimeout(NPT_Timeout timeout) { - return m_SocketDelegate->SetWriteTimeout(timeout); - } - NPT_Result Cancel(bool shutdown=true) { - return m_SocketDelegate->Cancel(shutdown); - } - -protected: - // constructor - NPT_Socket() {} - - // members - NPT_SocketInterface* m_SocketDelegate; -}; - -typedef NPT_Reference<NPT_Socket> NPT_SocketReference; - -/*---------------------------------------------------------------------- -| NPT_UdpSocket -+---------------------------------------------------------------------*/ -class NPT_UdpSocket : public NPT_Socket, - public NPT_UdpSocketInterface -{ - public: - // constructor and destructor - NPT_UdpSocket(NPT_Flags flags=NPT_SOCKET_FLAG_CANCELLABLE); - virtual ~NPT_UdpSocket(); - - // delegate NPT_UdpSocketInterface methods - NPT_Result Send(const NPT_DataBuffer& packet, - const NPT_SocketAddress* address = NULL) { - return m_UdpSocketDelegate->Send(packet, address); - } - NPT_Result Receive(NPT_DataBuffer& packet, - NPT_SocketAddress* address = NULL) { - return m_UdpSocketDelegate->Receive(packet, address); - } - -protected: - // constructor - NPT_UdpSocket(NPT_UdpSocketInterface* delegate); - - // members - NPT_UdpSocketInterface* m_UdpSocketDelegate; -}; - -/*---------------------------------------------------------------------- -| NPT_UdpMulticastSocket -+---------------------------------------------------------------------*/ -class NPT_UdpMulticastSocket : public NPT_UdpSocket, - public NPT_UdpMulticastSocketInterface -{ -public: - // constructor and destructor - NPT_UdpMulticastSocket(NPT_Flags flags=NPT_SOCKET_FLAG_CANCELLABLE); - virtual ~NPT_UdpMulticastSocket(); - - // delegate NPT_UdpMulticastSocketInterface methods - NPT_Result JoinGroup(const NPT_IpAddress& group, - const NPT_IpAddress& iface = - NPT_IpAddress::Any) { - return m_UdpMulticastSocketDelegate->JoinGroup(group, iface); - } - NPT_Result LeaveGroup(const NPT_IpAddress& group, - const NPT_IpAddress& iface = - NPT_IpAddress::Any) { - return m_UdpMulticastSocketDelegate->LeaveGroup(group, iface); - } - NPT_Result SetTimeToLive(unsigned char ttl) { - return m_UdpMulticastSocketDelegate->SetTimeToLive(ttl); - } - NPT_Result SetInterface(const NPT_IpAddress& iface) { - return m_UdpMulticastSocketDelegate->SetInterface(iface); - } - -protected: - // members - NPT_UdpMulticastSocketInterface* m_UdpMulticastSocketDelegate; -}; - -/*---------------------------------------------------------------------- -| NPT_TcpClientSocket -+---------------------------------------------------------------------*/ -class NPT_TcpClientSocket : public NPT_Socket -{ -public: - // constructors and destructor - NPT_TcpClientSocket(NPT_Flags flags=NPT_SOCKET_FLAG_CANCELLABLE); - virtual ~NPT_TcpClientSocket(); -}; - -/*---------------------------------------------------------------------- -| NPT_TcpServerSocket -+---------------------------------------------------------------------*/ -class NPT_TcpServerSocket : public NPT_Socket, - public NPT_TcpServerSocketInterface -{ -public: - // constructors and destructor - NPT_TcpServerSocket(NPT_Flags flags=NPT_SOCKET_FLAG_CANCELLABLE); - virtual ~NPT_TcpServerSocket(); - - // delegate NPT_TcpServerSocketInterface methods - NPT_Result Listen(unsigned int max_clients) { - return m_TcpServerSocketDelegate->Listen(max_clients); - } - NPT_Result WaitForNewClient(NPT_Socket*& client, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE, - NPT_Flags flags = 0) { - return m_TcpServerSocketDelegate->WaitForNewClient(client, timeout, flags); - } - -protected: - // members - NPT_TcpServerSocketInterface* m_TcpServerSocketDelegate; -}; - -#endif // _NPT_SOCKETS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptStack.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptStack.h deleted file mode 100644 index 50788050aa..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptStack.h +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************** -| -| Neptune - Stack -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_STACK_H_ -#define _NPT_STACK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptResults.h" -#include "NptTypes.h" -#include "NptList.h" - -/*---------------------------------------------------------------------- -| NPT_Stack -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_Stack : public NPT_List<T> -{ -public: - // methods - NPT_Result Push(const T& value) { - // NOTE: we must use the this-> accessor here because the standard - // requires it when the member to look up is in a parent template - return this->Add(value); - } - - NPT_Result Peek(T& value) { - // NOTE: we must use the this-> accessor here because the standard - // requires it when the member to look up is in a parent template - if (this->m_ItemCount == 0) return NPT_ERROR_NO_SUCH_ITEM; - value = this->m_Tail->m_Data; - return NPT_SUCCESS; - } - - NPT_Result Pop(T& value) { - // NOTE: we must use the this-> accessor here because the standard - // requires it when the member to look up is in a parent template - if (this->m_ItemCount == 0) return NPT_ERROR_NO_SUCH_ITEM; - typename NPT_List<T>::Iterator tail = this->GetLastItem(); - value = *tail; - return this->Erase(tail); - } -}; - -#endif // _NPT_STACK_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptStreams.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptStreams.h deleted file mode 100644 index 6cdab10fcb..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptStreams.h +++ /dev/null @@ -1,321 +0,0 @@ -/***************************************************************** -| -| Neptune - Byte Streams -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_STREAMS_H_ -#define _NPT_STREAMS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptReferences.h" -#include "NptConstants.h" -#include "NptResults.h" -#include "NptDataBuffer.h" -#include "NptStrings.h" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_String; - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_READ_FAILED = NPT_ERROR_BASE_IO - 0; -const int NPT_ERROR_WRITE_FAILED = NPT_ERROR_BASE_IO - 1; -const int NPT_ERROR_EOS = NPT_ERROR_BASE_IO - 2; - -/*---------------------------------------------------------------------- -| NPT_InputStream -+---------------------------------------------------------------------*/ -class NPT_InputStream -{ - public: - // constructor and destructor - virtual ~NPT_InputStream() {}; - - // methods - virtual NPT_Result Load(NPT_DataBuffer& buffer, NPT_Size max_read = 0); - virtual NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL) = 0; - virtual NPT_Result ReadFully(void* buffer, - NPT_Size bytes_to_read); - virtual NPT_Result Seek(NPT_Position offset) = 0; - virtual NPT_Result Skip(NPT_Size offset); - virtual NPT_Result Tell(NPT_Position& offset) = 0; - virtual NPT_Result GetSize(NPT_LargeSize& size) = 0; - virtual NPT_Result GetAvailable(NPT_LargeSize& available) = 0; - - // data access methods - NPT_Result ReadUI64(NPT_UInt64& value); - NPT_Result ReadUI32(NPT_UInt32& value); - NPT_Result ReadUI24(NPT_UInt32& value); - NPT_Result ReadUI16(NPT_UInt16& value); - NPT_Result ReadUI08(NPT_UInt8& value); -}; - -typedef NPT_Reference<NPT_InputStream> NPT_InputStreamReference; - -/*---------------------------------------------------------------------- -| NPT_OutputStream -+---------------------------------------------------------------------*/ -class NPT_OutputStream -{ -public: - // constructor and destructor - virtual ~NPT_OutputStream() {}; - - // methods - virtual NPT_Result Write(const void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL) = 0; - virtual NPT_Result WriteFully(const void* buffer, - NPT_Size bytes_to_write); - virtual NPT_Result WriteString(const char* string_buffer); - virtual NPT_Result WriteLine(const char* line_buffer); - virtual NPT_Result Seek(NPT_Position offset) = 0; - virtual NPT_Result Tell(NPT_Position& offset) = 0; - virtual NPT_Result Flush() { return NPT_SUCCESS; } - - // data access methods - NPT_Result WriteUI64(NPT_UInt64 value); - NPT_Result WriteUI32(NPT_UInt32 value); - NPT_Result WriteUI24(NPT_UInt32 value); - NPT_Result WriteUI16(NPT_UInt16 value); - NPT_Result WriteUI08(NPT_UInt8 value); -}; - -typedef NPT_Reference<NPT_OutputStream> NPT_OutputStreamReference; - -/*---------------------------------------------------------------------- -| NPT_StreamToStreamCopy -+---------------------------------------------------------------------*/ -NPT_Result NPT_StreamToStreamCopy(NPT_InputStream& from, - NPT_OutputStream& to, - NPT_Position offset = 0, - NPT_LargeSize size = 0, /* 0 means the entire stream */ - NPT_LargeSize* bytes_written = NULL); - -/*---------------------------------------------------------------------- -| NPT_DelegatingInputStream -| -| Use this class as a base class if you need to inherit both from -| NPT_InputStream and NPT_OutputStream which share the Seek and Tell -| method. In this case, you override the base-specific version of -| those methods, InputSeek, InputTell, instead of the Seek and Tell -| methods. -+---------------------------------------------------------------------*/ -class NPT_DelegatingInputStream : public NPT_InputStream -{ -public: - // NPT_InputStream methods - NPT_Result Seek(NPT_Position offset) { - return InputSeek(offset); - } - NPT_Result Tell(NPT_Position& offset) { - return InputTell(offset); - } - -private: - // methods - virtual NPT_Result InputSeek(NPT_Position offset) = 0; - virtual NPT_Result InputTell(NPT_Position& offset) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_DelegatingOutputStream -| -| Use this class as a base class if you need to inherit both from -| NPT_InputStream and NPT_OutputStream which share the Seek and Tell -| method. In this case, you override the base-specific version of -| those methods, OutputSeek and OutputTell, instead of the Seek and -| Tell methods. -+---------------------------------------------------------------------*/ -class NPT_DelegatingOutputStream : public NPT_OutputStream -{ -public: - // NPT_OutputStream methods - NPT_Result Seek(NPT_Position offset) { - return OutputSeek(offset); - } - NPT_Result Tell(NPT_Position& offset) { - return OutputTell(offset); - } - -private: - // methods - virtual NPT_Result OutputSeek(NPT_Position offset) = 0; - virtual NPT_Result OutputTell(NPT_Position& offset) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_MemoryStream -+---------------------------------------------------------------------*/ -class NPT_MemoryStream : - public NPT_DelegatingInputStream, - public NPT_DelegatingOutputStream -{ -public: - // constructor and destructor - NPT_MemoryStream(NPT_Size initial_capacity = 0); - NPT_MemoryStream(const void* data, NPT_Size size); - virtual ~NPT_MemoryStream() {} - - // accessors - const NPT_DataBuffer& GetBuffer() const { return m_Buffer; } - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - NPT_Result GetSize(NPT_LargeSize& size) { - size = m_Buffer.GetDataSize(); - return NPT_SUCCESS; - } - NPT_Result GetAvailable(NPT_LargeSize& available) { - available = (NPT_LargeSize)m_Buffer.GetDataSize()-m_ReadOffset; - return NPT_SUCCESS; - } - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL); - - // methods delegated to m_Buffer - const NPT_Byte* GetData() const { return m_Buffer.GetData(); } - NPT_Byte* UseData() { return m_Buffer.UseData(); } - NPT_Size GetDataSize() const { return m_Buffer.GetDataSize(); } - NPT_Size GetBufferSize() const { return m_Buffer.GetBufferSize();} - - // methods - NPT_Result SetDataSize(NPT_Size size); - -private: - // NPT_DelegatingInputStream methods - NPT_Result InputSeek(NPT_Position offset); - NPT_Result InputTell(NPT_Position& offset) { - offset = m_ReadOffset; - return NPT_SUCCESS; - } - - // NPT_DelegatingOutputStream methods - NPT_Result OutputSeek(NPT_Position offset); - NPT_Result OutputTell(NPT_Position& offset) { - offset = m_WriteOffset; - return NPT_SUCCESS; - } - -protected: - // members - NPT_DataBuffer m_Buffer; - NPT_Size m_ReadOffset; - NPT_Size m_WriteOffset; -}; - -typedef NPT_Reference<NPT_MemoryStream> NPT_MemoryStreamReference; - -/*---------------------------------------------------------------------- -| NPT_StringOutputStream -+---------------------------------------------------------------------*/ -class NPT_StringOutputStream : public NPT_OutputStream -{ -public: - // methods - NPT_StringOutputStream(NPT_Size size = 4096); - NPT_StringOutputStream(NPT_String* storage); - virtual ~NPT_StringOutputStream() ; - - const NPT_String& GetString() const { return *m_String; } - NPT_Result Reset() { if (m_String) m_String->SetLength(0); return NPT_SUCCESS; } - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, NPT_Size bytes_to_write, NPT_Size* bytes_written = NULL); - - NPT_Result Seek(NPT_Position /*offset*/) { return NPT_ERROR_NOT_SUPPORTED; } - NPT_Result Tell(NPT_Position& offset) { offset = m_String->GetLength(); return NPT_SUCCESS; } - -protected: - NPT_String* m_String; - bool m_StringIsOwned; -}; - -typedef NPT_Reference<NPT_StringOutputStream> NPT_StringOutputStreamReference; - -/*---------------------------------------------------------------------- -| NPT_SubInputStream -+---------------------------------------------------------------------*/ -class NPT_SubInputStream : public NPT_InputStream -{ -public: - // constructor and destructor - NPT_SubInputStream(NPT_InputStreamReference& source, - NPT_Position start, - NPT_LargeSize size); - - // methods - virtual NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - virtual NPT_Result Seek(NPT_Position offset); - virtual NPT_Result Tell(NPT_Position& offset); - virtual NPT_Result GetSize(NPT_LargeSize& size); - virtual NPT_Result GetAvailable(NPT_LargeSize& available); - -private: - NPT_InputStreamReference m_Source; - NPT_Position m_Position; - NPT_Position m_Start; - NPT_LargeSize m_Size; -}; - -/*---------------------------------------------------------------------- -| NPT_NullOutputStream -+---------------------------------------------------------------------*/ -class NPT_NullOutputStream : public NPT_OutputStream -{ -public: - // methods - NPT_NullOutputStream() {} - virtual ~NPT_NullOutputStream() {} - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, NPT_Size bytes_to_write, NPT_Size* bytes_written = NULL); - - NPT_Result Seek(NPT_Position /*offset*/) { return NPT_ERROR_NOT_SUPPORTED; } - NPT_Result Tell(NPT_Position& /*offset*/) { return NPT_ERROR_NOT_SUPPORTED; } -}; - -typedef NPT_Reference<NPT_NullOutputStream> NPT_NullOutputStreamReference; - -#endif // _NPT_STREAMS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptStrings.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptStrings.h deleted file mode 100644 index c445b33af1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptStrings.h +++ /dev/null @@ -1,358 +0,0 @@ -/***************************************************************** -| -| Neptune - String Objects -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_STRINGS_H_ -#define _NPT_STRINGS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#if defined(NPT_CONFIG_HAVE_NEW_H) -#include <new> -#endif -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptList.h" -#include "NptArray.h" -#include "NptDebug.h" -#include "NptHash.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_STRING_SEARCH_FAILED = -1; - -/*---------------------------------------------------------------------- -| NPT_String -+---------------------------------------------------------------------*/ -class NPT_String -{ -public: - // factories - static NPT_String FromInteger(NPT_Int64 value); - static NPT_String FromIntegerU(NPT_UInt64 value); - static NPT_String Format(const char* format, ...); - - // constructors - NPT_String(const NPT_String& str); - NPT_String(const char* str); - NPT_String(const char* str, NPT_Size length); - NPT_String(char c, NPT_Cardinal repeat = 1); - NPT_String() : m_Chars(NULL) {} - ~NPT_String() { if (m_Chars) GetBuffer()->Destroy(); } - - // string info and manipulations - bool IsEmpty() const { return m_Chars == NULL || GetBuffer()->GetLength() == 0; } - NPT_Size GetLength() const { return m_Chars ? GetBuffer()->GetLength() : 0; } - NPT_Size GetCapacity() const { return m_Chars ? GetBuffer()->GetAllocated() : 0; } - NPT_Result SetLength(NPT_Size length, bool pad = false); - void Assign(const char* chars, NPT_Size size); - void Append(const char* chars, NPT_Size size); - void Append(const char* s) { Append(s, StringLength(s)); } - int Compare(const char* s, bool ignore_case = false) const; - static int Compare(const char* s1, const char* s2, bool ignore_case = false); - int CompareN(const char* s, NPT_Size count, bool ignore_case = false) const; - static int CompareN(const char* s1, const char* s2, NPT_Size count, bool ignore_case = false); - - // substrings - NPT_String SubString(NPT_Ordinal first, NPT_Size length) const; - NPT_String SubString(NPT_Ordinal first) const { - return SubString(first, GetLength()); - } - NPT_String Left(NPT_Size length) const { - return SubString(0, length); - } - NPT_String Right(NPT_Size length) const { - return length >= GetLength() ? - *this : - SubString(GetLength()-length, length); - } - NPT_List<NPT_String> Split(const char* separator) const; - NPT_Array<NPT_String> SplitAny(const char* separator) const; - static NPT_String Join(NPT_List<NPT_String>& args, const char* separator); - - // buffer management - void Reserve(NPT_Size length); - - // hashing - NPT_UInt32 GetHash32() const; - NPT_UInt64 GetHash64() const; - - // conversions - NPT_String ToLowercase() const; - NPT_String ToUppercase() const; - NPT_Result ToInteger(int& value, bool relaxed = true) const; - NPT_Result ToInteger(unsigned int& value, bool relaxed = true) const; - NPT_Result ToInteger(long& value, bool relaxed = true) const; - NPT_Result ToInteger(unsigned long& value, bool relaxed = true) const; - NPT_Result ToInteger32(NPT_Int32& value, bool relaxed = true) const; - NPT_Result ToInteger32(NPT_UInt32& value, bool relaxed = true) const; - NPT_Result ToInteger64(NPT_Int64& value, bool relaxed = true) const; - NPT_Result ToInteger64(NPT_UInt64& value, bool relaxed = true) const; - NPT_Result ToFloat(float& value, bool relaxed = true) const; - - // processing - void MakeLowercase(); - void MakeUppercase(); - const NPT_String& Replace(char a, char b); - const NPT_String& Replace(char a, const char* b); - - // search - int Find(char c, NPT_Ordinal start = 0, bool ignore_case = false) const; - int Find(const char* s, NPT_Ordinal start = 0, bool ignore_case = false) const; - int FindAny(const char* s, NPT_Ordinal start, bool ignore_case = false) const; - int ReverseFind(char c, NPT_Ordinal start = 0, bool ignore_case = false) const; - int ReverseFind(const char* s, NPT_Ordinal start = 0, bool ignore_case = false) const; - bool StartsWith(const char* s, bool ignore_case = false) const; - bool EndsWith(const char* s, bool ignore_case = false) const; - - // editing - const NPT_String& Insert(const char* s, NPT_Ordinal where = 0); - const NPT_String& Erase(NPT_Ordinal start, NPT_Cardinal count = 1); - const NPT_String& Replace(const char* before, const char* after); - // void Replace(NPT_Ordinal start, NPT_Cardinal count, const char* s); - const NPT_String& TrimLeft(); - const NPT_String& TrimLeft(char c); - const NPT_String& TrimLeft(const char* chars); - const NPT_String& TrimRight(); - const NPT_String& TrimRight(char c); - const NPT_String& TrimRight(const char* chars); - const NPT_String& Trim(); - const NPT_String& Trim(char c); - const NPT_String& Trim(const char* chars); - - // type casting - operator char*() const { return m_Chars ? m_Chars: &EmptyString; } - operator const char* () const { return m_Chars ? m_Chars: &EmptyString; } - const char* GetChars() const { return m_Chars ? m_Chars: &EmptyString; } - char* UseChars() { return m_Chars ? m_Chars: &EmptyString; } - - // operator overloading - NPT_String& operator=(const char* str); - NPT_String& operator=(const NPT_String& str); - NPT_String& operator=(char c); - const NPT_String& operator+=(const NPT_String& s) { - Append(s.GetChars(), s.GetLength()); - return *this; - } - const NPT_String& operator+=(const char* s) { - Append(s); - return *this; - } - const NPT_String& operator+=(char c) { - Append(&c, 1); - return *this; - } - char operator[](int index) const { - NPT_ASSERT((unsigned int)index < GetLength()); - return GetChars()[index]; - } - char& operator[](int index) { - NPT_ASSERT((unsigned int)index < GetLength()); - return UseChars()[index]; - } - - // friend operators - friend NPT_String operator+(const NPT_String& s1, const NPT_String& s2) { - return s1+s2.GetChars(); - } - friend NPT_String operator+(const NPT_String& s1, const char* s2); - friend NPT_String operator+(const char* s1, const NPT_String& s2); - friend NPT_String operator+(const NPT_String& s, char c); - friend NPT_String operator+(char c, const NPT_String& s); - -protected: - // inner classes - class Buffer { - public: - // class methods - static Buffer* Allocate(NPT_Size allocated, NPT_Size length) { - void* mem = ::operator new(sizeof(Buffer)+allocated+1); - return new(mem) Buffer(allocated, length); - } - static char* Create(NPT_Size allocated, NPT_Size length=0) { - Buffer* shared = Allocate(allocated, length); - return shared->GetChars(); - } - static char* Create(const char* copy) { - NPT_Size length = StringLength(copy); - Buffer* shared = Allocate(length, length); - CopyString(shared->GetChars(), copy); - return shared->GetChars(); - } - static char* Create(const char* copy, NPT_Size length) { - Buffer* shared = Allocate(length, length); - CopyBuffer(shared->GetChars(), copy, length); - shared->GetChars()[length] = '\0'; - return shared->GetChars(); - } - static char* Create(char c, NPT_Cardinal repeat) { - Buffer* shared = Allocate(repeat, repeat); - char* s = shared->GetChars(); - while (repeat--) { - *s++ = c; - } - *s = '\0'; - return shared->GetChars(); - } - - // methods - char* GetChars() { - // return a pointer to the first char - return reinterpret_cast<char*>(this+1); - } - NPT_Size GetLength() const { return m_Length; } - void SetLength(NPT_Size length) { m_Length = length; } - NPT_Size GetAllocated() const { return m_Allocated; } - void Destroy() { ::operator delete((void*)this); } - - private: - // methods - Buffer(NPT_Size allocated, NPT_Size length = 0) : - m_Length(length), - m_Allocated(allocated) {} - - // members - NPT_Cardinal m_Length; - NPT_Cardinal m_Allocated; - // the actual string data follows - - }; - - // members - char* m_Chars; - -private: - // friends - friend class Buffer; - - // static members - static char EmptyString; - - // methods - Buffer* GetBuffer() const { - return reinterpret_cast<Buffer*>(m_Chars)-1; - } - void Reset() { - if (m_Chars != NULL) { - delete GetBuffer(); - m_Chars = NULL; - } - } - char* PrepareToWrite(NPT_Size length); - void PrepareToAppend(NPT_Size length, NPT_Size allocate); - - // static methods - static void CopyString(char* dst, const char* src) { - while ((*dst++ = *src++)){} - } - - static void CopyBuffer(char* dst, const char* src, NPT_Size size) { - while (size--) *dst++ = *src++; - } - - static NPT_Size StringLength(const char* str) { - NPT_Size length = 0; - while (*str++) length++; - return length; - } -}; - -/*---------------------------------------------------------------------- -| external operators -+---------------------------------------------------------------------*/ -inline bool operator==(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) == 0; -} -inline bool operator==(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) == 0; -} -inline bool operator==(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) == 0; -} -inline bool operator!=(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) != 0; -} -inline bool operator!=(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) != 0; -} -inline bool operator!=(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) != 0; -} -inline bool operator<(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) < 0; -} -inline bool operator<(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) < 0; -} -inline bool operator<(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) > 0; -} -inline bool operator>(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) > 0; -} -inline bool operator>(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) > 0; -} -inline bool operator>(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) < 0; -} -inline bool operator<=(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) <= 0; -} -inline bool operator<=(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) <= 0; -} -inline bool operator<=(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) >= 0; -} -inline bool operator>=(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) >= 0; -} -inline bool operator>=(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) >= 0; -} -inline bool operator>=(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) <= 0; -} - -/*---------------------------------------------------------------------- -| hashing -+---------------------------------------------------------------------*/ -template <> -struct NPT_Hash<NPT_String> -{ - NPT_UInt32 operator()(const NPT_String& s) const { return s.GetHash32(); } -}; - - -#endif // _NPT_STRINGS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSystem.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSystem.h deleted file mode 100644 index 224a058335..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptSystem.h +++ /dev/null @@ -1,63 +0,0 @@ -/***************************************************************** -| -| Neptune - System -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SYSTEM_H_ -#define _NPT_SYSTEM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptTime.h" - -/*---------------------------------------------------------------------- -| NPT_System -+---------------------------------------------------------------------*/ -class NPT_System -{ -public: - // methods - static NPT_Result GetProcessId(NPT_UInt32& id); - static NPT_Result GetMachineName(NPT_String& name); - static NPT_Result GetCurrentTimeStamp(NPT_TimeStamp& now); - static NPT_Result Sleep(const NPT_TimeInterval& duration); - static NPT_Result SleepUntil(const NPT_TimeStamp& when); - static NPT_Result SetRandomSeed(unsigned int seed); - static NPT_UInt32 GetRandomInteger(); - -protected: - // constructor - NPT_System() {} -}; - -NPT_Result NPT_GetSystemMachineName(NPT_String& name); - -#endif // _NPT_SYSTEM_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptThreads.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptThreads.h deleted file mode 100644 index 9a7455f44b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptThreads.h +++ /dev/null @@ -1,318 +0,0 @@ -/***************************************************************** -| -| Neptune - Threads -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_THREADS_H_ -#define _NPT_THREADS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptInterfaces.h" - -/*---------------------------------------------------------------------- -| error codes -+---------------------------------------------------------------------*/ -const int NPT_ERROR_CALLBACK_HANDLER_SHUTDOWN = NPT_ERROR_BASE_THREADS-0; -const int NPT_ERROR_CALLBACK_NOTHING_PENDING = NPT_ERROR_BASE_THREADS-1; - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_THREAD_PRIORITY_MIN = -15; -const int NPT_THREAD_PRIORITY_IDLE = -15; -const int NPT_THREAD_PRIORITY_LOWEST = -2; -const int NPT_THREAD_PRIORITY_BELOW_NORMAL = -1; -const int NPT_THREAD_PRIORITY_NORMAL = 0; -const int NPT_THREAD_PRIORITY_ABOVE_NORMAL = 1; -const int NPT_THREAD_PRIORITY_HIGHEST = 2; -const int NPT_THREAD_PRIORITY_TIME_CRITICAL = 15; -const int NPT_THREAD_PRIORITY_MAX = 15; - -/*---------------------------------------------------------------------- -| NPT_MutexInterface -+---------------------------------------------------------------------*/ -class NPT_MutexInterface -{ - public: - // methods - virtual ~NPT_MutexInterface() {} - virtual NPT_Result Lock() = 0; - virtual NPT_Result Unlock() = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Mutex -+---------------------------------------------------------------------*/ -class NPT_Mutex : public NPT_MutexInterface -{ - public: - // methods - NPT_Mutex(); - ~NPT_Mutex() { delete m_Delegate; } - NPT_Result Lock() { return m_Delegate->Lock(); } - NPT_Result Unlock() { return m_Delegate->Unlock(); } - - private: - // members - NPT_MutexInterface* m_Delegate; -}; - -/*---------------------------------------------------------------------- -| NPT_AutoLock -+---------------------------------------------------------------------*/ -class NPT_AutoLock -{ - public: - // methods - NPT_AutoLock(NPT_Mutex &mutex) : m_Mutex(mutex) { - m_Mutex.Lock(); - } - ~NPT_AutoLock() { - m_Mutex.Unlock(); - } - - private: - // members - NPT_Mutex& m_Mutex; -}; - -/*---------------------------------------------------------------------- -| NPT_Lock -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_Lock : public T, - public NPT_Mutex -{ -}; - -/*---------------------------------------------------------------------- -| NPT_SingletonLock -+---------------------------------------------------------------------*/ -class NPT_SingletonLock -{ -public: - static NPT_Mutex& GetInstance() { - return Instance; - } - -private: - static NPT_Mutex Instance; -}; - -/*---------------------------------------------------------------------- -| NPT_SharedVariableInterface -+---------------------------------------------------------------------*/ -class NPT_SharedVariableInterface -{ - public: - // methods - virtual ~NPT_SharedVariableInterface() {} - virtual void SetValue(int value)= 0; - virtual int GetValue() = 0; - virtual NPT_Result WaitUntilEquals(int value, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result WaitWhileEquals(int value, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_SharedVariable -+---------------------------------------------------------------------*/ -class NPT_SharedVariable : public NPT_SharedVariableInterface -{ - public: - // methods - NPT_SharedVariable(int value = 0); - ~NPT_SharedVariable() { delete m_Delegate; } - void SetValue(int value) { - m_Delegate->SetValue(value); - } - int GetValue() { - return m_Delegate->GetValue(); - } - NPT_Result WaitUntilEquals(int value, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->WaitUntilEquals(value, timeout); - } - NPT_Result WaitWhileEquals(int value, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->WaitWhileEquals(value, timeout); - } - - private: - // members - NPT_SharedVariableInterface* m_Delegate; -}; - -/*---------------------------------------------------------------------- -| NPT_AtomicVariableInterface -+---------------------------------------------------------------------*/ -class NPT_AtomicVariableInterface -{ - public: - // methods - virtual ~NPT_AtomicVariableInterface() {} - virtual int Increment() = 0; - virtual int Decrement() = 0; - virtual int GetValue() = 0; - virtual void SetValue(int value) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_AtomicVariable -+---------------------------------------------------------------------*/ -class NPT_AtomicVariable : public NPT_AtomicVariableInterface -{ - public: - // methods - NPT_AtomicVariable(int value = 0); - ~NPT_AtomicVariable() { delete m_Delegate; } - int Increment() { return m_Delegate->Increment();} - int Decrement() { return m_Delegate->Decrement();} - void SetValue(int value) { m_Delegate->SetValue(value); } - int GetValue() { return m_Delegate->GetValue(); } - - private: - // members - NPT_AtomicVariableInterface* m_Delegate; -}; - -/*---------------------------------------------------------------------- -| NPT_Runnable -+---------------------------------------------------------------------*/ -class NPT_Runnable -{ -public: - virtual ~NPT_Runnable() {} - virtual void Run() = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_ThreadInterface -+---------------------------------------------------------------------*/ -class NPT_ThreadInterface: public NPT_Runnable, public NPT_Interruptible -{ - public: - // methods - virtual ~NPT_ThreadInterface() {} - virtual NPT_Result Start() = 0; - virtual NPT_Result Wait(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result SetPriority(int /*priority*/) { return NPT_SUCCESS; } - virtual NPT_Result GetPriority(int& priority) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Thread -+---------------------------------------------------------------------*/ -class NPT_Thread : public NPT_ThreadInterface -{ - public: - // types - typedef unsigned long ThreadId; - - // class methods - static ThreadId GetCurrentThreadId(); - static NPT_Result SetCurrentThreadPriority(int priority); - static NPT_Result GetCurrentThreadPriority(int& priority); - - // methods - explicit NPT_Thread(bool detached = false); - explicit NPT_Thread(NPT_Runnable& target, bool detached = false); - ~NPT_Thread() { delete m_Delegate; } - - // NPT_ThreadInterface methods - NPT_Result Start() { - return m_Delegate->Start(); - } - NPT_Result Wait(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->Wait(timeout); - } - NPT_Result SetPriority(int priority) { - return m_Delegate->SetPriority(priority); - } - NPT_Result GetPriority(int& priority) { - return m_Delegate->GetPriority(priority); - } - - // NPT_Runnable methods - virtual void Run() {} - - // NPT_Interruptible methods - virtual NPT_Result Interrupt() { return m_Delegate->Interrupt(); } - - private: - // members - NPT_ThreadInterface* m_Delegate; -}; - - -/*---------------------------------------------------------------------- -| NPT_ThreadCallbackReceiver -+---------------------------------------------------------------------*/ -class NPT_ThreadCallbackReceiver -{ -public: - virtual ~NPT_ThreadCallbackReceiver() {} - virtual void OnCallback(void* args) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_ThreadCallbackSlot -+---------------------------------------------------------------------*/ -class NPT_ThreadCallbackSlot -{ -public: - // types - class NotificationHelper { - public: - virtual ~NotificationHelper() {}; - virtual void Notify(void) = 0; - }; - - // constructor - NPT_ThreadCallbackSlot(); - - // methods - NPT_Result ReceiveCallback(NPT_ThreadCallbackReceiver& receiver, NPT_Timeout timeout = 0); - NPT_Result SendCallback(void* args); - NPT_Result SetNotificationHelper(NotificationHelper* helper); - NPT_Result Shutdown(); - -protected: - // members - volatile void* m_CallbackArgs; - volatile bool m_Shutdown; - NPT_SharedVariable m_Pending; - NPT_SharedVariable m_Ack; - NPT_Mutex m_ReadLock; - NPT_Mutex m_WriteLock; - NotificationHelper* m_NotificationHelper; -}; - -#endif // _NPT_THREADS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTime.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTime.h deleted file mode 100644 index ae02a48c3d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTime.h +++ /dev/null @@ -1,156 +0,0 @@ -/***************************************************************** -| -| Neptune - Time -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_TIME_H_ -#define _NPT_TIME_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptStrings.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define NPT_DATETIME_YEAR_MIN 1901 -#define NPT_DATETIME_YEAR_MAX 2262 - -/*---------------------------------------------------------------------- -| NPT_TimeStamp -+---------------------------------------------------------------------*/ -class NPT_TimeStamp -{ - public: - // methods - NPT_TimeStamp(const NPT_TimeStamp& timestamp); - NPT_TimeStamp() : m_NanoSeconds(0) {} - NPT_TimeStamp(NPT_Int64 nanoseconds) : m_NanoSeconds(nanoseconds) {} - NPT_TimeStamp(double seconds); - NPT_TimeStamp& operator+=(const NPT_TimeStamp& time_stamp); - NPT_TimeStamp& operator-=(const NPT_TimeStamp& time_stamp); - bool operator==(const NPT_TimeStamp& t) const { return m_NanoSeconds == t.m_NanoSeconds; } - bool operator!=(const NPT_TimeStamp& t) const { return m_NanoSeconds != t.m_NanoSeconds; } - bool operator> (const NPT_TimeStamp& t) const { return m_NanoSeconds > t.m_NanoSeconds; } - bool operator< (const NPT_TimeStamp& t) const { return m_NanoSeconds < t.m_NanoSeconds; } - bool operator>=(const NPT_TimeStamp& t) const { return m_NanoSeconds >= t.m_NanoSeconds; } - bool operator<=(const NPT_TimeStamp& t) const { return m_NanoSeconds <= t.m_NanoSeconds; } - - // accessors - void SetNanos(NPT_Int64 nanoseconds) { m_NanoSeconds = nanoseconds; } - void SetMicros(NPT_Int64 micros) { m_NanoSeconds = micros * 1000; } - void SetMillis(NPT_Int64 millis) { m_NanoSeconds = millis * 1000000; } - void SetSeconds(NPT_Int64 seconds) { m_NanoSeconds = seconds * 1000000000; } - - // conversion - operator double() const { return (double)m_NanoSeconds/1E9; } - void FromNanos(NPT_Int64 nanoseconds) { m_NanoSeconds = nanoseconds; } - NPT_Int64 ToNanos() const { return m_NanoSeconds; } - NPT_Int64 ToMicros() const { return m_NanoSeconds/1000; } - NPT_Int64 ToMillis() const { return m_NanoSeconds/1000000; } - NPT_Int64 ToSeconds() const { return m_NanoSeconds/1000000000; } - -private: - // members - NPT_Int64 m_NanoSeconds; -}; - -/*---------------------------------------------------------------------- -| operator+ -+---------------------------------------------------------------------*/ -inline -NPT_TimeStamp -operator+(const NPT_TimeStamp& t1, const NPT_TimeStamp& t2) -{ - NPT_TimeStamp t = t1; - return t += t2; -} - -/*---------------------------------------------------------------------- -| operator- -+---------------------------------------------------------------------*/ -inline -NPT_TimeStamp -operator-(const NPT_TimeStamp& t1, const NPT_TimeStamp& t2) -{ - NPT_TimeStamp t = t1; - return t -= t2; -} - -/*---------------------------------------------------------------------- -| NPT_TimeInterval -+---------------------------------------------------------------------*/ -typedef NPT_TimeStamp NPT_TimeInterval; - -/*---------------------------------------------------------------------- -| NPT_DateTime -+---------------------------------------------------------------------*/ -class NPT_DateTime { -public: - // types - enum Format { - FORMAT_ANSI, - FORMAT_W3C, - FORMAT_RFC_1123, // RFC 822 updated by RFC 1123 - FORMAT_RFC_1036 // RFC 850 updated by RFC 1036 - }; - - enum FormatFlags { - FLAG_EMIT_FRACTION = 1, - FLAG_EXTENDED_PRECISION = 2 - }; - - // class methods - NPT_Int32 GetLocalTimeZone(); - - // constructors - NPT_DateTime(); - NPT_DateTime(const NPT_TimeStamp& timestamp, bool local=false); - - // methods - NPT_Result ChangeTimeZone(NPT_Int32 timezone); - NPT_Result FromTimeStamp(const NPT_TimeStamp& timestamp, bool local=false); - NPT_Result ToTimeStamp(NPT_TimeStamp& timestamp) const; - NPT_Result FromString(const char* date, Format format = FORMAT_ANSI); - NPT_String ToString(Format format = FORMAT_ANSI, NPT_Flags flags=0) const; - - // members - NPT_Int32 m_Year; // year - NPT_Int32 m_Month; // month of the year (1-12) - NPT_Int32 m_Day; // day of the month (1-31) - NPT_Int32 m_Hours; // hours (0-23) - NPT_Int32 m_Minutes; // minutes (0-59) - NPT_Int32 m_Seconds; // seconds (0-59) - NPT_Int32 m_NanoSeconds; // nanoseconds (0-999999999) - NPT_Int32 m_TimeZone; // minutes offset from GMT -}; - -#endif // _NPT_TIME_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTls.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTls.h deleted file mode 100644 index 4a392fdcc7..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTls.h +++ /dev/null @@ -1,306 +0,0 @@ -/***************************************************************** -| -| Neptune - TLS/SSL Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_TLS_H_ -#define _NPT_TLS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptStreams.h" -#include "NptTime.h" -#include "NptHttp.h" - -/*---------------------------------------------------------------------- -| error codes -+---------------------------------------------------------------------*/ -const NPT_Result NPT_ERROR_INVALID_PASSWORD = (NPT_ERROR_BASE_TLS-1); -const NPT_Result NPT_ERROR_TLS_INVALID_HANDSHAKE = (NPT_ERROR_BASE_TLS-2); -const NPT_Result NPT_ERROR_TLS_INVALID_PROTOCOL_MESSAGE = (NPT_ERROR_BASE_TLS-3); -const NPT_Result NPT_ERROR_TLS_INVALID_HMAC = (NPT_ERROR_BASE_TLS-4); -const NPT_Result NPT_ERROR_TLS_INVALID_VERSION = (NPT_ERROR_BASE_TLS-5); -const NPT_Result NPT_ERROR_TLS_INVALID_SESSION = (NPT_ERROR_BASE_TLS-6); -const NPT_Result NPT_ERROR_TLS_NO_CIPHER = (NPT_ERROR_BASE_TLS-7); -const NPT_Result NPT_ERROR_TLS_BAD_CERTIFICATE = (NPT_ERROR_BASE_TLS-8); -const NPT_Result NPT_ERROR_TLS_INVALID_KEY = (NPT_ERROR_BASE_TLS-9); -const NPT_Result NPT_ERROR_TLS_NO_CLIENT_RENEGOTIATION = (NPT_ERROR_BASE_TLS-10); -const NPT_Result NPT_ERROR_TLS_INVALID_FINISHED_MESSAGE = (NPT_ERROR_BASE_TLS-11); -const NPT_Result NPT_ERROR_TLS_NO_CERTIFICATE_DEFINED = (NPT_ERROR_BASE_TLS-12); -const NPT_Result NPT_ERROR_TLS_ALERT_HANDSHAKE_FAILED = (NPT_ERROR_BASE_TLS-13); -const NPT_Result NPT_ERROR_TLS_ALERT_BAD_CERTIFICATE = (NPT_ERROR_BASE_TLS-14); -const NPT_Result NPT_ERROR_TLS_ALERT_INVALID_VERSION = (NPT_ERROR_BASE_TLS-15); -const NPT_Result NPT_ERROR_TLS_ALERT_BAD_RECORD_MAC = (NPT_ERROR_BASE_TLS-16); -const NPT_Result NPT_ERROR_TLS_ALERT_DECODE_ERROR = (NPT_ERROR_BASE_TLS-17); -const NPT_Result NPT_ERROR_TLS_ALERT_DECRYPT_ERROR = (NPT_ERROR_BASE_TLS-18); -const NPT_Result NPT_ERROR_TLS_ALERT_ILLEGAL_PARAMETER = (NPT_ERROR_BASE_TLS-19); -const NPT_Result NPT_ERROR_TLS_ALERT_UNEXPECTED_MESSAGE = (NPT_ERROR_BASE_TLS-20); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_FAILURE = (NPT_ERROR_BASE_TLS-21); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_NO_TRUST_ANCHOR = (NPT_ERROR_BASE_TLS-22); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_BAD_SIGNATURE = (NPT_ERROR_BASE_TLS-23); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_NOT_YET_VALID = (NPT_ERROR_BASE_TLS-24); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_EXPIRED = (NPT_ERROR_BASE_TLS-25); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_SELF_SIGNED = (NPT_ERROR_BASE_TLS-26); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_INVALID_CHAIN = (NPT_ERROR_BASE_TLS-27); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_UNSUPPORTED_DIGEST = (NPT_ERROR_BASE_TLS-28); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_INVALID_PRIVATE_KEY = (NPT_ERROR_BASE_TLS-29); -const NPT_Result NPT_ERROR_TLS_DNS_NAME_MISMATCH = (NPT_ERROR_BASE_TLS-30); - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const unsigned int NPT_TLS_NULL_WITH_NULL_NULL = 0x00; -const unsigned int NPT_TLS_RSA_WITH_RC4_128_MD5 = 0x04; -const unsigned int NPT_TLS_RSA_WITH_RC4_128_SHA = 0x05; -const unsigned int NPT_TLS_RSA_WITH_AES_128_CBC_SHA = 0x2F; -const unsigned int NPT_TLS_RSA_WITH_AES_256_CBC_SHA = 0x35; - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_TlsContextImpl; -class NPT_TlsSessionImpl; - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef enum { - NPT_TLS_KEY_FORMAT_RSA_PRIVATE, - NPT_TLS_KEY_FORMAT_PKCS8, - NPT_TLS_KEY_FORMAT_PKCS12 -} NPT_TlsKeyFormat; - -struct NPT_TlsTrustAnchorData { - const unsigned char* cert_data; - unsigned int cert_size; -}; - -/*---------------------------------------------------------------------- -| NPT_Tls -+---------------------------------------------------------------------*/ -class NPT_Tls -{ -public: - static const NPT_TlsTrustAnchorData* GetDefaultTrustAnchors(NPT_Ordinal indx=0); - static bool MatchDnsNames(const char* hostname, - const NPT_List<NPT_String>& dns_names); - static bool MatchDnsName(const char* hostname, const char* dns_name); - -private: - NPT_Tls() {}; // don't instantiate -}; - -/*---------------------------------------------------------------------- -| NPT_TlsContext -+---------------------------------------------------------------------*/ -class NPT_TlsContext : public NPT_AutomaticCleaner::Singleton -{ -public: - enum { - OPTION_VERIFY_LATER = 1, - OPTION_REQUIRE_CLIENT_CERTIFICATE = 2, - OPTION_ADD_DEFAULT_TRUST_ANCHORS = 4, - OPTION_NO_SESSION_CACHE = 8 - }; - NPT_TlsContext(NPT_Flags options=0); - ~NPT_TlsContext(); - - // methods - NPT_Result LoadKey(NPT_TlsKeyFormat key_format, - const unsigned char* key_data, - NPT_Size key_data_size, - const char* password); - - NPT_Result SelfSignCertificate(const char* common_name, - const char* organization, - const char* organizational_name); - - /** - * Add one trust anchor - */ - NPT_Result AddTrustAnchor(const unsigned char* ta_data, - NPT_Size ta_data_size); - /** - * Add one or more trust anchors, from a list - * @param anchors Array of trust anchor data - * @param anchor_count Number of anchors in the array, or 0 if the array - * is terminated by a 'sentinel' (an anchor data with the field cert_data set - * to NULL and the field cert_size set to 0). - */ - NPT_Result AddTrustAnchors(const NPT_TlsTrustAnchorData* anchors, - NPT_Cardinal anchor_count = 0); - -protected: - NPT_TlsContextImpl* m_Impl; - - // friends - friend class NPT_TlsSession; - friend class NPT_TlsClientSession; - friend class NPT_TlsServerSession; -}; - -/*---------------------------------------------------------------------- -| NPT_TlsCertificateInfo -+---------------------------------------------------------------------*/ -struct NPT_TlsCertificateInfo -{ - struct _subject { - NPT_String common_name; - NPT_String organization; - NPT_String organizational_name; - } subject; - struct _issuer { - NPT_String common_name; - NPT_String organization; - NPT_String organizational_name; - } issuer; - struct _fingerprint { - unsigned char sha1[20]; - unsigned char md5[16]; - } fingerprint; - NPT_DateTime issue_date; - NPT_DateTime expiration_date; - NPT_List<NPT_String> alternate_names; -}; - -/*---------------------------------------------------------------------- -| NPT_TlsSession -+---------------------------------------------------------------------*/ -class NPT_TlsSession -{ -public: - virtual ~NPT_TlsSession(); - virtual NPT_Result Handshake(); - virtual NPT_Result GetHandshakeStatus(); - virtual NPT_Result GetPeerCertificateInfo(NPT_TlsCertificateInfo& info, NPT_Ordinal position=0); - virtual NPT_Result VerifyPeerCertificate(); - virtual NPT_Result VerifyDnsNameMatch(const char* hostname); - virtual NPT_Result GetSessionId(NPT_DataBuffer& session_id); - virtual NPT_UInt32 GetCipherSuiteId(); - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream); - virtual NPT_Result GetOutputStream(NPT_OutputStreamReference& stream); - -protected: - NPT_TlsSession(NPT_TlsContext& context, - NPT_TlsSessionImpl* impl); - - NPT_TlsContext& m_Context; - NPT_Reference<NPT_TlsSessionImpl> m_Impl; - NPT_InputStreamReference m_InputStream; - NPT_OutputStreamReference m_OutputStream; -}; - -/*---------------------------------------------------------------------- -| NPT_TlsClientSession -+---------------------------------------------------------------------*/ -class NPT_TlsClientSession : public NPT_TlsSession -{ -public: - NPT_TlsClientSession(NPT_TlsContext& context, - NPT_InputStreamReference& input, - NPT_OutputStreamReference& output); -}; - -/*---------------------------------------------------------------------- -| NPT_TlsServerSession -+---------------------------------------------------------------------*/ -class NPT_TlsServerSession : public NPT_TlsSession -{ -public: - NPT_TlsServerSession(NPT_TlsContext& context, - NPT_InputStreamReference& input, - NPT_OutputStreamReference& output); -}; - -/*---------------------------------------------------------------------- -| NPT_HttpTlsConnector -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_ENABLE_TLS) -class NPT_HttpTlsConnector : public NPT_HttpClient::Connector -{ -public: - enum { - OPTION_ACCEPT_SELF_SIGNED_CERTS = 1, - OPTION_ACCEPT_HOSTNAME_MISMATCH = 2 - }; - NPT_HttpTlsConnector(NPT_Flags options = 0); - NPT_HttpTlsConnector(NPT_TlsContext& tls_context, NPT_Flags options = 0); - virtual ~NPT_HttpTlsConnector() {} - NPT_TlsContext& GetTlsContext() { return m_TlsContext; } - - virtual NPT_Result VerifyPeer(NPT_TlsClientSession& session, - const char* hostname); - - // NPT_HttpClient::Connector methods - virtual NPT_Result Connect(const NPT_HttpUrl& url, - NPT_HttpClient& client, - const NPT_HttpProxyAddress* proxy, - bool reuse, - NPT_HttpClient::Connection*& connection); - -private: - // class methods - static NPT_TlsContext& GetDefaultTlsContext(); - - // class members - static NPT_TlsContext* DefaultTlsContext; - - // members - NPT_TlsContext& m_TlsContext; - NPT_Flags m_Options; -}; -#else -class NPT_HttpTlsConnector : public NPT_HttpClient::Connector -{ -public: - virtual ~NPT_HttpTlsConnector() {} - virtual NPT_Result Connect(const NPT_HttpUrl& url, - NPT_HttpClient& client, - const NPT_HttpProxyAddress* proxy, - bool reuse, - NPT_HttpClient::Connection*& connection); -}; -#endif - -/*---------------------------------------------------------------------- -| Trust Anchors -+-----------------------------------------------------------------*/ -/** - * Arrays of trust anchors (each array element is of type NPT_TlsTrustAnchorData - * and the last element is a terminator element: the cert_data field is NULL - * and the cert_size field is 0 - */ -#if defined(NPT_CONFIG_ENABLE_TLS) -#include "NptTlsDefaultTrustAnchorsBase.h" -#include "NptTlsDefaultTrustAnchorsExtended.h" -#endif - -#endif // _NPT_TLS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsBase.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsBase.h deleted file mode 100644 index 170cdb2934..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsBase.h +++ /dev/null @@ -1,583 +0,0 @@ -/***************************************************************** -| -| Neptune - Trust Anchors -| -| This file is automatically generated by a script, do not edit! -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - - /* This file is automatically generated by GenTrustAnchorsTables.py, do not edit */ - -#include "NptTls.h" - -extern const NPT_TlsTrustAnchorData NptTlsDefaultTrustAnchorsBase[137]; - -/* Verisign/RSA Secure Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0000_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0000_Data[]; - -/* GTE CyberTrust Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0001_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0001_Data[]; - -/* GTE CyberTrust Global Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0002_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0002_Data[]; - -/* Thawte Personal Basic CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0003_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0003_Data[]; - -/* Thawte Personal Premium CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0004_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0004_Data[]; - -/* Thawte Personal Freemail CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0005_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0005_Data[]; - -/* Thawte Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0006_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0006_Data[]; - -/* Thawte Premium Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0007_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0007_Data[]; - -/* Equifax Secure CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0008_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0008_Data[]; - -/* Digital Signature Trust Co. Global CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0009_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0009_Data[]; - -/* Digital Signature Trust Co. Global CA 3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0010_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0010_Data[]; - -/* Digital Signature Trust Co. Global CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0011_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0011_Data[]; - -/* Digital Signature Trust Co. Global CA 4 */ -extern const unsigned int NptTlsTrustAnchor_Base_0012_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0012_Data[]; - -/* Verisign Class 1 Public Primary Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0013_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0013_Data[]; - -/* Verisign Class 2 Public Primary Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0014_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0014_Data[]; - -/* Verisign Class 3 Public Primary Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0015_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0015_Data[]; - -/* Verisign Class 1 Public Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0016_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0016_Data[]; - -/* Verisign Class 2 Public Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0017_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0017_Data[]; - -/* Verisign Class 3 Public Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0018_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0018_Data[]; - -/* Verisign Class 4 Public Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0019_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0019_Data[]; - -/* GlobalSign Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0020_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0020_Data[]; - -/* GlobalSign Root CA - R2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0021_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0021_Data[]; - -/* ValiCert Class 1 VA */ -extern const unsigned int NptTlsTrustAnchor_Base_0022_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0022_Data[]; - -/* ValiCert Class 2 VA */ -extern const unsigned int NptTlsTrustAnchor_Base_0023_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0023_Data[]; - -/* RSA Root Certificate 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0024_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0024_Data[]; - -/* Verisign Class 1 Public Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0025_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0025_Data[]; - -/* Verisign Class 2 Public Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0026_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0026_Data[]; - -/* Verisign Class 3 Public Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0027_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0027_Data[]; - -/* Verisign Class 4 Public Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0028_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0028_Data[]; - -/* Entrust.net Secure Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0029_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0029_Data[]; - -/* Entrust.net Secure Personal CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0030_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0030_Data[]; - -/* Entrust.net Premium 2048 Secure Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0031_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0031_Data[]; - -/* Baltimore CyberTrust Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0032_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0032_Data[]; - -/* Equifax Secure Global eBusiness CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0033_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0033_Data[]; - -/* Equifax Secure eBusiness CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0034_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0034_Data[]; - -/* Equifax Secure eBusiness CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0035_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0035_Data[]; - -/* Visa International Global Root 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0036_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0036_Data[]; - -/* AddTrust Low-Value Services Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0037_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0037_Data[]; - -/* AddTrust External Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0038_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0038_Data[]; - -/* AddTrust Public Services Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0039_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0039_Data[]; - -/* AddTrust Qualified Certificates Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0040_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0040_Data[]; - -/* Verisign Time Stamping Authority CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0041_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0041_Data[]; - -/* Thawte Time Stamping CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0042_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0042_Data[]; - -/* Entrust.net Global Secure Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0043_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0043_Data[]; - -/* Entrust.net Global Secure Personal CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0044_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0044_Data[]; - -/* Entrust Root Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0045_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0045_Data[]; - -/* AOL Time Warner Root Certification Authority 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0046_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0046_Data[]; - -/* AOL Time Warner Root Certification Authority 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0047_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0047_Data[]; - -/* beTRUSTed Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0048_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0048_Data[]; - -/* beTRUSTed Root CA-Baltimore Implementation */ -extern const unsigned int NptTlsTrustAnchor_Base_0049_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0049_Data[]; - -/* beTRUSTed Root CA - Entrust Implementation */ -extern const unsigned int NptTlsTrustAnchor_Base_0050_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0050_Data[]; - -/* beTRUSTed Root CA - RSA Implementation */ -extern const unsigned int NptTlsTrustAnchor_Base_0051_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0051_Data[]; - -/* RSA Security 2048 v3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0052_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0052_Data[]; - -/* RSA Security 1024 v3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0053_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0053_Data[]; - -/* GeoTrust Global CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0054_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0054_Data[]; - -/* GeoTrust Global CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0055_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0055_Data[]; - -/* GeoTrust Universal CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0056_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0056_Data[]; - -/* GeoTrust Universal CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0057_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0057_Data[]; - -/* UTN-USER First-Network Applications */ -extern const unsigned int NptTlsTrustAnchor_Base_0058_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0058_Data[]; - -/* America Online Root Certification Authority 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0059_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0059_Data[]; - -/* America Online Root Certification Authority 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0060_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0060_Data[]; - -/* Visa eCommerce Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0061_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0061_Data[]; - -/* TC TrustCenter, Germany, Class 2 CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0062_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0062_Data[]; - -/* TC TrustCenter, Germany, Class 3 CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0063_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0063_Data[]; - -/* Certum Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0064_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0064_Data[]; - -/* Comodo AAA Services root */ -extern const unsigned int NptTlsTrustAnchor_Base_0065_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0065_Data[]; - -/* Comodo Secure Services root */ -extern const unsigned int NptTlsTrustAnchor_Base_0066_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0066_Data[]; - -/* Comodo Trusted Services root */ -extern const unsigned int NptTlsTrustAnchor_Base_0067_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0067_Data[]; - -/* IPS Chained CAs root */ -extern const unsigned int NptTlsTrustAnchor_Base_0068_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0068_Data[]; - -/* IPS CLASE1 root */ -extern const unsigned int NptTlsTrustAnchor_Base_0069_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0069_Data[]; - -/* IPS CLASE3 root */ -extern const unsigned int NptTlsTrustAnchor_Base_0070_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0070_Data[]; - -/* IPS CLASEA1 root */ -extern const unsigned int NptTlsTrustAnchor_Base_0071_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0071_Data[]; - -/* IPS CLASEA3 root */ -extern const unsigned int NptTlsTrustAnchor_Base_0072_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0072_Data[]; - -/* IPS Servidores root */ -extern const unsigned int NptTlsTrustAnchor_Base_0073_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0073_Data[]; - -/* IPS Timestamping root */ -extern const unsigned int NptTlsTrustAnchor_Base_0074_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0074_Data[]; - -/* QuoVadis Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0075_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0075_Data[]; - -/* QuoVadis Root CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0076_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0076_Data[]; - -/* QuoVadis Root CA 3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0077_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0077_Data[]; - -/* Security Communication Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0078_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0078_Data[]; - -/* Sonera Class 1 Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0079_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0079_Data[]; - -/* Sonera Class 2 Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0080_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0080_Data[]; - -/* Staat der Nederlanden Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0081_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0081_Data[]; - -/* TDC Internet Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0082_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0082_Data[]; - -/* TDC OCES Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0083_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0083_Data[]; - -/* UTN DATACorp SGC Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0084_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0084_Data[]; - -/* UTN USERFirst Email Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0085_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0085_Data[]; - -/* UTN USERFirst Hardware Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0086_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0086_Data[]; - -/* UTN USERFirst Object Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0087_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0087_Data[]; - -/* Camerfirma Chambers of Commerce Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0088_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0088_Data[]; - -/* Camerfirma Global Chambersign Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0089_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0089_Data[]; - -/* NetLock Qualified (Class QA) Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0090_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0090_Data[]; - -/* NetLock Notary (Class A) Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0091_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0091_Data[]; - -/* NetLock Business (Class B) Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0092_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0092_Data[]; - -/* NetLock Express (Class C) Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0093_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0093_Data[]; - -/* XRamp Global CA Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0094_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0094_Data[]; - -/* Go Daddy Class 2 CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0095_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0095_Data[]; - -/* Starfield Class 2 CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0096_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0096_Data[]; - -/* StartCom Ltd. */ -extern const unsigned int NptTlsTrustAnchor_Base_0097_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0097_Data[]; - -/* StartCom Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0098_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0098_Data[]; - -/* Firmaprofesional Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0099_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0099_Data[]; - -/* Wells Fargo Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0100_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0100_Data[]; - -/* Swisscom Root CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0101_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0101_Data[]; - -/* DigiCert Assured ID Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0102_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0102_Data[]; - -/* DigiCert Global Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0103_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0103_Data[]; - -/* DigiCert High Assurance EV Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0104_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0104_Data[]; - -/* Certplus Class 2 Primary CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0105_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0105_Data[]; - -/* DST Root CA X3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0106_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0106_Data[]; - -/* DST ACES CA X6 */ -extern const unsigned int NptTlsTrustAnchor_Base_0107_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0107_Data[]; - -/* SwissSign Platinum CA - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0108_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0108_Data[]; - -/* SwissSign Gold CA - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0109_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0109_Data[]; - -/* SwissSign Silver CA - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0110_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0110_Data[]; - -/* GeoTrust Primary Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0111_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0111_Data[]; - -/* thawte Primary Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0112_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0112_Data[]; - -/* VeriSign Class 3 Public Primary Certification Authority - G5 */ -extern const unsigned int NptTlsTrustAnchor_Base_0113_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0113_Data[]; - -/* SecureTrust CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0114_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0114_Data[]; - -/* Secure Global CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0115_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0115_Data[]; - -/* COMODO Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0116_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0116_Data[]; - -/* DigiNotar Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0117_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0117_Data[]; - -/* Network Solutions Certificate Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0118_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0118_Data[]; - -/* WellsSecure Public Root Certificate Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0119_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0119_Data[]; - -/* IGC/A */ -extern const unsigned int NptTlsTrustAnchor_Base_0120_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0120_Data[]; - -/* Security Communication EV RootCA1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0121_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0121_Data[]; - -/* TC TrustCenter Class 2 CA II */ -extern const unsigned int NptTlsTrustAnchor_Base_0122_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0122_Data[]; - -/* TC TrustCenter Class 3 CA II */ -extern const unsigned int NptTlsTrustAnchor_Base_0123_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0123_Data[]; - -/* TC TrustCenter Universal CA I */ -extern const unsigned int NptTlsTrustAnchor_Base_0124_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0124_Data[]; - -/* Deutsche Telekom Root CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0125_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0125_Data[]; - -/* ComSign CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0126_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0126_Data[]; - -/* ComSign Secured CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0127_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0127_Data[]; - -/* Cybertrust Global Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0128_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0128_Data[]; - -/* Buypass Class 2 CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0129_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0129_Data[]; - -/* Buypass Class 3 CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0130_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0130_Data[]; - -/* certSIGN ROOT CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0131_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0131_Data[]; - -/* ApplicationCA - Japanese Government */ -extern const unsigned int NptTlsTrustAnchor_Base_0132_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0132_Data[]; - -/* GeoTrust Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0133_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0133_Data[]; - -/* thawte Primary Root CA - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0134_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0134_Data[]; - -/* GeoTrust Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0135_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0135_Data[]; - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsExtended.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsExtended.h deleted file mode 100644 index 005a6f0750..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsExtended.h +++ /dev/null @@ -1,91 +0,0 @@ -/***************************************************************** -| -| Neptune - Trust Anchors -| -| This file is automatically generated by a script, do not edit! -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - - /* This file is automatically generated by GenTrustAnchorsTables.py, do not edit */ - -#include "NptTls.h" - -extern const NPT_TlsTrustAnchorData NptTlsDefaultTrustAnchorsExtended[14]; - -/* ABAecom (sub., Am. Bankers Assn.) Root CA */ -extern const unsigned int NptTlsTrustAnchor_Extended_0000_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0000_Data[]; - -/* Taiwan GRCA */ -extern const unsigned int NptTlsTrustAnchor_Extended_0001_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0001_Data[]; - -/* TURKTRUST Certificate Services Provider Root 1 */ -extern const unsigned int NptTlsTrustAnchor_Extended_0002_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0002_Data[]; - -/* TURKTRUST Certificate Services Provider Root 2 */ -extern const unsigned int NptTlsTrustAnchor_Extended_0003_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0003_Data[]; - -/* OISTE WISeKey Global Root GA CA */ -extern const unsigned int NptTlsTrustAnchor_Extended_0004_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0004_Data[]; - -/* S-TRUST Authentication and Encryption Root CA 2005 PN */ -extern const unsigned int NptTlsTrustAnchor_Extended_0005_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0005_Data[]; - -/* Microsec e-Szigno Root CA */ -extern const unsigned int NptTlsTrustAnchor_Extended_0006_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0006_Data[]; - -/* Certigna */ -extern const unsigned int NptTlsTrustAnchor_Extended_0007_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0007_Data[]; - -/* AC Ra\xC3\xADz Certic\xC3\xA1mara S.A. */ -extern const unsigned int NptTlsTrustAnchor_Extended_0008_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0008_Data[]; - -/* ePKI Root Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Extended_0009_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0009_Data[]; - -/* TUBITAK UEKAE Kok Sertifika Hizmet Saglayicisi - Surum 3 */ -extern const unsigned int NptTlsTrustAnchor_Extended_0010_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0010_Data[]; - -/* CNNIC ROOT */ -extern const unsigned int NptTlsTrustAnchor_Extended_0011_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0011_Data[]; - -/* EBG Elektronik Sertifika Hizmet Saglayicisi */ -extern const unsigned int NptTlsTrustAnchor_Extended_0012_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0012_Data[]; - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTypes.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTypes.h deleted file mode 100644 index 4c82174a8a..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptTypes.h +++ /dev/null @@ -1,149 +0,0 @@ -/***************************************************************** -| -| Neptune - Types -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_TYPES_H_ -#define _NPT_TYPES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" - -/*---------------------------------------------------------------------- -| sized types (this assumes that ints are 32 bits) -+---------------------------------------------------------------------*/ -typedef NPT_CONFIG_INT64_TYPE NPT_Int64; -typedef unsigned NPT_CONFIG_INT64_TYPE NPT_UInt64; -typedef unsigned int NPT_UInt32; -typedef int NPT_Int32; -typedef unsigned short NPT_UInt16; -typedef short NPT_Int16; -typedef unsigned char NPT_UInt8; -typedef char NPT_Int8; -typedef float NPT_Float; - -/*---------------------------------------------------------------------- -| named types -+---------------------------------------------------------------------*/ -typedef int NPT_Result; -typedef unsigned int NPT_Cardinal; -typedef unsigned int NPT_Ordinal; -typedef NPT_UInt32 NPT_Size; -typedef NPT_UInt64 NPT_LargeSize; -typedef NPT_Int32 NPT_Offset; -typedef NPT_UInt64 NPT_Position; -typedef NPT_Int32 NPT_Timeout; -typedef void NPT_Interface; -typedef NPT_UInt8 NPT_Byte; -typedef NPT_UInt32 NPT_Flags; -typedef void* NPT_Any; -typedef const void* NPT_AnyConst; - -/*---------------------------------------------------------------------- -| limits -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_HAVE_LIMITS_H) -#include <limits.h> -#endif - -#if !defined(NPT_INT_MIN) -#if defined(NPT_CONFIG_HAVE_INT_MIN) -#define NPT_INT_MIN INT_MIN -#endif -#endif - -#if !defined(NPT_INT_MAX) -#if defined(NPT_CONFIG_HAVE_INT_MAX) -#define NPT_INT_MAX INT_MAX -#endif -#endif - -#if !defined(NPT_UINT_MAX) -#if defined(NPT_CONFIG_HAVE_UINT_MAX) -#define NPT_UINT_MAX UINT_MAX -#endif -#endif - -#if !defined(NPT_LONG_MIN) -#if defined(NPT_CONFIG_HAVE_LONG_MIN) -#define NPT_LONG_MIN LONG_MIN -#endif -#endif - -#if !defined(NPT_LONG_MAX) -#if defined(NPT_CONFIG_HAVE_LONG_MAX) -#define NPT_LONG_MAX LONG_MAX -#endif -#endif - -#if !defined(NPT_ULONG_MAX) -#if defined(NPT_CONFIG_HAVE_ULONG_MAX) -#define NPT_ULONG_MAX ULONG_MAX -#endif -#endif - -#if !defined(NPT_INT32_MAX) -#define NPT_INT32_MAX 0x7FFFFFFF -#endif - -#if !defined(NPT_INT32_MIN) -#define NPT_INT32_MIN (-NPT_INT32_MAX - 1) -#endif - -#if !defined(NPT_UINT32_MAX) -#define NPT_UINT32_MAX 0xFFFFFFFF -#endif - -#if !defined(NPT_INT64_MAX) -#if defined(NPT_CONFIG_HAVE_LLONG_MAX) -#define NPT_INT64_MAX LLONG_MAX -#else -#define NPT_INT64_MAX 0x7FFFFFFFFFFFFFFFLL -#endif -#endif - -#if !defined(NPT_INT64_MIN) -#if defined(NPT_CONFIG_HAVE_LLONG_MIN) -#define NPT_INT64_MIN LLONG_MIN -#else -#define NPT_INT64_MIN (-NPT_INT64_MAX - 1LL) -#endif -#endif - -#if !defined(NPT_UINT64_MAX) -#if defined(NPT_CONFIG_HAVE_ULLONG_MAX) -#define NPT_UINT64_MAX ULLONG_MAX -#else -#define NPT_UINT64_MAX 0xFFFFFFFFFFFFFFFFULL -#endif -#endif - -#endif // _NPT_TYPES_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptUri.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptUri.h deleted file mode 100644 index 8ef46cb1f5..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptUri.h +++ /dev/null @@ -1,320 +0,0 @@ -/***************************************************************** -| -| Neptune - URI -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_URI_H_ -#define _NPT_URI_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStrings.h" -#include "NptList.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const NPT_UInt16 NPT_URL_INVALID_PORT = 0; -const NPT_UInt16 NPT_URL_DEFAULT_HTTP_PORT = 80; -const NPT_UInt16 NPT_URL_DEFAULT_HTTPS_PORT = 443; - -/*---------------------------------------------------------------------- -| NPT_Uri -+---------------------------------------------------------------------*/ -class NPT_Uri { -public: - // types - typedef enum { - SCHEME_ID_UNKNOWN, - SCHEME_ID_HTTP, - SCHEME_ID_HTTPS - } SchemeId; - - // constants. use as a parameter to Encode() - static const char* const PathCharsToEncode; - static const char* const QueryCharsToEncode; - static const char* const FragmentCharsToEncode; - static const char* const UnsafeCharsToEncode; - - // class methods - static NPT_String PercentEncode(const char* str, const char* chars, bool encode_percents=true); - static NPT_String PercentDecode(const char* str); - static SchemeId ParseScheme(const NPT_String& scheme); - - // methods - NPT_Uri() : m_SchemeId(SCHEME_ID_UNKNOWN) {} - virtual ~NPT_Uri() {} - const NPT_String& GetScheme() const { - return m_Scheme; - } - void SetScheme(const char* scheme); - NPT_Result SetSchemeFromUri(const char* uri); - SchemeId GetSchemeId() const { - return m_SchemeId; - } - -protected: - // members - NPT_String m_Scheme; - SchemeId m_SchemeId; -}; - -/*---------------------------------------------------------------------- -| NPT_UrlQuery -+---------------------------------------------------------------------*/ -class NPT_UrlQuery -{ -public: - // class methods - static NPT_String UrlEncode(const char* str, bool encode_percents=true); - static NPT_String UrlDecode(const char* str); - - // types - struct Field { - Field(const char* name, const char* value, bool encoded); - NPT_String m_Name; - NPT_String m_Value; - }; - - // constructor - NPT_UrlQuery() {} - NPT_UrlQuery(const char* query); - - // accessors - NPT_List<Field>& GetFields() { return m_Fields; } - - // methods - NPT_Result Parse(const char* query); - NPT_Result SetField(const char* name, const char* value, bool encoded=false); - NPT_Result AddField(const char* name, const char* value, bool encoded=false); - const char* GetField(const char* name); - NPT_String ToString(); - -private: - // members - NPT_List<Field> m_Fields; -}; - -/*---------------------------------------------------------------------- -| NPT_Url -+---------------------------------------------------------------------*/ -class NPT_Url : public NPT_Uri { -public: - /** - * Default constructor. This does not construct a valid URL, but an - * uninitialized one that can later be initialized to a valid URL by - * parsing or setting some of its fields. - */ - NPT_Url(); - - /** - * Construct a URL by parsing an input string in its fully encoded form. - * If an error occurs during parsing (such as an invalid syntax), the - * URL will be in an invalid state (a call to IsValid() will return false). - * - * @param url The URL string in its encoded form - * @param default_port The default port number, or 0 if not specified - */ - NPT_Url(const char* url, NPT_UInt16 default_port = 0); - - /** - * Construct a URL from its components. When constructing a URL from - * components, the components are assumed to be passed in their non-encoded - * form, and will thus be encoded automatically. - * - * @param scheme The URL scheme - * @param port The port number - * @param path The path - * @param query The query, if any, or NULL - * @param fragment The fragment, if any, or NULL - */ - NPT_Url(const char* scheme, - const char* host, - NPT_UInt16 port, - const char* path, - const char* query = NULL, - const char* fragment = NULL); - - /** - * Parse a URL from its fully encoded form. - * - * @param url The URL string in its encoded form - * @param default port The defautl port number, or 0 if not specified - */ - NPT_Result Parse(const char* url, NPT_UInt16 default_port = 0); - - /** - * Parse just the path plus optional query and fragment from a fully encoded form. - * - * @param path_plus The URL path plus optional query and fragment - */ - NPT_Result ParsePathPlus(const char* path_plus); - - /** - * Returns the host part of the URL, in its encoded form - */ - const NPT_String& GetHost() const { return m_Host; } - - /** - * Returns the port number of the URL. - */ - NPT_UInt16 GetPort() const { return m_Port; } - - /** - * Returns the path part of the URL, in its encoded form - */ - const NPT_String& GetPath() const { return m_Path; } - - /** - * Returns the path part of the URL, in its encoded or decoded form - */ - NPT_String GetPath(bool decoded) const { return decoded?NPT_Uri::PercentDecode(m_Path):m_Path;} - - /** - * Returns the query part of the URL, in its encoded form - */ - const NPT_String& GetQuery() const { return m_Query; } - - /** - * Returns the fragment part of the URL, in its encoded form - */ - const NPT_String& GetFragment() const { return m_Fragment; } - - /** - * Returns whether the URL is valid or not. Invalid URLs are uninitialized or - * not fully initialized URLs. - * - * @return true if the URL is valid, false if it is not. - */ - virtual bool IsValid() const; - - /** - * Resets a URL to an uninitialized state. - */ - void Reset(); - - /** - * Returns whether the URL has a query part or not. - * - * @return true if the URL has a query part, false if it does not. - */ - bool HasQuery() const { return m_HasQuery; } - - /** - * Returns whether the URL has a fragment part or not. - * - * @return true if the URL has a fragment part, false if it does not. - */ - bool HasFragment() const { return m_HasFragment; } - - /** - * Sets the host part of the URL. - * - * @param host The host part of the URL - */ - NPT_Result SetHost(const char* host); - - /** - * Sets the port number of the URL. - * - * @param port The port number of the URL - */ - NPT_Result SetPort(NPT_UInt16 port); - - /** - * Sets the path part of the URL. - * - * @param path The path part of the URL - * @param encoded Boolean flag indicating whether the path parameter is - * already encoded or not. If it is not already encoded, it will be - * automatically encoded. - */ - NPT_Result SetPath(const char* path, bool encoded=false); - - /** - * Sets the query part of the URL. - * - * @param query The query part of the URL - * @param encoded Boolean flag indicating whether the query parameter is - * already encoded or not. If it is not already encoded, it will be - * automatically encoded. - */ - NPT_Result SetQuery(const char* query, bool encoded=false); - - /** - * Sets the fragment part of the URL. - * - * @param query The fragment part of the URL - * @param encoded Boolean flag indicating whether the fragment parameter is - * already encoded or not. If it is not already encoded, it will be - * automatically encoded. - */ - NPT_Result SetFragment(const char* fragment, bool encoded=false); - - /** - * Return the string representation of the URL in a way that can be used in - * an HTTP request (i.e just the portion of the URL starting with the path) - * - * @param with_fragment Boolean flag specifiying whether the fragment part of - * the URL should be included in the returned string or not. - */ - virtual NPT_String ToRequestString(bool with_fragment = false) const; - - /** - * Return the string representation of the URL. - * - * @param default_port default port number for the scheme. If the port number of - * the URL is not equal to the default port, then port number is explicitely - * included in the string representation of the URL. - * @param with_fragment Boolean flag specifiying whether the fragment part of - * the URL should be included in the returned string or not. - */ - virtual NPT_String ToStringWithDefaultPort(NPT_UInt16 default_port, bool with_fragment = true) const; - - /** - * Return the string representation of the URL. - * - * @param with_fragment Boolean flag specifiying whether the fragment part of - * the URL should be included in the returned string or not. - */ - virtual NPT_String ToString(bool with_fragment = true) const; - -protected: - // members - NPT_String m_Host; - NPT_UInt16 m_Port; - NPT_String m_Path; - bool m_HasQuery; - NPT_String m_Query; - bool m_HasFragment; - NPT_String m_Fragment; -}; - -#endif // _NPT_URI_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptUtils.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptUtils.h deleted file mode 100644 index 3a06d497f4..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptUtils.h +++ /dev/null @@ -1,228 +0,0 @@ -/***************************************************************** -| -| Neptune Utils -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_UTILS_H_ -#define _NPT_UTILS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptTypes.h" -#include "NptStrings.h" -#include "NptMap.h" -#include "NptDataBuffer.h" -#include "NptHash.h" - -#if defined (NPT_CONFIG_HAVE_STDIO_H) -#include <stdio.h> -#endif - -#if defined (NPT_CONFIG_HAVE_STRING_H) -#include <string.h> -#endif - -#if defined(NPT_CONFIG_HAVE_STDARG_H) -#include <stdarg.h> -#endif - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#define NPT_ARRAY_SIZE(_a) (sizeof(_a)/sizeof((_a)[0])) - -/*---------------------------------------------------------------------- -| byte I/O -+---------------------------------------------------------------------*/ -extern void NPT_BytesFromInt64Be(unsigned char* buffer, NPT_UInt64 value); -extern void NPT_BytesFromInt32Be(unsigned char* buffer, NPT_UInt32 value); -extern void NPT_BytesFromInt24Be(unsigned char* buffer, NPT_UInt32 value); -extern void NPT_BytesFromInt16Be(unsigned char* buffer, NPT_UInt16 value); -extern NPT_UInt64 NPT_BytesToInt64Be(const unsigned char* buffer); -extern NPT_UInt32 NPT_BytesToInt32Be(const unsigned char* buffer); -extern NPT_UInt32 NPT_BytesToInt24Be(const unsigned char* buffer); -extern NPT_UInt16 NPT_BytesToInt16Be(const unsigned char* buffer); - -extern void NPT_BytesFromInt64Le(unsigned char* buffer, NPT_UInt64 value); -extern void NPT_BytesFromInt32Le(unsigned char* buffer, NPT_UInt32 value); -extern void NPT_BytesFromInt24Le(unsigned char* buffer, NPT_UInt32 value); -extern void NPT_BytesFromInt16Le(unsigned char* buffer, NPT_UInt16 value); -extern NPT_UInt64 NPT_BytesToInt64Le(const unsigned char* buffer); -extern NPT_UInt32 NPT_BytesToInt32Le(const unsigned char* buffer); -extern NPT_UInt32 NPT_BytesToInt24Le(const unsigned char* buffer); -extern NPT_UInt16 NPT_BytesToInt16Le(const unsigned char* buffer); - -/*---------------------------------------------------------------------- -| conversion utilities -+---------------------------------------------------------------------*/ -extern NPT_Result -NPT_ParseFloat(const char* str, float& result, bool relaxed = true); - -extern NPT_Result -NPT_ParseInteger(const char* str, long& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger(const char* str, unsigned long& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger(const char* str, int& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger(const char* str, unsigned int& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger32(const char* str, NPT_Int32& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger32(const char* str, NPT_UInt32& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger64(const char* str, NPT_Int64& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger64(const char* str, NPT_UInt64& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -/*---------------------------------------------------------------------- -| formatting -+---------------------------------------------------------------------*/ -void -NPT_FormatOutput(void (*function)(void* parameter, const char* message), - void* function_parameter, - const char* format, - va_list args); - -void NPT_ByteToHex(NPT_Byte b, char* buffer, bool uppercase=false); -NPT_Result NPT_HexToByte(const char* buffer, NPT_Byte& b); -NPT_Result NPT_HexToBytes(const char* hex, NPT_DataBuffer& bytes); -NPT_String NPT_HexString(const unsigned char* data, - NPT_Size data_size, - const char* separator = NULL, - bool uppercase=false); -char NPT_NibbleToHex(unsigned int nibble, bool uppercase = true); -int NPT_HexToNibble(char hex); - -/*---------------------------------------------------------------------- -| parsing -+---------------------------------------------------------------------*/ -NPT_Result -NPT_ParseMimeParameters(const char* encoded, - NPT_Map<NPT_String, NPT_String>& parameters); - -/*---------------------------------------------------------------------- -| environment variables -+---------------------------------------------------------------------*/ -class NPT_Environment { -public: - static NPT_Result Get(const char* name, NPT_String& value); - static NPT_Result Set(const char* name, const char* value); -}; -// compat for older APIs -#define NPT_GetEnvironment(_x,_y) NPT_Environment::Get(_x,_y) - -/*---------------------------------------------------------------------- -| string utils -+---------------------------------------------------------------------*/ -#if defined (NPT_CONFIG_HAVE_STDIO_H) -#include <stdio.h> -#endif - -#if defined (NPT_CONFIG_HAVE_STRING_H) -#include <string.h> -#endif - -#if defined (NPT_CONFIG_HAVE_SNPRINTF) -#define NPT_FormatString NPT_snprintf -#else -int NPT_FormatString(char* str, NPT_Size size, const char* format, ...); -#endif - -#if defined(NPT_CONFIG_HAVE_VSNPRINTF) -#define NPT_FormatStringVN(s,c,f,a) NPT_vsnprintf(s,c,f,a) -#else -extern int NPT_FormatStringVN(char *buffer, size_t count, const char *format, va_list argptr); -#endif - -#if defined(NPT_CONFIG_HAVE_MEMCPY) -#define NPT_CopyMemory memcpy -#else -extern void NPT_CopyMemory(void* dest, void* src, NPT_Size size); -#endif - -#if defined(NPT_CONFIG_HAVE_STRCMP) -#define NPT_StringsEqual(s1, s2) (strcmp((s1), (s2)) == 0) -#else -extern int NPT_StringsEqual(const char* s1, const char* s2); -#endif - -#if defined(NPT_CONFIG_HAVE_STRNCMP) -#define NPT_StringsEqualN(s1, s2, n) (strncmp((s1), (s2), (n)) == 0) -#else -extern int NPT_StringsEqualN(const char* s1, const char* s2, unsigned long size); -#endif - -#if defined(NPT_CONFIG_HAVE_STRLEN) -#define NPT_StringLength(s) (NPT_Size)(strlen(s)) -#else -extern unsigned long NPT_StringLength(const char* s); -#endif - -#if defined(NPT_CONFIG_HAVE_STRCPY) -#define NPT_CopyString(dst, src) ((void)NPT_strcpy((dst), (src))) -#else -extern void NPT_CopyString(char* dst, const char* src); -#endif - -/** - * Copy up to n characters from src to dst. - * The destination buffer will be null-terminated, so it must - * have enough space for n+1 characters (n from the source plus - * the null terminator). - */ -#if defined(NPT_CONFIG_HAVE_STRNCPY) -#define NPT_CopyStringN(dst, src, n) \ -do { ((void)NPT_strncpy((dst), (src), n)); (dst)[(n)] = '\0'; } while(0) -#else -extern int NPT_CopyStringN(char* dst, const char* src, unsigned long n); -#endif - -#if defined(NPT_CONFIG_HAVE_MEMSET) -#define NPT_SetMemory memset -#else -extern void NPT_SetMemory(void* dest, int c, NPT_Size size); -#endif - -#if defined(NPT_CONFIG_HAVE_MEMCMP) -#define NPT_MemoryEqual(s1, s2, n) (memcmp((s1), (s2), (n)) == 0) -#else -extern int NPT_MemoryEqual(const void* s1, const void* s2, unsigned long n); -#endif - -#endif // _NPT_UTILS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptVersion.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptVersion.h deleted file mode 100644 index ad34d90546..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptVersion.h +++ /dev/null @@ -1,41 +0,0 @@ -/***************************************************************** -| -| Neptune - Version Info -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_VERSION_H_ -#define _NPT_VERSION_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#define NPT_NEPTUNE_VERSION 0x01010300 -#define NPT_NEPTUNE_VERSION_STRING "1.1.3" - -#endif // _NPT_VERSION_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptXml.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptXml.h deleted file mode 100644 index b5d18ea381..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptXml.h +++ /dev/null @@ -1,390 +0,0 @@ -/***************************************************************** -| -| Neptune - Xml Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_XML_H_ -#define _NPT_XML_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptList.h" -#include "NptStrings.h" -#include "NptStreams.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_XML_INVALID_NESTING = NPT_ERROR_BASE_XML - 0; -const int NPT_ERROR_XML_TAG_MISMATCH = NPT_ERROR_BASE_XML - 1; -const int NPT_ERROR_XML_NO_ROOT = NPT_ERROR_BASE_XML - 2; -const int NPT_ERROR_XML_MULTIPLE_ROOTS = NPT_ERROR_BASE_XML - 3; - -#define NPT_XML_ANY_NAMESPACE "*" -#define NPT_XML_NO_NAMESPACE NULL - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class NPT_XmlProcessor; - -/*---------------------------------------------------------------------- -| NPT_XmlAttribute -+---------------------------------------------------------------------*/ -class NPT_XmlAttribute -{ - public: - // methods - NPT_XmlAttribute(const char* name, const char* value); - NPT_XmlAttribute(const char* prefix, const char* name, const char* value) : - m_Prefix(prefix), m_Name(name), m_Value(value) {} - const NPT_String& GetPrefix() const { return m_Prefix; } - const NPT_String& GetName() const { return m_Name; } - const NPT_String& GetValue() const { return m_Value; } - void SetValue(const char* value) { m_Value = value; } - - private: - // members - NPT_String m_Prefix; - NPT_String m_Name; - NPT_String m_Value; - - NPT_XmlAttribute(const NPT_XmlAttribute& attribute) : - m_Prefix(attribute.m_Prefix), - m_Name(attribute.m_Name), - m_Value(attribute.m_Value) {} - NPT_XmlAttribute& operator=(const NPT_XmlAttribute& a); - - // friends - friend class NPT_XmlAttributeFinder; - friend class NPT_XmlAttributeFinderWithPrefix; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlNamespaceMap -+---------------------------------------------------------------------*/ -class NPT_XmlNamespaceMap -{ -public: - // destructor - ~NPT_XmlNamespaceMap(); - - // methods - NPT_Result SetNamespaceUri(const char* prefix, const char* uri); - const NPT_String* GetNamespaceUri(const char* prefix); - const NPT_String* GetNamespacePrefix(const char* uri); - -private: - // types - class Entry { - public: - // constructor - Entry(const char* prefix, const char* uri) : - m_Prefix(prefix), m_Uri(uri) {} - - // members - NPT_String m_Prefix; - NPT_String m_Uri; - }; - - // members - NPT_List<Entry*> m_Entries; - - // friends - friend class NPT_XmlWriter; - friend class NPT_XmlNodeWriter; - friend class NPT_XmlNodeCanonicalWriter; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlNode -+---------------------------------------------------------------------*/ -class NPT_XmlElementNode; -class NPT_XmlTextNode; -class NPT_XmlNode -{ - public: - // types - typedef enum { - DOCUMENT, - ELEMENT, - TEXT - } Type; - - // methods - NPT_XmlNode(Type type) : m_Type(type), m_Parent(NULL) {} - virtual ~NPT_XmlNode() {} - Type GetType() const { return m_Type; } - NPT_XmlNode* GetParent() const { return m_Parent; } - - // type casting - virtual NPT_XmlElementNode* AsElementNode() { return NULL; } - virtual const NPT_XmlElementNode* AsElementNode() const { return NULL; } - virtual NPT_XmlTextNode* AsTextNode() { return NULL; } - virtual const NPT_XmlTextNode* AsTextNode() const { return NULL; } - - protected: - // methods - virtual void SetParent(NPT_XmlNode* parent) { m_Parent = parent; } - - // members - Type m_Type; - NPT_XmlNode* m_Parent; - - // friends - friend class NPT_XmlNodeFinder; - friend class NPT_XmlSerializer; - friend class NPT_XmlWriter; - friend class NPT_XmlElementNode; // to allow access to SetParent() -}; - -/*---------------------------------------------------------------------- -| NPT_XmlElementNode -+---------------------------------------------------------------------*/ -class NPT_XmlElementNode : public NPT_XmlNode -{ - public: - // methods - NPT_XmlElementNode(const char* tag); - NPT_XmlElementNode(const char* prefix, const char* tag); - virtual ~NPT_XmlElementNode(); - NPT_List<NPT_XmlNode*>& GetChildren() { return m_Children; } - const NPT_List<NPT_XmlNode*>& - GetChildren() const { return m_Children; } - NPT_XmlElementNode* GetChild(const char* tag, - const char* namespc = NPT_XML_NO_NAMESPACE, - NPT_Ordinal n=0) const; - NPT_Result AddChild(NPT_XmlNode* child); - NPT_Result SetAttribute(const char* prefix, - const char* name, - const char* value); - NPT_Result SetAttribute(const char* name, - const char* value); - NPT_Result AddText(const char* text); - NPT_List<NPT_XmlAttribute*>& - GetAttributes() { return m_Attributes; } - const NPT_List<NPT_XmlAttribute*>& - GetAttributes() const { return m_Attributes; } - const NPT_String* GetAttribute(const char* name, - const char* namespc = NPT_XML_NO_NAMESPACE) const; - const NPT_String& GetPrefix() const { return m_Prefix; } - const NPT_String& GetTag() const { return m_Tag; } - const NPT_String* GetText(NPT_Ordinal n=0) const; - - // bring all the namespace definitions used in this element of one of its descendants - // into the namespace map of this element so that it may be serialized as a - // standalone element without any prefixes with undefined namespace uris - NPT_Result MakeStandalone(); - - // namespace methods - const NPT_String* GetNamespace() const; - NPT_Result SetNamespaceUri(const char* prefix, const char* uri); - const NPT_String* GetNamespaceUri(const char* prefix) const; - const NPT_String* GetNamespacePrefix(const char* uri) const; - - // type casting - NPT_XmlElementNode* AsElementNode() { return this; } - const NPT_XmlElementNode* AsElementNode() const { return this; } - -protected: - // methods - void SetParent(NPT_XmlNode* parent); - void SetNamespaceParent(NPT_XmlElementNode* parent); - void RelinkNamespaceMaps(); - - NPT_Result AddAttribute(const char* name, const char* value); - - // members - NPT_String m_Prefix; - NPT_String m_Tag; - NPT_List<NPT_XmlNode*> m_Children; - NPT_List<NPT_XmlAttribute*> m_Attributes; - NPT_XmlNamespaceMap* m_NamespaceMap; - NPT_XmlElementNode* m_NamespaceParent; - - // friends - friend class NPT_XmlTagFinder; - friend class NPT_XmlSerializer; - friend class NPT_XmlWriter; - friend class NPT_XmlNodeWriter; - friend class NPT_XmlNodeCanonicalWriter; - friend class NPT_XmlParser; - friend class NPT_XmlProcessor; - friend class NPT_XmlNamespaceCollapser; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlTextNode -+---------------------------------------------------------------------*/ -class NPT_XmlTextNode : public NPT_XmlNode -{ - public: - // types - typedef enum { - CHARACTER_DATA, - IGNORABLE_WHITESPACE, - CDATA_SECTION, - ENTITY_REFERENCE, - COMMENT - } TokenType; - - // constructor - NPT_XmlTextNode(TokenType token_type, const char* text); - - // methods - const NPT_String& GetString() const { return m_Text; } - - // type casting - NPT_XmlTextNode* AsTextNode() { return this; } - const NPT_XmlTextNode* AsTextNode() const { return this; } - - private: - // members -// TokenType m_TokenType; - NPT_String m_Text; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlParser -+---------------------------------------------------------------------*/ -class NPT_XmlParser -{ - public: - // methods - NPT_XmlParser(bool keep_whitespace = true); - virtual ~NPT_XmlParser(); - virtual NPT_Result Parse(const char* xml, - NPT_XmlNode*& tree, - bool incremental=false); - virtual NPT_Result Parse(const char* xml, - NPT_Size size, - NPT_XmlNode*& tree, - bool incremental=false); - virtual NPT_Result Parse(NPT_InputStream& stream, - NPT_XmlNode*& tree, - bool incremental=false); - virtual NPT_Result Parse(NPT_InputStream& stream, - NPT_Size& size, - NPT_XmlNode*& tree, - bool incremental=false); - - protected: - // NPT_XmlHandler methods - NPT_Result OnStartElement(const char* name); - NPT_Result OnElementAttribute(const char* name, const char* value); - NPT_Result OnEndElement(const char* name); - NPT_Result OnCharacterData(const char* data, NPT_Size size); - void RemoveIgnorableWhitespace(); - - // members - NPT_XmlProcessor* m_Processor; - NPT_XmlElementNode* m_Root; - NPT_XmlElementNode* m_CurrentElement; - bool m_KeepWhitespace; - -private: - void Reset(); - - // friends - friend class NPT_XmlProcessor; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlSerializer -+---------------------------------------------------------------------*/ -class NPT_XmlSerializer -{ -public: - // methods - NPT_XmlSerializer(NPT_OutputStream* output, - NPT_Cardinal indentation = 0, - bool shrink_empty_elements = true, - bool add_xml_decl = false); - virtual ~NPT_XmlSerializer(); - virtual NPT_Result StartDocument(); - virtual NPT_Result EndDocument(); - virtual NPT_Result StartElement(const char* prefix, const char* name); - virtual NPT_Result EndElement(const char* prefix, const char* name); - virtual NPT_Result Attribute(const char* prefix, const char* name, const char* value); - virtual NPT_Result Text(const char* text); - virtual NPT_Result CdataSection(const char* data); - virtual NPT_Result Comment(const char* comment); - -protected: - // methods - void EscapeChar(unsigned char c, char* text); - NPT_Result ProcessPending(); - NPT_Result OutputEscapedString(const char* text, bool attribute); - void OutputIndentation(bool start); - - // members - NPT_OutputStream* m_Output; - bool m_ElementPending; - NPT_Cardinal m_Depth; - NPT_Cardinal m_Indentation; - NPT_String m_IndentationPrefix; - bool m_ElementHasText; - bool m_ShrinkEmptyElements; - bool m_AddXmlDecl; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlWriter -+---------------------------------------------------------------------*/ -class NPT_XmlWriter -{ -public: - // constructor - explicit NPT_XmlWriter(NPT_Cardinal indentation = 0) : m_Indentation(indentation) {} - - // methods - NPT_Result Serialize(NPT_XmlNode& node, - NPT_OutputStream& stream, - bool add_xml_decl = false); - -private: - // members - NPT_Cardinal m_Indentation; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlCanonicalizer -+---------------------------------------------------------------------*/ -class NPT_XmlCanonicalizer -{ -public: - // methods - NPT_Result Serialize(NPT_XmlNode& node, - NPT_OutputStream& stream, - bool add_xml_decl = false); -}; - -#endif // _NPT_XML_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptZip.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptZip.h deleted file mode 100644 index 3720451e70..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/NptZip.h +++ /dev/null @@ -1,220 +0,0 @@ -/***************************************************************** -| -| Neptune - Zip Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_ZIP_H_ -#define _NPT_ZIP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptStreams.h" -#include "NptArray.h" -#include "NptFile.h" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_ZipInflateState; -class NPT_ZipDeflateState; - -/*---------------------------------------------------------------------- -| NPT_ZipFile -+---------------------------------------------------------------------*/ -const unsigned int NPT_ZIP_FILE_FLAG_ENCRYPTED = 0x01; -const unsigned int NPT_ZIP_FILE_COMPRESSION_METHOD_NONE = 0x00; -const unsigned int NPT_ZIP_FILE_COMPRESSION_METHOD_DEFLATE = 0x08; - -class NPT_ZipFile -{ -public: - // types - class Entry { - public: - Entry(const unsigned char* data); - NPT_String m_Name; - NPT_UInt16 m_Flags; - NPT_UInt16 m_CompressionMethod; - NPT_UInt32 m_Crc32; - NPT_LargeSize m_CompressedSize; - NPT_LargeSize m_UncompressedSize; - NPT_UInt16 m_DiskNumber; - NPT_UInt16 m_InternalFileAttributes; - NPT_UInt32 m_ExternalFileAttributes; - NPT_Position m_RelativeOffset; - NPT_UInt32 m_DirectoryEntrySize; - }; - - // class methods - static NPT_Result Parse(NPT_InputStream& stream, NPT_ZipFile*& file); - static NPT_Result GetInputStream(Entry& entry, NPT_InputStreamReference& zip_stream, NPT_InputStream*& file_stream); - - // accessors - NPT_Array<Entry>& GetEntries() { return m_Entries; } - -private: - // constructor - NPT_ZipFile(); - - // members - NPT_Array<Entry> m_Entries; -}; - -/*---------------------------------------------------------------------- -| NPT_Zip -+---------------------------------------------------------------------*/ -const int NPT_ZIP_COMPRESSION_LEVEL_DEFAULT = -1; -const int NPT_ZIP_COMPRESSION_LEVEL_MIN = 0; -const int NPT_ZIP_COMPRESSION_LEVEL_MAX = 9; -const int NPT_ZIP_COMPRESSION_LEVEL_NONE = 0; -class NPT_Zip -{ -public: - // class methods - static NPT_Result MapError(int err); - - /** - * Compressed data format - */ - typedef enum { - ZLIB, - GZIP - } Format; - - /** - * Deflate (i.e compress) a buffer - */ - static NPT_Result Deflate(const NPT_DataBuffer& in, - NPT_DataBuffer& out, - int compression_level = NPT_ZIP_COMPRESSION_LEVEL_DEFAULT, - Format format = ZLIB); - - /** - * Inflate (i.e decompress) a buffer - */ - static NPT_Result Inflate(const NPT_DataBuffer& in, - NPT_DataBuffer& out, - bool raw = false); - - /** - * Deflate (i.e compress) a file - */ - static NPT_Result Deflate(NPT_File& in, - NPT_File& out, - int compression_level = NPT_ZIP_COMPRESSION_LEVEL_DEFAULT, - Format format = GZIP); - -}; - -/*---------------------------------------------------------------------- -| NPT_ZipInflatingInputStream -+---------------------------------------------------------------------*/ -class NPT_ZipInflatingInputStream : public NPT_InputStream -{ -public: - NPT_ZipInflatingInputStream(NPT_InputStreamReference& source, bool raw = false); - ~NPT_ZipInflatingInputStream(); - - // NPT_InputStream methods - virtual NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - virtual NPT_Result Seek(NPT_Position offset); - virtual NPT_Result Tell(NPT_Position& offset); - virtual NPT_Result GetSize(NPT_LargeSize& size); - virtual NPT_Result GetAvailable(NPT_LargeSize& available); - -private: - NPT_InputStreamReference m_Source; - NPT_Position m_Position; - NPT_ZipInflateState* m_State; - NPT_DataBuffer m_Buffer; -}; - -/*---------------------------------------------------------------------- -| NPT_ZipInflatingOutputStream -+---------------------------------------------------------------------*/ - -/*---------------------------------------------------------------------- -| NPT_ZipDeflatingInputStream -+---------------------------------------------------------------------*/ -class NPT_ZipDeflatingInputStream : public NPT_InputStream -{ -public: - NPT_ZipDeflatingInputStream(NPT_InputStreamReference& source, - int compression_level = NPT_ZIP_COMPRESSION_LEVEL_DEFAULT, - NPT_Zip::Format format = NPT_Zip::ZLIB); - ~NPT_ZipDeflatingInputStream(); - - // NPT_InputStream methods - virtual NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - virtual NPT_Result Seek(NPT_Position offset); - virtual NPT_Result Tell(NPT_Position& offset); - virtual NPT_Result GetSize(NPT_LargeSize& size); - virtual NPT_Result GetAvailable(NPT_LargeSize& available); - -private: - NPT_InputStreamReference m_Source; - NPT_Position m_Position; - bool m_Eos; - NPT_ZipDeflateState* m_State; - NPT_DataBuffer m_Buffer; -}; - -/*---------------------------------------------------------------------- -| NPT_ZipDeflatingOutputStream -+---------------------------------------------------------------------*/ -/*class NPT_ZipDeflatingOutputStream : public NPT_OutputStream -{ -public: - NPT_ZipDeflatingOutputStream(NPT_OutputStreamReference& source, - int compression_level = NPT_ZIP_COMPRESSION_LEVEL_DEFAULT, - NPT_Zip::Format format = NPT_Zip::ZLIB); - NPT_ZipDeflatingOutputStream(); - - // NPT_OutputStream methods - virtual NPT_Result Write(void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL); - virtual NPT_Result Seek(NPT_Position offset); - virtual NPT_Result Tell(NPT_Position& offset); - -private: - NPT_OutputStreamReference m_Output; - NPT_Position m_Position; - bool m_Eos; - NPT_ZipDeflateState* m_State; - NPT_DataBuffer m_Buffer; -}; */ - -#endif // _NPT_ZIP_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/Platinum.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/Platinum.h deleted file mode 100644 index a7f47a6241..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/Platinum.h +++ /dev/null @@ -1,118 +0,0 @@ -/***************************************************************** -| -| Platinum - Top Level Include -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| - ****************************************************************/ -/** @file - Master Header file included by Platinum client applications. - - Client Applications should only need to include this file, as it - includes all the more specific include files required to use the API - */ - -/** -@mainpage Platinum UPnP SDK - -@section intro Introduction - -The Platinum SDK contains all the software components necessary to -build and use the Platinum UPnP Framework. This includes -the Platinum framework and the Neptune C++ runtime -library. - -@section architecture Architecture - -The Platinum framework consists of a core framework that implements the UPnP -core specifications including GENA, SOAP and SSDP. Building on top of that, the -Platinum framework provides the foundation for UPnP AV Media Server and -Media Renderer compliant implementations. - -The Platinum framework leverages the Neptune C++ runtime library which offers an -elegant platform abstraction layer for multithreading, file system and -network operations. Additionally, it provides support for XML parsing, string and time -manipulation, template based linked-lists, stacks and arrays, and a configurable -cross-platform logging system. - -*/ - -#ifndef _PLATINUM_H_ -#define _PLATINUM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltUPnP.h" -#include "PltCtrlPoint.h" -#include "PltDeviceData.h" -#include "PltHttpServer.h" -#include "PltVersion.h" - -#include "PltMimeType.h" -#include "PltProtocolInfo.h" -#include "PltAction.h" -#include "PltArgument.h" -#include "PltConstants.h" -#include "PltCtrlPointTask.h" -#include "PltDatagramStream.h" -#include "PltDeviceHost.h" -#include "PltEvent.h" -#include "PltHttp.h" -#include "PltHttpClientTask.h" -#include "PltHttpServer.h" -#include "PltHttpServerTask.h" -#include "PltService.h" -#include "PltSsdp.h" -#include "PltStateVariable.h" -#include "PltTaskManager.h" -#include "PltThreadTask.h" -#include "PltUtilities.h" - -#include "PltMediaServer.h" -#include "PltMediaBrowser.h" -#include "PltMediaRenderer.h" -#include "PltMediaController.h" -#include "PltDidl.h" -#include "PltFileMediaServer.h" -#include "PltMediaCache.h" -#include "PltMediaItem.h" -#include "PltSyncMediaBrowser.h" - -#include "PltXbox360.h" -#include "PltMediaConnect.h" - -#include "PltDownloader.h" -#include "PltStreamPump.h" -#include "PltFrameBuffer.h" -#include "PltFrameServer.h" -#include "PltFrameStream.h" -#include "PltRingBufferStream.h" - -#endif /* _PLATINUM_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltAction.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltAction.h deleted file mode 100644 index f457f3d7c1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltAction.h +++ /dev/null @@ -1,321 +0,0 @@ -/***************************************************************** -| -| Platinum - Service Action -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Service Action - */ - -#ifndef _PLT_ACTION_H_ -#define _PLT_ACTION_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltArgument.h" -#include "PltDeviceData.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Service; - -/*---------------------------------------------------------------------- -| PLT_ActionDesc -+---------------------------------------------------------------------*/ -/** - The PLT_ActionDesc class provides information about a UPnP Service given action. - This description has a name, a set of arguments and is associated to a service. - */ -class PLT_ActionDesc -{ -public: - /** - Constructor - @param name the action name - @param service the UPnP service the action is associated with - */ - PLT_ActionDesc(const char* name, PLT_Service* service); - ~PLT_ActionDesc(); - - /** - Return an array of arguments - @return array of arguments - */ - NPT_Array<PLT_ArgumentDesc*>& GetArgumentDescs() { - return m_ArgumentDescs; - } - - /** - Return the action name. - @return action name. - */ - const NPT_String& GetName() const { return m_Name;} - - /** - Look for an argument given a name. - @param name argument name - @return PLT_ArgumentDesc pointer - */ - PLT_ArgumentDesc* GetArgumentDesc(const char* name); - - /** - Serialize action information to xml into an existing xml tree - @param node the xml Element to serialize action information - */ - NPT_Result GetSCPDXML(NPT_XmlElementNode* node); - - /** - Return the service the action is associated with - */ - PLT_Service* GetService(); - -protected: - //members - NPT_String m_Name; - PLT_Service* m_Service; - NPT_Array<PLT_ArgumentDesc*> m_ArgumentDescs; -}; - -/*---------------------------------------------------------------------- -| PLT_Action -+---------------------------------------------------------------------*/ -/** - The PLT_Action class provides a mechanism to call or verify the validity of a - specific UPNP service action. - Given a service, a UPnP Control Point would use this class to serialize a soap - request. On the other side, a UPnP Device would use this class to verify - a soap request and the validity of the action arguments. - */ -class PLT_Action -{ -public: - /** - Constructor - @param action_desc the action description - If you intend to send an action, you need to use the second constructor - and pass the root device of the device you wish to control. - */ - PLT_Action(PLT_ActionDesc& action_desc); - - /** - Constructor - @param action_desc the action description - @param root_device a reference to the root device of the service the action - is associated with. This insures that the device won't be deleted if it goes - away while we're waiting for a response for this action. This is important because - we only keep a reference to the PLT_ActionDesc which is own by the service operated - by the device (or embedded device). - */ - PLT_Action(PLT_ActionDesc& action_desc, PLT_DeviceDataReference& root_device); - ~PLT_Action(); - - /** - Return the action description - @return the action description - */ - PLT_ActionDesc& GetActionDesc() { return m_ActionDesc; } - - /** - Retrieve the string value of an argument given an argument name. - @param name the argument name - @param value the string value to retrieve - @return error if the argument is not found or if the type does not correspond. - */ - NPT_Result GetArgumentValue(const char* name, NPT_String& value); - - /** - Retrieve the value of an argument given an argument name. - @param name the argument name - @param value the unsigned int value to retrieve - @return error if the argument is not found or if the type does not correspond. - */ - NPT_Result GetArgumentValue(const char* name, NPT_UInt32& value); - - /** - Retrieve the value of an argument given an argument name. - @param name the argument name - @param value the int value to retrieve - @return error if the argument is not found or if the type does not correspond. - */ - NPT_Result GetArgumentValue(const char* name, NPT_Int32& value); - - /** - Retrieve the value of an argument given an argument name. - @param name the argument name - @param value the bool value to retrieve - @return error if the argument is not found or if the type does not correspond. - */ - NPT_Result GetArgumentValue(const char* name, bool& value); - - /** - Verify a value is valid for a given argument. - @param name the argument name - @param value the value to verify - */ - NPT_Result VerifyArgumentValue(const char* name, const char* value); - - /** - Verify that all required arguments are set. - @param input boolean indicating whether input or output parameters - should be verified - */ - NPT_Result VerifyArguments(bool input); - - /** - Set the output argument value from the associated current state variable value. - @param name the state variable name - */ - NPT_Result SetArgumentOutFromStateVariable(const char* name); - - /** - Set all the output argument values associated with state variables. - */ - NPT_Result SetArgumentsOutFromStateVariable(); - - /** - Set an argument value - @param name the argument name - @param value the argument value - */ - NPT_Result SetArgumentValue(const char* name, const char* value); - - /** - Set the error code and description in case of failure. - @param code the code for the error - @param description a short description - */ - NPT_Result SetError(unsigned int code, const char* description); - - /** - Return the error description and code for the failed action. - @param code optional pointer to receive the code - @return the error short description - */ - const char* GetError(unsigned int* code = NULL); - - /** - Return the error code for the failed action. - @return the error code. - */ - unsigned int GetErrorCode(); - - /** - Called by a control point when serializing an action. - @param stream the stream to serialize the action to - */ - NPT_Result FormatSoapRequest(NPT_OutputStream& stream); - - /** - Called by a device when serializing a response to an action. - @param stream the stream to serialize the action to - */ - NPT_Result FormatSoapResponse(NPT_OutputStream& stream); - - /** - Helper method for a device to serialize an action invocation error. - @param code optional pointer to receive the code - @param desc the error short description - @param stream the stream to serialize to - */ - static NPT_Result FormatSoapError(unsigned int code, - NPT_String desc, - NPT_OutputStream& stream); - -private: - // methods - NPT_Result SetArgumentOutFromStateVariable(PLT_ArgumentDesc* arg_desc); - PLT_Argument* GetArgument(const char* name); - -protected: - // members - PLT_ActionDesc& m_ActionDesc; - PLT_Arguments m_Arguments; - unsigned int m_ErrorCode; - NPT_String m_ErrorDescription; - - // keep reference of service root device to prevent it - // from being released during action lifetime - PLT_DeviceDataReference m_RootDevice; -}; - -typedef NPT_Reference<PLT_Action> PLT_ActionReference; - -/*---------------------------------------------------------------------- -| PLT_GetSCPDXMLIterator -+---------------------------------------------------------------------*/ -/** - The PLT_GetSCPDXMLIterator class provides a recursive way to serialize - an SCPD into an xml tree. - */ -template <class T> -class PLT_GetSCPDXMLIterator -{ -public: - PLT_GetSCPDXMLIterator<T>(NPT_XmlElementNode* node) : - m_Node(node) {} - - NPT_Result operator()(T* const & data) const { - return data->GetSCPDXML(m_Node); - } - -private: - NPT_XmlElementNode* m_Node; -}; - -/*---------------------------------------------------------------------- -| PLT_ActionDescNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ActionDescNameFinder class provides a mechanism to find a PLT_ActionDesc - given an action name. - */ -class PLT_ActionDescNameFinder -{ -public: - // methods - PLT_ActionDescNameFinder(const char* name) : - m_Name(name) {} - virtual ~PLT_ActionDescNameFinder() {} - - bool operator()(const PLT_ActionDesc* const & action_desc) const { - return action_desc->GetName().Compare(m_Name, true) ? false : true; - } - -private: - // members - NPT_String m_Name; -}; - -#endif /* _PLT_ACTION_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltArgument.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltArgument.h deleted file mode 100644 index 4730e28ca3..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltArgument.h +++ /dev/null @@ -1,168 +0,0 @@ -/***************************************************************** -| -| Platinum - Action Argument -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Service Action Argument - */ - -#ifndef _PLT_ARGUMENT_H_ -#define _PLT_ARGUMENT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_StateVariable; -class PLT_Argument; -class PLT_ActionDesc; -typedef NPT_Array<PLT_Argument*> PLT_Arguments; - -/*---------------------------------------------------------------------- -| PLT_ArgumentDesc -+---------------------------------------------------------------------*/ -/** - The PLT_ArgumentDesc class provides information about a given argument of a - UPnP Service given action. - It has a name, a position, a direction (in/out), a PLT_StateVariable state - variable association and whether it is the return value of the action or not. - */ -class PLT_ArgumentDesc -{ -public: - PLT_ArgumentDesc(const char* name, - NPT_Ordinal position, - const char* direction = "in", - PLT_StateVariable* variable = NULL, - bool has_ret = false); - - // accessor methods - NPT_Result GetSCPDXML(NPT_XmlElementNode* node); - const NPT_String& GetName() const { return m_Name; } - const NPT_String& GetDirection() const { return m_Direction; } - NPT_Ordinal GetPosition() { return m_Position; } - PLT_StateVariable* GetRelatedStateVariable() { return m_RelatedStateVariable; } - bool HasReturnValue() { return m_HasReturnValue; } - -protected: - NPT_String m_Name; - NPT_Ordinal m_Position; - NPT_String m_Direction; - PLT_StateVariable* m_RelatedStateVariable; - bool m_HasReturnValue; -}; - -/*---------------------------------------------------------------------- -| PLT_Argument -+---------------------------------------------------------------------*/ -/** - The PLT_Argument class provides a mechanism to set or verify the validity of a - specific UPNP service action argument. - Typically, only a PLT_Action uses this class. Since an argument can be - associated to a state variable, the argument is automatically updated when - the associated state variable is changed - */ -class PLT_Argument -{ -public: - PLT_Argument(PLT_ArgumentDesc& arg_desc); - - // class methods - static NPT_Result CreateArgument(PLT_ActionDesc& action_desc, - const char* arg_name, - const char* arg_value, - PLT_Argument*& arg); - - // accessor methods - PLT_ArgumentDesc& GetDesc() { return m_ArgDesc; } - NPT_Ordinal GetPosition() { return m_ArgDesc.GetPosition(); } - NPT_Result SetValue(const char* value); - const NPT_String& GetValue(); - -private: - NPT_Result ValidateValue(const char* value); - -protected: - PLT_ArgumentDesc& m_ArgDesc; - NPT_String m_Value; -}; - -/*---------------------------------------------------------------------- -| PLT_ArgumentNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ArgumentNameFinder class provides a mechanism to find a PLT_Argument given - an argument name. - */ -class PLT_ArgumentNameFinder -{ -public: - // methods - PLT_ArgumentNameFinder(const char* name) : m_Name(name) {} - - bool operator()(PLT_Argument* const & argument) const { - return argument->GetDesc().GetName().Compare(m_Name, true) ? false : true; - } - -private: - // members - NPT_String m_Name; -}; - -/*---------------------------------------------------------------------- -| PLT_ArgumentDescNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ArgumentDescNameFinder class provides a mechanism to find a PLT_ArgumentDesc given - an argument name. - */ -class PLT_ArgumentDescNameFinder -{ -public: - // methods - PLT_ArgumentDescNameFinder(const char* name) : m_Name(name) {} - - bool operator()(PLT_ArgumentDesc* const & arg_desc) const { - return arg_desc->GetName().Compare(m_Name, true) ? false : true; - } - -private: - // members - NPT_String m_Name; -}; - -#endif /* _PLT_ARGUMENT_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltConstants.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltConstants.h deleted file mode 100644 index d674ea80c6..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltConstants.h +++ /dev/null @@ -1,87 +0,0 @@ -/***************************************************************** -| -| Platinum - UPnP Constants -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Constants - */ - -#ifndef _PLT_UPNP_CONSTANTS_H_ -#define _PLT_UPNP_CONSTANTS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_Constants -+---------------------------------------------------------------------*/ -/** - The PLT_Constants class provides a way to globally set or get certain - UPnP constants. - */ -class PLT_Constants -{ -public: - // class methods - static PLT_Constants& GetInstance(); - - PLT_Constants(); - ~PLT_Constants() {}; - - void SetDefaultDeviceLease(NPT_TimeInterval lease) { m_DefaultDeviceLease = new NPT_TimeInterval(lease); } - NPT_Reference<NPT_TimeInterval> GetDefaultDeviceLease() { return m_DefaultDeviceLease; } - - void SetDefaultSubscribeLease(NPT_TimeInterval lease) { m_DefaultSubscribeLease = new NPT_TimeInterval(lease); } - NPT_Reference<NPT_TimeInterval> GetDefaultSubscribeLease() { return m_DefaultSubscribeLease; } - - void SetDefaultUserAgent(const char* agent) { m_DefaultUserAgent = new NPT_String(agent); } - NPT_Reference<NPT_String> GetDefaultUserAgent() { return m_DefaultUserAgent; } - - void SetSearchMulticastTimeToLive(NPT_UInt32 ttl) { m_SearchMulticastTimeToLive = ttl; } - NPT_UInt32 GetSearchMulticastTimeToLive() { return m_SearchMulticastTimeToLive; } - - void SetAnnounceMulticastTimeToLive(NPT_UInt32 ttl) { m_AnnounceMulticastTimeToLive = ttl; } - NPT_UInt32 GetAnnounceMulticastTimeToLive() { return m_AnnounceMulticastTimeToLive; } - -private: - // members - NPT_Reference<NPT_TimeInterval> m_DefaultDeviceLease; - NPT_Reference<NPT_TimeInterval> m_DefaultSubscribeLease; - NPT_Reference<NPT_String> m_DefaultUserAgent; - NPT_UInt32 m_SearchMulticastTimeToLive; - NPT_UInt32 m_AnnounceMulticastTimeToLive; -}; - -#endif /* _PLT_UPNP_CONSTANTS_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltCtrlPoint.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltCtrlPoint.h deleted file mode 100644 index 65baa7b10c..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltCtrlPoint.h +++ /dev/null @@ -1,254 +0,0 @@ -/***************************************************************** -| -| Platinum - Control Point -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP ControlPoint - */ - -#ifndef _PLT_CONTROL_POINT_H_ -#define _PLT_CONTROL_POINT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltService.h" -#include "PltSsdp.h" -#include "PltDeviceData.h" -#include "PltHttpServer.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_CtrlPointHouseKeepingTask; -class PLT_SsdpSearchTask; -class PLT_SsdpListenTask; -class PLT_CtrlPointGetSCPDsTask; -class PLT_CtrlPointGetSCPDRequest; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointListener class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointListener class is an interface used to receive notifications when - devices are found or removed from the network, actions responses and events - are being received. - */ -class PLT_CtrlPointListener -{ -public: - virtual ~PLT_CtrlPointListener() {} - - virtual NPT_Result OnDeviceAdded(PLT_DeviceDataReference& device) = 0; - virtual NPT_Result OnDeviceRemoved(PLT_DeviceDataReference& device) = 0; - virtual NPT_Result OnActionResponse(NPT_Result res, PLT_ActionReference& action, void* userdata) = 0; - virtual NPT_Result OnEventNotify(PLT_Service* service, NPT_List<PLT_StateVariable*>* vars) = 0; -}; - -typedef NPT_List<PLT_CtrlPointListener*> PLT_CtrlPointListenerList; - -/*---------------------------------------------------------------------- -| PLT_CtrlPoint class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPoint class implements the base functionality of a UPnP ControlPoint. - It searches and inpects devices, invoke actions on services and subscribes to - events. - */ -class PLT_CtrlPoint : public PLT_SsdpPacketListener, - public PLT_SsdpSearchResponseListener, - public NPT_HttpRequestHandler -{ -public: - PLT_CtrlPoint(const char* search_criteria = "upnp:rootdevice"); // pass NULL to prevent repeated automatic search - virtual ~PLT_CtrlPoint(); - - /** - Returns the port used by the internal HTTP server for all incoming event notifications. - @return port - */ - virtual NPT_Result GetPort(NPT_UInt16& port); - - // delegation - virtual NPT_Result AddListener(PLT_CtrlPointListener* listener); - virtual NPT_Result RemoveListener(PLT_CtrlPointListener* listener); - - // discovery - virtual void IgnoreUUID(const char* uuid); - virtual NPT_Result Search(const NPT_HttpUrl& url = NPT_HttpUrl("239.255.255.250", 1900, "*"), - const char* target = "upnp:rootdevice", - NPT_Cardinal mx = 5, - NPT_TimeInterval frequency = NPT_TimeInterval(50.), // pass NPT_TimeInterval(0.) for one time only - NPT_TimeInterval initial_delay = NPT_TimeInterval(0.)); - virtual NPT_Result Discover(const NPT_HttpUrl& url = NPT_HttpUrl("239.255.255.250", 1900, "*"), - const char* target = "ssdp:all", - NPT_Cardinal mx = 5, - NPT_TimeInterval frequency = NPT_TimeInterval(50.), // pass NPT_TimeInterval(0.) for one time only - NPT_TimeInterval initial_delay = NPT_TimeInterval(0.)); - virtual NPT_Result InspectDevice(const NPT_HttpUrl& location, - const char* uuid, - NPT_TimeInterval leasetime = *PLT_Constants::GetInstance().GetDefaultDeviceLease()); - - // actions - virtual NPT_Result FindActionDesc(PLT_DeviceDataReference& device, - const char* service_type, - const char* action_name, - PLT_ActionDesc*& action_desc); - virtual NPT_Result CreateAction(PLT_DeviceDataReference& device, - const char* service_type, - const char* action_name, - PLT_ActionReference& action); - virtual NPT_Result InvokeAction(PLT_ActionReference& action, - void* userdata = NULL); - - // events - virtual NPT_Result Subscribe(PLT_Service* service, - bool cancel = false, - void* userdata = NULL); - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // PLT_SsdpSearchResponseListener methods - virtual NPT_Result ProcessSsdpSearchResponse(NPT_Result res, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - // PLT_SsdpPacketListener method - virtual NPT_Result OnSsdpPacket(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context); - -protected: - - // State Variable Handling - virtual NPT_Result DecomposeLastChangeVar(NPT_List<PLT_StateVariable*>& vars); - - // methods - virtual NPT_Result Start(PLT_SsdpListenTask* task); - virtual NPT_Result Stop(PLT_SsdpListenTask* task); - - // SSDP & HTTP Notifications handling - virtual NPT_Result ProcessSsdpNotify(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context); - virtual NPT_Result ProcessSsdpMessage(const NPT_HttpMessage& message, - const NPT_HttpRequestContext& context, - NPT_String& uuid); - virtual NPT_Result ProcessGetDescriptionResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response, - NPT_TimeInterval leasetime, - NPT_String uuid); - virtual NPT_Result ProcessGetSCPDResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response, - PLT_DeviceDataReference& device); - virtual NPT_Result ProcessActionResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response, - PLT_ActionReference& action, - void* userdata); - virtual NPT_Result ProcessSubscribeResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response, - PLT_Service* service, - void* userdata); - virtual NPT_Result ProcessHttpNotify(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // Device management - virtual NPT_Result AddDevice(PLT_DeviceDataReference& data); - virtual NPT_Result RemoveDevice(PLT_DeviceDataReference& data); - -private: - // methods - PLT_ThreadTask* RenewSubscriber(PLT_EventSubscriberReference subscriber); - - NPT_Result AddPendingEventNotification(PLT_EventNotification *notification); - NPT_Result ProcessPendingEventNotifications(); - NPT_Result ProcessEventNotification(PLT_EventSubscriberReference subscriber, - PLT_EventNotification* notification, - NPT_List<PLT_StateVariable*> &vars); - - NPT_Result DoHouseKeeping(); - NPT_Result FetchDeviceSCPDs(PLT_CtrlPointGetSCPDsTask* task, - PLT_DeviceDataReference& device, - NPT_Cardinal level); - - // Device management - NPT_Result FindDevice(const char* uuid, PLT_DeviceDataReference& device, bool return_root = false); - NPT_Result NotifyDeviceReady(PLT_DeviceDataReference& data); - NPT_Result NotifyDeviceRemoved(PLT_DeviceDataReference& data); - NPT_Result CleanupDevice(PLT_DeviceDataReference& data); - - NPT_Result ParseFault(PLT_ActionReference& action, NPT_XmlElementNode* fault); - PLT_SsdpSearchTask* CreateSearchTask(const NPT_HttpUrl& url, - const char* target, - NPT_Cardinal mx, - NPT_TimeInterval frequency, - const NPT_IpAddress& address); - -private: - friend class NPT_Reference<PLT_CtrlPoint>; - friend class PLT_UPnP; - friend class PLT_UPnP_CtrlPointStartIterator; - friend class PLT_UPnP_CtrlPointStopIterator; - friend class PLT_EventSubscriberRemoverIterator; - friend class PLT_CtrlPointGetDescriptionTask; - friend class PLT_CtrlPointGetSCPDsTask; - friend class PLT_CtrlPointInvokeActionTask; - friend class PLT_CtrlPointHouseKeepingTask; - friend class PLT_CtrlPointSubscribeEventTask; - - NPT_List<NPT_String> m_UUIDsToIgnore; - PLT_CtrlPointListenerList m_ListenerList; - PLT_HttpServerReference m_EventHttpServer; - PLT_TaskManagerReference m_TaskManager; - NPT_Mutex m_Lock; - NPT_List<PLT_DeviceDataReference> m_RootDevices; - NPT_List<PLT_EventSubscriberReference> m_Subscribers; - NPT_String m_SearchCriteria; - bool m_Started; - NPT_List<PLT_EventNotification *> m_PendingNotifications; - NPT_List<NPT_String> m_PendingInspections; -}; - -typedef NPT_Reference<PLT_CtrlPoint> PLT_CtrlPointReference; - -#endif /* _PLT_CONTROL_POINT_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltCtrlPointTask.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltCtrlPointTask.h deleted file mode 100644 index 48e2044836..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltCtrlPointTask.h +++ /dev/null @@ -1,225 +0,0 @@ -/***************************************************************** -| -| Platinum - Control Point Tasks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP ControlPoint Tasks - */ - -#ifndef _PLT_CONTROL_POINT_TASK_H_ -#define _PLT_CONTROL_POINT_TASK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpClientTask.h" -#include "PltDatagramStream.h" -#include "PltDeviceData.h" -#include "PltCtrlPoint.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Action; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointGetDescriptionTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointGetDescriptionTask class fetches the description xml document - from a UPnP device - */ -class PLT_CtrlPointGetDescriptionTask : public PLT_HttpClientSocketTask -{ -public: - PLT_CtrlPointGetDescriptionTask(const NPT_HttpUrl& url, - PLT_CtrlPoint* ctrl_point, - NPT_TimeInterval leasetime, - NPT_String uuid); - virtual ~PLT_CtrlPointGetDescriptionTask(); - -protected: - // PLT_HttpClientSocketTask methods - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - NPT_TimeInterval m_LeaseTime; - NPT_String m_UUID; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointGetSCPDRequest class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointGetSCPDRequest class is used by a PLT_CtrlPointGetSCPDsTask task - to fetch a specific SCPD xml document for a given service of a given device. - */ -class PLT_CtrlPointGetSCPDRequest : public NPT_HttpRequest -{ -public: - PLT_CtrlPointGetSCPDRequest(PLT_DeviceDataReference& device, - const char* url, - const char* method = "GET", - const char* protocol = NPT_HTTP_PROTOCOL_1_1) : // 1.1 for pipelining - NPT_HttpRequest(url, method, protocol), m_Device(device) {} - virtual ~PLT_CtrlPointGetSCPDRequest() {} - - // members - PLT_DeviceDataReference m_Device; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointGetSCPDsTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointGetSCPDsTask class fetches the SCPD xml document of one or more - services for a given device. - */ -class PLT_CtrlPointGetSCPDsTask : public PLT_HttpClientSocketTask -{ -public: - PLT_CtrlPointGetSCPDsTask(PLT_CtrlPoint* ctrl_point, PLT_DeviceDataReference& root_device); - virtual ~PLT_CtrlPointGetSCPDsTask() {} - - NPT_Result AddSCPDRequest(PLT_CtrlPointGetSCPDRequest* request) { - return PLT_HttpClientSocketTask::AddRequest((NPT_HttpRequest*)request); - } - - // override to prevent calling this directly - NPT_Result AddRequest(NPT_HttpRequest*) { - // only queuing PLT_CtrlPointGetSCPDRequest allowed - return NPT_ERROR_NOT_SUPPORTED; - } - -protected: - // PLT_HttpClientSocketTask methods - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - PLT_DeviceDataReference m_RootDevice; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointInvokeActionTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointInvokeActionTask class is used by a PLT_CtrlPoint to invoke - a specific action of a given service for a given device. - */ -class PLT_CtrlPointInvokeActionTask : public PLT_HttpClientSocketTask -{ -public: - PLT_CtrlPointInvokeActionTask(NPT_HttpRequest* request, - PLT_CtrlPoint* ctrl_point, - PLT_ActionReference& action, - void* userdata); - virtual ~PLT_CtrlPointInvokeActionTask(); - -protected: - // PLT_HttpClientSocketTask methods - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - PLT_ActionReference m_Action; - void* m_Userdata; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointHouseKeepingTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointHouseKeepingTask class is used by a PLT_CtrlPoint to keep - track of expired devices and autmatically renew event subscribers. - */ -class PLT_CtrlPointHouseKeepingTask : public PLT_ThreadTask -{ -public: - PLT_CtrlPointHouseKeepingTask(PLT_CtrlPoint* ctrl_point, - NPT_TimeInterval timer = NPT_TimeInterval(5.)); - -protected: - ~PLT_CtrlPointHouseKeepingTask() {} - - // PLT_ThreadTask methods - virtual void DoRun(); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - NPT_TimeInterval m_Timer; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointSubscribeEventTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointSubscribeEventTask class is used to subscribe, renew or cancel - a subscription for a given service of a given device. - */ -class PLT_CtrlPointSubscribeEventTask : public PLT_HttpClientSocketTask -{ -public: - PLT_CtrlPointSubscribeEventTask(NPT_HttpRequest* request, - PLT_CtrlPoint* ctrl_point, - PLT_DeviceDataReference& device, - PLT_Service* service, - void* userdata = NULL); - virtual ~PLT_CtrlPointSubscribeEventTask(); - -protected: - // PLT_HttpClientSocketTask methods - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - PLT_Service* m_Service; - PLT_DeviceDataReference m_Device; // force to keep a reference to device owning m_Service - void* m_Userdata; -}; - -#endif /* _PLT_CONTROL_POINT_TASK_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDatagramStream.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDatagramStream.h deleted file mode 100644 index 0e132b97fe..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDatagramStream.h +++ /dev/null @@ -1,117 +0,0 @@ -/***************************************************************** -| -| Platinum - Datagram Stream -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - Datagram Input/Output Neptune streams - */ - -#ifndef _PLT_DATAGRAM_H_ -#define _PLT_DATAGRAM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_InputDatagramStream -+---------------------------------------------------------------------*/ -/** - The PLT_InputDatagramStream class is a simple buffered input stream - used when reading SSDP packets on a UDP socket. It allows to use Neptune - HTTP parsing as if reading on a TCP socket. - */ -class PLT_InputDatagramStream : public NPT_InputStream -{ -public: - // methods - PLT_InputDatagramStream(NPT_UdpSocket* socket, - NPT_Size buffer_size = 2000); - virtual ~PLT_InputDatagramStream(); - - NPT_Result GetInfo(NPT_SocketInfo& info); - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = 0); - - NPT_Result Seek(NPT_Position offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Skip(NPT_Size offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Tell(NPT_Position& offset){ NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result GetSize(NPT_LargeSize& size) { NPT_COMPILER_UNUSED(size); return NPT_FAILURE; } - NPT_Result GetAvailable(NPT_LargeSize& available) { NPT_COMPILER_UNUSED(available); return NPT_FAILURE; } - -protected: - NPT_UdpSocket* m_Socket; - NPT_SocketInfo m_Info; - NPT_DataBuffer m_Buffer; - NPT_Position m_BufferOffset; -}; - -typedef NPT_Reference<PLT_InputDatagramStream> PLT_InputDatagramStreamReference; - -/*---------------------------------------------------------------------- -| PLT_OutputDatagramStream -+---------------------------------------------------------------------*/ -/** - The PLT_OutputDatagramStream class is a simple buffered output stream - used when writing SSDP packets on a UDP socket. It allows to use Neptune - HTTP client as if writing on a TCP socket. - */ -class PLT_OutputDatagramStream : public NPT_OutputStream -{ -public: - // methods - PLT_OutputDatagramStream(NPT_UdpSocket* socket, - NPT_Size size = 4096, - const NPT_SocketAddress* address = NULL); - virtual ~PLT_OutputDatagramStream(); - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, NPT_Size bytes_to_write, NPT_Size* bytes_written = NULL); - NPT_Result Flush(); - - NPT_Result Seek(NPT_Position offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Tell(NPT_Position& offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - -protected: - NPT_UdpSocket* m_Socket; - NPT_DataBuffer m_Buffer; - NPT_SocketAddress* m_Address; -}; - -typedef NPT_Reference<PLT_OutputDatagramStream> PLT_OutputDatagramStreamReference; - -#endif /* _PLT_DATAGRAM_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDeviceData.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDeviceData.h deleted file mode 100644 index 364ede75c7..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDeviceData.h +++ /dev/null @@ -1,260 +0,0 @@ -/***************************************************************** -| -| Platinum - Device Data -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Device information - */ - -#ifndef _PLT_DEVICE_DATA_H_ -#define _PLT_DEVICE_DATA_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltConstants.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Service; -class PLT_DeviceData; - -typedef NPT_Reference<PLT_DeviceData> PLT_DeviceDataReference; -typedef NPT_List<PLT_DeviceDataReference> PLT_DeviceDataReferenceList; - -/*---------------------------------------------------------------------- -| PLT_DeviceIcon class -+---------------------------------------------------------------------*/ -/** - The PLT_DeviceIcon class represents a given instance of a UPnP device icon. - */ -class PLT_DeviceIcon -{ -public: - PLT_DeviceIcon(const char* mimetype = "", - NPT_Int32 width = 0, - NPT_Int32 height = 0, - NPT_Int32 depth = 0, - const char* urlpath = "") : - m_MimeType(mimetype), - m_Width(width), - m_Height(height), - m_Depth(depth), - m_UrlPath(urlpath) {} - virtual ~PLT_DeviceIcon() {} - - NPT_String m_MimeType; - NPT_Int32 m_Width; - NPT_Int32 m_Height; - NPT_Int32 m_Depth; - NPT_String m_UrlPath; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceData class -+---------------------------------------------------------------------*/ -/** - The PLT_DeviceData class holds information about a device being advertised or - found by a control point. It maintains a list of services and - embedded devices if any. - */ -class PLT_DeviceData -{ -public: - PLT_DeviceData( - NPT_HttpUrl description_url = NPT_HttpUrl(NULL, 0, "/description.xml"), - const char* uuid = "", - NPT_TimeInterval lease_time = *PLT_Constants::GetInstance().GetDefaultDeviceLease(), - const char* device_type = "", - const char* friendly_name = ""); - - /* methods */ - virtual NPT_Result GetDescription(NPT_String& desc); - virtual NPT_String GetDescriptionUrl(const char* ip_address = NULL); - virtual NPT_HttpUrl GetURLBase(); - virtual NPT_HttpUrl NormalizeURL(const NPT_String& url); - virtual NPT_Result GetDescription(NPT_XmlElementNode* parent, NPT_XmlElementNode** device = NULL); - virtual NPT_String GetIconUrl(const char* mimetype = NULL, NPT_Int32 maxsize = 0, NPT_Int32 maxdepth = 0); - - bool IsRoot() { return m_ParentUUID.IsEmpty(); } - const NPT_TimeInterval& GetLeaseTime() const { return m_LeaseTime; } - const NPT_String& GetUUID() const { return m_UUID; } - const NPT_String& GetFriendlyName() const { return m_FriendlyName; } - const NPT_String& GetType() const { return m_DeviceType; } - const NPT_String& GetModelDescription() const { return m_ModelDescription; } - const NPT_String& GetParentUUID() const { return m_ParentUUID; } - const NPT_IpAddress& GetLocalIP() const { return m_LocalIfaceIp; } - - const NPT_Array<PLT_Service*>& GetServices() const { return m_Services; } - const NPT_Array<PLT_DeviceDataReference>& GetEmbeddedDevices() const { return m_EmbeddedDevices; } - - NPT_Result FindEmbeddedDevice(const char* uuid, PLT_DeviceDataReference& device); - NPT_Result FindEmbeddedDeviceByType(const char* type, PLT_DeviceDataReference& device); - NPT_Result FindServiceById(const char* id, PLT_Service*& service); - NPT_Result FindServiceByType(const char* type, PLT_Service*& service); - NPT_Result FindServiceByName(const char* name, PLT_Service*& service); - NPT_Result FindServiceBySCPDURL(const char* url, PLT_Service*& service, bool recursive = false); - NPT_Result FindServiceByControlURL(const char* url, PLT_Service*& service, bool recursive = false); - NPT_Result FindServiceByEventSubURL(const char* url, PLT_Service*& service, bool recursive = false); - - /* called by PLT_Device subclasses */ - NPT_Result AddEmbeddedDevice(PLT_DeviceDataReference& device); - NPT_Result RemoveEmbeddedDevice(PLT_DeviceDataReference& device); - NPT_Result AddService(PLT_Service* service); - NPT_Result RemoveService(PLT_Service* service); - - /* BOOTID UPnP 1/1 */ - void SetBootId(NPT_UInt32 bootId); - void SetNextBootId(NPT_UInt32 nextBootId); - NPT_UInt32 GenerateNextBootId(); - - operator const char* (); - -protected: - virtual ~PLT_DeviceData(); - - virtual void Cleanup(); - virtual NPT_Result OnAddExtraInfo(NPT_XmlElementNode* /*device_node*/) { return NPT_SUCCESS; } - - -private: - /* called by PLT_CtrlPoint when an existing device location is updated */ - NPT_Result SetDescriptionUrl(NPT_HttpUrl& url); - NPT_Result SetLeaseTime(NPT_TimeInterval lease_time, NPT_TimeStamp lease_time_last_update = 0.); - NPT_Result SetURLBase(NPT_HttpUrl& url_base); - NPT_TimeStamp GetLeaseTimeLastUpdate(); - void UpdateConfigId(); - - /* class methods */ - static NPT_Result SetDescription(PLT_DeviceDataReference& root_device, - NPT_TimeInterval leasetime, - NPT_HttpUrl description_url, - const char* description, - const NPT_HttpRequestContext& context); - static NPT_Result SetDescriptionDevice(PLT_DeviceDataReference& device, - NPT_XmlElementNode* device_node, - const NPT_HttpRequestContext& context); - -public: - NPT_String m_Manufacturer; - NPT_String m_ManufacturerURL; - NPT_String m_ModelDescription; - NPT_String m_ModelName; - NPT_String m_ModelNumber; - NPT_String m_ModelURL; - NPT_String m_SerialNumber; - NPT_String m_UPC; - NPT_String m_PresentationURL; - NPT_String m_DlnaDoc; - NPT_String m_DlnaCap; - NPT_String m_AggregationFlags; - -protected: - friend class NPT_Reference<PLT_DeviceData>; - friend class PLT_CtrlPoint; - friend class PLT_DeviceReadyIterator; - friend class PLT_DeviceHost; - - //members - NPT_String m_ParentUUID; - NPT_String m_UUID; - NPT_HttpUrl m_URLDescription; - NPT_HttpUrl m_URLBase; - NPT_String m_DeviceType; - NPT_String m_FriendlyName; - NPT_TimeInterval m_LeaseTime; - NPT_TimeStamp m_LeaseTimeLastUpdate; - NPT_Array<PLT_Service*> m_Services; - NPT_Array<PLT_DeviceDataReference> m_EmbeddedDevices; - NPT_Array<PLT_DeviceIcon> m_Icons; - - /* IP address of interface used when retrieving device description. - We need the info for the control point subscription callback */ - NPT_IpAddress m_LocalIfaceIp; - NPT_String m_Representation; - -private: - NPT_UInt32 m_BootId; - NPT_UInt32 m_NextBootId; - NPT_UInt32 m_ConfigId; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceDataFinder -+---------------------------------------------------------------------*/ -/** - The PLT_DeviceDataFinder class returns a PLT_DeviceData instance given - a device UUID. - */ -class PLT_DeviceDataFinder -{ -public: - // methods - PLT_DeviceDataFinder(const char* uuid) : m_UUID(uuid) {} - virtual ~PLT_DeviceDataFinder() {} - - bool operator()(const PLT_DeviceDataReference& data) const { - return data->GetUUID().Compare(m_UUID, true) ? false : true; - } - -private: - // members - NPT_String m_UUID; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceDataFinderByType -+---------------------------------------------------------------------*/ -/** - The PLT_DeviceDataFinderByType class returns a PLT_DeviceData instance - given a device type. - */ -class PLT_DeviceDataFinderByType -{ -public: - // methods - PLT_DeviceDataFinderByType(const char* type) : m_Type(type) {} - virtual ~PLT_DeviceDataFinderByType() {} - - bool operator()(const PLT_DeviceDataReference& data) const { - return data->GetType().Compare(m_Type, true) ? false : true; - } - -private: - // members - NPT_String m_Type; -}; - -#endif /* _PLT_DEVICE_DATA_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDeviceHost.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDeviceHost.h deleted file mode 100644 index 9c31484d92..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDeviceHost.h +++ /dev/null @@ -1,341 +0,0 @@ -/***************************************************************** -| -| Platinum - Device Host -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Device - */ - -#ifndef _PLT_DEVICE_HOST_H_ -#define _PLT_DEVICE_HOST_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltDeviceData.h" -#include "PltSsdp.h" -#include "PltTaskManager.h" -#include "PltAction.h" -#include "PltHttp.h" -#include "PltHttpServer.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_SsdpDeviceAnnounceTask; -class PLT_SsdpListenTask; - -/*---------------------------------------------------------------------- -| PLT_DeviceHost class -+---------------------------------------------------------------------*/ -/** - UPnP Device Host. - The PLT_DeviceHost class is a base class for implementing a UPnP Device. It handles - network announcements and responses to searches from ControlPoints. ControlPoint - action invocations are also received and delegated to derived classes. A - PLT_DeviceHost also takes care of eventing when services state variables change. - */ -class PLT_DeviceHost : public PLT_DeviceData, - public PLT_SsdpPacketListener, - public NPT_HttpRequestHandler -{ -public: - /** - Creates a new instance of UPnP Device Host. - @param description_path Relative path for description url - @param uuid UPnP device unique id - @param device_type UPnP device type - @param friendly_name Name advertised for UPnP device - @param show_ip Flag to indicate if device IP should be appended to friendly name - @param port local port for the device host internal HTTP server, 0 for randomly - selected. - @param port_rebind Flag to indicate if device host should automatically try to look - for another port if failing to choose the one passed. - */ - PLT_DeviceHost(const char* description_path = "/", - const char* uuid = "", - const char* device_type = "", - const char* friendly_name = "", - bool show_ip = false, - NPT_UInt16 port = 0, - bool port_rebind = false); - virtual ~PLT_DeviceHost(); - - virtual void SetExtraBroadcast(bool broadcast) { m_ExtraBroascast = broadcast; } - - /** - When a UPnP device comes up, the specifications require that a SSDP bye-bye - sequence is sent to force the removal of the device in case it wasn't sent - properly during the last shutdown. - @param bye_bye_first Boolean to indicate that SSDP bye-bye sequence should - be sent first or not. - */ - virtual void SetByeByeFirst(bool bye_bye_first) { m_ByeByeFirst = bye_bye_first; } - - /** - Returns the port used by the internal HTTP server for all incoming requests. - @return port - */ - virtual NPT_UInt16 GetPort() { return m_Port; }; - - /** - Sets the lease time. - @param lease_time Lease Time - */ - NPT_Result SetLeaseTime(NPT_TimeInterval lease_time) { return PLT_DeviceData::SetLeaseTime(lease_time); } - -protected: - /** - NPT_HttpRequestHandler method for setting up the response of an incoming - HTTP request. - @param request the request received - @param context the context of the request - @param response the response to set up - */ - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - Static method similar to Announce. - @param device the device to announce - @param request the SSDP pre formatted request - @param socket the network socket to use to send the request - @param type PLT_SsdpAnnounceType enum if the announce is a SSDP bye-bye, update or alive. - */ - static NPT_Result Announce(PLT_DeviceData* device, - NPT_HttpRequest& request, - NPT_UdpSocket& socket, - PLT_SsdpAnnounceType type); - /** - Called during SSDP announce. The HTTP request is already configured with - the right method and host. - @param request the SSDP pre formatted request - @param socket the network socket to use to send the request - @param type PLT_SsdpAnnounceType enum if the announce is a SSDP bye-bye, update or alive. - */ - NPT_Result Announce(NPT_HttpRequest& request, - NPT_UdpSocket& socket, - PLT_SsdpAnnounceType type) { - return Announce(this, request, socket, type); - } - - /** - PLT_SsdpPacketListener method called when a M-SEARCH SSDP packet is received. - @param request SSDP packet - @param context the context of the request - */ - virtual NPT_Result OnSsdpPacket(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context); - - /** - Static method similar to SendSsdpSearchResponse. - @param device the device to announce - @param response the SSDP pre formatted response - @param socket the network socket to use to send the request - @param st the original request search target - @param addr the remote address to send the response back to in case the socket - is not already connected. - */ - static NPT_Result SendSsdpSearchResponse(PLT_DeviceData* device, - NPT_HttpResponse& response, - NPT_UdpSocket& socket, - const char* st, - const NPT_SocketAddress* addr = NULL); - /** - Called by PLT_SsdpDeviceSearchResponseTask when responding to a M-SEARCH - SSDP request. - @param response the SSDP pre formatted response - @param socket the network socket to use to send the request - @param st the original request search target - @param addr the remote address to send the response back to in case the socket - is not already connected. - */ - virtual NPT_Result SendSsdpSearchResponse(NPT_HttpResponse& response, - NPT_UdpSocket& socket, - const char* st, - const NPT_SocketAddress* addr = NULL) { - return SendSsdpSearchResponse(this, response, socket, st, addr); - } - -public: - /** - Add UPnP icon information to serve from file system. - @param icon the icon information including url path - @param fileroot the file system root path - @param urlroot the url root path of the icon url to match to fileroot - Note: As an exemple, if the icon url path is "/images/icon1.jpg", the fileroot - is "/Users/joe/www" and the urlroot is "/", when a request is made for - "/images/icon1.jpg", the file is expected to be found at - "/Users/joe/www/images/icon1.jpg". If the urlroot were "/images", the file - would be expected to be found at "/Users/joe/www/icon1.jpg". - */ - virtual NPT_Result AddIcon(const PLT_DeviceIcon& icon, - const char* fileroot, - const char* urlroot = "/"); - - /** - Add UPnP icon information to serve using static image. - @param icon the icon information including url path - @param data the image data - @param size the image data size - @param copy boolean to indicate the data should be copied internally - */ - virtual NPT_Result AddIcon(const PLT_DeviceIcon& icon, - const void* data, - NPT_Size size, - bool copy = true); - -protected: - /** - Required method for setting up UPnP services of device host - (and any embedded). Called when device starts. - */ - virtual NPT_Result SetupServices() = 0; - - /** - Default implementation for registering device icon resources. Override to - use different ones. Called when device starts. - */ - virtual NPT_Result SetupIcons(); - - /** - Default implementation for setting up device host. This calls SetupServices - and SetupIcons when device starts. - */ - virtual NPT_Result SetupDevice(); - - /** - Called by PLT_TaskManager when the device is started. - @param task the SSDP listening task to attach to for receiving - SSDP M-SEARCH messages. - */ - virtual NPT_Result Start(PLT_SsdpListenTask* task); - - /** - Called by PLT_TaskManager when the device is stoped. - @param task the SSDP listening task to detach from to stop receiving - SSDP M-SEARCH messages. - */ - virtual NPT_Result Stop(PLT_SsdpListenTask* task); - - /** - This mehod is called when an action performed by a control point has been - received and needs to be answered. - @param action the action information to answer - @param context the context information including the HTTP request and - local and remote socket information (IP & port). - */ - virtual NPT_Result OnAction(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - - /** - This method is called when a control point is requesting the device - description. - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessGetDescription(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - This method is called when a control point is requesting a service SCPD. - @param service the service - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessGetSCPD(PLT_Service* service, - NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - This method is called when a "GET" request for a resource other than the device - description, SCPD, or icons has been received. - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessHttpGetRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - This method is called when a "POST" request has been received. This is usually - an UPnP service action invocation. This will deserialize the request and call - the OnAction method. - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessHttpPostRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - This method is called when a request from a subscriber has been received. This is - for any new subscritions, existing subscrition renewal or cancellation. - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessHttpSubscriberRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - -protected: - friend class PLT_UPnP; - friend class PLT_UPnP_DeviceStartIterator; - friend class PLT_UPnP_DeviceStopIterator; - friend class PLT_Service; - friend class NPT_Reference<PLT_DeviceHost>; - friend class PLT_SsdpDeviceSearchResponseInterfaceIterator; - friend class PLT_SsdpDeviceSearchResponseTask; - friend class PLT_SsdpAnnounceInterfaceIterator; - - PLT_TaskManagerReference m_TaskManager; - PLT_HttpServerReference m_HttpServer; - bool m_ExtraBroascast; - NPT_UInt16 m_Port; - bool m_PortRebind; - bool m_ByeByeFirst; - bool m_Started; -}; - -typedef NPT_Reference<PLT_DeviceHost> PLT_DeviceHostReference; - -#endif /* _PLT_DEVICE_HOST_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDidl.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDidl.h deleted file mode 100644 index f6eaf1486f..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDidl.h +++ /dev/null @@ -1,158 +0,0 @@ -/***************************************************************** -| -| Platinum - DIDL handling -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Didl - */ - -#ifndef _PLT_DIDL_H_ -#define _PLT_DIDL_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltMediaItem.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define PLT_FILTER_MASK_ALL 0xFFFFFFFF - -#define PLT_FILTER_MASK_CREATOR 0x00000001 -#define PLT_FILTER_MASK_ARTIST 0x00000002 -#define PLT_FILTER_MASK_ALBUM 0x00000004 -#define PLT_FILTER_MASK_GENRE 0x00000008 -#define PLT_FILTER_MASK_ALBUMARTURI 0x00000010 -#define PLT_FILTER_MASK_DESCRIPTION 0x00000020 -#define PLT_FILTER_MASK_SEARCHABLE 0x00000040 -#define PLT_FILTER_MASK_CHILDCOUNT 0x00000080 -#define PLT_FILTER_MASK_ORIGINALTRACK 0x00000100 -#define PLT_FILTER_MASK_ACTOR 0x00000200 -#define PLT_FILTER_MASK_AUTHOR 0x00000400 -#define PLT_FILTER_MASK_DATE 0x00000800 -#define PLT_FILTER_MASK_PROGRAMTITLE 0x00001000 -#define PLT_FILTER_MASK_SERIESTITLE 0x00002000 -#define PLT_FILTER_MASK_EPISODE 0x00004000 -#define PLT_FILTER_MASK_TITLE 0x00008000 - -#define PLT_FILTER_MASK_RES 0x00010000 -#define PLT_FILTER_MASK_RES_DURATION 0x00020000 -#define PLT_FILTER_MASK_RES_SIZE 0x00040000 -#define PLT_FILTER_MASK_RES_PROTECTION 0x00080000 -#define PLT_FILTER_MASK_RES_RESOLUTION 0x00100000 -#define PLT_FILTER_MASK_RES_BITRATE 0x00200000 -#define PLT_FILTER_MASK_RES_BITSPERSAMPLE 0x00400000 -#define PLT_FILTER_MASK_RES_NRAUDIOCHANNELS 0x00800000 -#define PLT_FILTER_MASK_RES_SAMPLEFREQUENCY 0x01000000 - -#define PLT_FILTER_MASK_LONGDESCRIPTION 0x02000000 -#define PLT_FILTER_MASK_ICON 0x04000000 - -#define PLT_FILTER_MASK_TOC 0x02000000 -#define PLT_FILTER_MASK_SEARCHCLASS 0x04000000 -#define PLT_FILTER_MASK_REFID 0x08000000 - -#define PLT_FILTER_FIELD_TITLE "dc:title" -#define PLT_FILTER_FIELD_CREATOR "dc:creator" -#define PLT_FILTER_FIELD_DATE "dc:date" -#define PLT_FILTER_FIELD_ARTIST "upnp:artist" -#define PLT_FILTER_FIELD_ACTOR "upnp:actor" -#define PLT_FILTER_FIELD_AUTHOR "upnp:author" -#define PLT_FILTER_FIELD_ALBUM "upnp:album" -#define PLT_FILTER_FIELD_GENRE "upnp:genre" -#define PLT_FILTER_FIELD_ALBUMARTURI "upnp:albumArtURI" -#define PLT_FILTER_FIELD_ALBUMARTURI_DLNAPROFILEID "upnp:albumArtURI@dlna:profileID" -#define PLT_FILTER_FIELD_DESCRIPTION "dc:description" -#define PLT_FILTER_FIELD_LONGDESCRIPTION "upnp:longDescription" -#define PLT_FILTER_FIELD_ICON "upnp:icon" -#define PLT_FILTER_FIELD_ORIGINALTRACK "upnp:originalTrackNumber" -#define PLT_FILTER_FIELD_PROGRAMTITLE "upnp:programTitle" -#define PLT_FILTER_FIELD_SERIESTITLE "upnp:seriesTitle" -#define PLT_FILTER_FIELD_EPISODE "upnp:episodeNumber" -#define PLT_FILTER_FIELD_SEARCHCLASS "upnp:searchClass" -#define PLT_FILTER_FIELD_SEARCHABLE "@searchable" -#define PLT_FILTER_FIELD_CHILDCOUNT "@childcount" -#define PLT_FILTER_FIELD_CONTAINER_CHILDCOUNT "container@childCount" -#define PLT_FILTER_FIELD_CONTAINER_SEARCHABLE "container@searchable" -#define PLT_FILTER_FIELD_REFID "@refID" - -#define PLT_FILTER_FIELD_RES "res" -#define PLT_FILTER_FIELD_RES_DURATION "res@duration" -#define PLT_FILTER_FIELD_RES_DURATION_SHORT "@duration" -#define PLT_FILTER_FIELD_RES_SIZE "res@size" -#define PLT_FILTER_FIELD_RES_PROTECTION "res@protection" -#define PLT_FILTER_FIELD_RES_RESOLUTION "res@resolution" -#define PLT_FILTER_FIELD_RES_BITRATE "res@bitrate" -#define PLT_FILTER_FIELD_RES_BITSPERSAMPLE "res@bitsPerSample" -#define PLT_FILTER_FIELD_RES_NRAUDIOCHANNELS "res@nrAudioChannels" -#define PLT_FILTER_FIELD_RES_SAMPLEFREQUENCY "res@sampleFrequency" - -extern const char* didl_header; -extern const char* didl_footer; -extern const char* didl_namespace_dc; -extern const char* didl_namespace_upnp; -extern const char* didl_namespace_dlna; - -/*---------------------------------------------------------------------- -| PLT_Didl -+---------------------------------------------------------------------*/ -/** - DIDL manipulation. - The PLT_Didl class provides a mechanism to (de)serialize a PLT_MediaObject or - list of PLT_MediaObject (PLT_MediaObjectList). - */ -class PLT_Didl -{ -public: - static NPT_Result ToDidl(PLT_MediaObject& object, - const NPT_String& filter, - NPT_String& didl); - static NPT_Result FromDidl(const char* didl, - PLT_MediaObjectListReference& objects); - static void AppendXmlEscape(NPT_String& out, const char* in); - static void AppendXmlUnEscape(NPT_String& out, const char* in); - static NPT_Result ParseTimeStamp(const NPT_String& timestamp, NPT_UInt32& seconds); - static NPT_String FormatTimeStamp(NPT_UInt32 seconds); - static NPT_Result ParseTimeStamp(const NPT_String& in, NPT_TimeStamp& timestamp) { - NPT_UInt32 seconds; - NPT_Result res = ParseTimeStamp(in, seconds); - timestamp = NPT_TimeStamp((double)seconds); - return res; - } - - static NPT_UInt32 ConvertFilterToMask(const NPT_String& filter); -}; - -#endif /* _PLT_DIDL_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDownloader.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDownloader.h deleted file mode 100644 index 9581ec2935..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltDownloader.h +++ /dev/null @@ -1,89 +0,0 @@ -/***************************************************************** -| -| Platinum - Downloader -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_DOWNLOADER_H_ -#define _PLT_DOWNLOADER_H_ - -/*---------------------------------------------------------------------- -| Includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpClientTask.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Downloader; - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef enum { - PLT_DOWNLOADER_IDLE, - PLT_DOWNLOADER_STARTED, - PLT_DOWNLOADER_DOWNLOADING, - PLT_DOWNLOADER_ERROR, - PLT_DOWNLOADER_SUCCESS -} Plt_DowloaderState; - -/*---------------------------------------------------------------------- -| PLT_Downloader class -+---------------------------------------------------------------------*/ -class PLT_Downloader : public PLT_HttpClientSocketTask -{ -public: - PLT_Downloader(NPT_HttpUrl& url, - NPT_OutputStreamReference& output); - virtual ~PLT_Downloader(); - - Plt_DowloaderState GetState() { return m_State; } - - // PLT_HttpClientTask method - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - virtual void DoRun(); - virtual void DoAbort(); - -private: - // members - NPT_HttpUrl m_URL; - NPT_OutputStreamReference m_Output; - Plt_DowloaderState m_State; -}; - -#endif /* _PLT_DOWNLOADER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltEvent.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltEvent.h deleted file mode 100644 index de754bbf5b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltEvent.h +++ /dev/null @@ -1,191 +0,0 @@ -/***************************************************************** -| -| Platinum - Event -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Eventing - */ - -#ifndef _PLT_EVENT_H_ -#define _PLT_EVENT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpClientTask.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_StateVariable; -class PLT_DeviceData; -class PLT_Service; -class PLT_TaskManager; -class PLT_CtrlPoint; - -/*---------------------------------------------------------------------- -| PLT_EventNotification class -+---------------------------------------------------------------------*/ -/** - The PLT_EventNotification class represents an event notification for a given - service to a given subscriber - */ -class PLT_EventNotification -{ -public: - ~PLT_EventNotification() {} - - static PLT_EventNotification* Parse(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - - NPT_TimeStamp m_ReceptionTime; - NPT_HttpUrl m_RequestUrl; - NPT_String m_SID; - NPT_Ordinal m_EventKey; - NPT_String m_XmlBody; - -protected: - PLT_EventNotification() : m_EventKey(0) {} -}; - -/*---------------------------------------------------------------------- -| PLT_EventSubscriber class -+---------------------------------------------------------------------*/ -/** - The PLT_EventSubscriber class represents an event subscription for a given service - from a UPnP ControlPoint. - */ -class PLT_EventSubscriber -{ -public: - PLT_EventSubscriber(PLT_TaskManagerReference task_manager, - PLT_Service* service, - const char* sid, - NPT_Timeout timeout_secs = -1); - ~PLT_EventSubscriber(); - - PLT_Service* GetService(); - NPT_Ordinal GetEventKey(); - NPT_Result SetEventKey(NPT_Ordinal value); - NPT_SocketAddress GetLocalIf(); - NPT_Result SetLocalIf(NPT_SocketAddress value); - NPT_TimeStamp GetExpirationTime(); - NPT_Result SetTimeout(NPT_Timeout seconds = -1); - const NPT_String& GetSID() const { return m_SID; } - NPT_Result FindCallbackURL(const char* callback_url); - NPT_Result AddCallbackURL(const char* callback_url); - NPT_Result Notify(NPT_List<PLT_StateVariable*>& vars); - -protected: - //members - PLT_TaskManagerReference m_TaskManager; - PLT_Service* m_Service; - NPT_Ordinal m_EventKey; - PLT_HttpClientSocketTask* m_SubscriberTask; - NPT_String m_SID; - NPT_SocketAddress m_LocalIf; - NPT_Array<NPT_String> m_CallbackURLs; - NPT_TimeStamp m_ExpirationTime; -}; - -typedef NPT_Reference<PLT_EventSubscriber> PLT_EventSubscriberReference; - -/*---------------------------------------------------------------------- -| PLT_EventSubscriberFinderBySID -+---------------------------------------------------------------------*/ -/** - The PLT_EventSubscriberFinderBySID class returns an instance of a PLT_EventSubscriber - given its subscriber ID. - */ -class PLT_EventSubscriberFinderBySID -{ -public: - // methods - PLT_EventSubscriberFinderBySID(const char* sid) : m_SID(sid) {} - - bool operator()(PLT_EventSubscriberReference const & sub) const { - return m_SID.Compare(sub->GetSID(), true) ? false : true; - } - -private: - // members - NPT_String m_SID; -}; - -/*---------------------------------------------------------------------- -| PLT_EventSubscriberFinderByCallbackURL -+---------------------------------------------------------------------*/ -/** - The PLT_EventSubscriberFinderByCallbackURL class returns an instance of a - PLT_EventSubscriber given its subscriber callback url. - */ -class PLT_EventSubscriberFinderByCallbackURL -{ -public: - // methods - PLT_EventSubscriberFinderByCallbackURL(const char* callback_url) : - m_CallbackURL(callback_url) {} - - bool operator()(PLT_EventSubscriberReference const & sub) const { - return NPT_SUCCEEDED(sub->FindCallbackURL(m_CallbackURL)); - } - -private: - // members - NPT_String m_CallbackURL; -}; - -/*---------------------------------------------------------------------- -| PLT_EventSubscriberFinderByService -+---------------------------------------------------------------------*/ -/** - The PLT_EventSubscriberFinderByService class returns an instance of a - PLT_EventSubscriber given a UPnP service. - */ -class PLT_EventSubscriberFinderByService -{ -public: - // methods - PLT_EventSubscriberFinderByService(PLT_Service* service) : m_Service(service) {} - virtual ~PLT_EventSubscriberFinderByService() {} - bool operator()(PLT_EventSubscriberReference const & eventSub) const; - -private: - // members - PLT_Service* m_Service; -}; - -#endif /* _PLT_EVENT_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFileMediaServer.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFileMediaServer.h deleted file mode 100644 index 49ff9d8ab6..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFileMediaServer.h +++ /dev/null @@ -1,151 +0,0 @@ -/***************************************************************** -| -| Platinum - File Media Server -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Filesystem based Media Server sample implementation - */ - -#ifndef _PLT_FILE_MEDIA_SERVER_H_ -#define _PLT_FILE_MEDIA_SERVER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltMediaServer.h" -#include "PltMediaCache.h" - -/*---------------------------------------------------------------------- -| PLT_FileMediaServerDelegate -+---------------------------------------------------------------------*/ -/** - File Media Server Delegate. - The PLT_FileMediaServerDelegate class is an example of a PLT_MediaServerDelegate - implementation for a file system backed Media Server. - */ -class PLT_FileMediaServerDelegate : public PLT_MediaServerDelegate -{ -public: - // class methods - static NPT_String BuildSafeResourceUri(const NPT_HttpUrl& base_uri, - const char* host, - const char* file_path); - // constructor & destructor - PLT_FileMediaServerDelegate(const char* url_root, const char* file_root, bool use_cache = false); - virtual ~PLT_FileMediaServerDelegate(); - -protected: - // PLT_MediaServerDelegate methods - virtual NPT_Result OnBrowseMetadata(PLT_ActionReference& action, - const char* object_id, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnBrowseDirectChildren(PLT_ActionReference& action, - const char* object_id, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnSearchContainer(PLT_ActionReference& action, - const char* object_id, - const char* search_criteria, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result ProcessFileRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // overridable methods - virtual NPT_Result ExtractResourcePath(const NPT_HttpUrl& url, NPT_String& file_path); - virtual NPT_String BuildResourceUri(const NPT_HttpUrl& base_uri, const char* host, const char* file_path); - virtual NPT_Result ServeFile(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - const NPT_String& file_path); - virtual NPT_Result GetFilePath(const char* object_id, NPT_String& filepath); - virtual bool ProcessFile(const NPT_String&, const char* filter = NULL) { NPT_COMPILER_UNUSED(filter); return true;} - virtual PLT_MediaObject* BuildFromFilePath(const NPT_String& filepath, - const PLT_HttpRequestContext& context, - bool with_count = true, - bool keep_extension_in_title = false, - bool allip = false); - -protected: - friend class PLT_MediaItem; - - NPT_String m_UrlRoot; - NPT_String m_FileRoot; - bool m_FilterUnknownOut; - bool m_UseCache; - - PLT_MediaCache<NPT_Reference<NPT_List<NPT_String> >, NPT_TimeStamp> m_DirCache; -}; - -/*---------------------------------------------------------------------- -| PLT_FileMediaServer -+---------------------------------------------------------------------*/ -/** - File Media Server. - The PLT_FileMediaServer class is an example of a PLT_MediaServer implementation - for a file system backed Media Server. - */ -class PLT_FileMediaServer : public PLT_MediaServer, - public PLT_FileMediaServerDelegate -{ -public: // constructor - PLT_FileMediaServer(const char* file_root, - const char* friendly_name, - bool show_ip = false, - const char* uuid = NULL, - NPT_UInt16 port = 0, - bool port_rebind = false) : - PLT_MediaServer(friendly_name, - show_ip, - uuid, - port, - port_rebind), - PLT_FileMediaServerDelegate("/", file_root) {SetDelegate(this);} - -protected: - virtual ~PLT_FileMediaServer() {} -}; - -#endif /* _PLT_FILE_MEDIA_SERVER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFrameBuffer.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFrameBuffer.h deleted file mode 100644 index aa270dfb87..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFrameBuffer.h +++ /dev/null @@ -1,76 +0,0 @@ -/***************************************************************** -| -| Platinum - Frame Buffer -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_FRAME_BUFFER_H_ -#define _PLT_FRAME_BUFFER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_FrameBuffer -+---------------------------------------------------------------------*/ -class PLT_FrameBuffer -{ - public: - // constructor & destructor - PLT_FrameBuffer(const char* mime_type); - virtual ~PLT_FrameBuffer(); - - void Reset(); - void Abort(); - void AddReader() { m_Readers.Increment(); } - void RemoveReader() { m_Readers.Decrement(); } - int GetNbReaders() { return m_Readers.GetValue(); } - const char* GetMimeType() { return m_MimeType; } - - // data buffer handling methods - virtual NPT_Result SetNextFrame(const NPT_Byte* buffer, NPT_Size bufferSize); - virtual NPT_Result GetNextFrame(NPT_UInt32& last_frame_index, - NPT_DataBuffer& buffer, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - - protected: - // members - NPT_String m_MimeType; - bool m_Aborted; - NPT_SharedVariable m_FrameIndex; - NPT_DataBuffer m_Frame; - NPT_Mutex m_FrameLock; - NPT_AtomicVariable m_Readers; -}; - -#endif // _PLT_FRAME_BUFFER_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFrameServer.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFrameServer.h deleted file mode 100644 index 62a730a09e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFrameServer.h +++ /dev/null @@ -1,103 +0,0 @@ -/***************************************************************** -| -| Platinum - Frame Server -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_FRAME_SERVER_H_ -#define _PLT_FRAME_SERVER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpServer.h" -#include "PltFrameBuffer.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_SocketPolicyServer; - -/*---------------------------------------------------------------------- -| PLT_StreamValidator class -+---------------------------------------------------------------------*/ -class PLT_StreamValidator -{ -public: - virtual ~PLT_StreamValidator() {} - virtual bool OnNewRequestAccept(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - NPT_Reference<PLT_FrameBuffer>& buffer) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_HttpStreamRequestHandler -+---------------------------------------------------------------------*/ -class PLT_HttpStreamRequestHandler : public NPT_HttpRequestHandler -{ -public: - // constructor - PLT_HttpStreamRequestHandler(PLT_StreamValidator& stream_validator) : - m_StreamValidator(stream_validator) {} - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - -private: - PLT_StreamValidator& m_StreamValidator; -}; - -/*---------------------------------------------------------------------- -| PLT_FrameServer class -+---------------------------------------------------------------------*/ -class PLT_FrameServer : public PLT_HttpServer -{ -public: - PLT_FrameServer(const char* resource_name, - PLT_StreamValidator& stream_validator, - NPT_IpAddress address = NPT_IpAddress::Any, - NPT_UInt16 port = 0, - bool policy_server_enabled = false); - virtual ~PLT_FrameServer(); - - virtual NPT_Result Start(); - -protected: - PLT_SocketPolicyServer* m_PolicyServer; - PLT_StreamValidator& m_StreamValidator; - bool m_PolicyServerEnabled; -}; - -#endif /* _PLT_FRAME_SERVER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFrameStream.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFrameStream.h deleted file mode 100644 index 0eda3c3bda..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltFrameStream.h +++ /dev/null @@ -1,79 +0,0 @@ -/***************************************************************** -| -| Platinum - Frame Stream -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_FRAMESTREAM_H_ -#define _PLT_FRAMESTREAM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltFrameBuffer.h" - -/*---------------------------------------------------------------------- -| PLT_InputFrameStream -+---------------------------------------------------------------------*/ -class PLT_InputFrameStream : public NPT_InputStream -{ -public: - // methods - PLT_InputFrameStream(NPT_Reference<PLT_FrameBuffer>& frame_buffer, - const char* boundary); - virtual ~PLT_InputFrameStream(); - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = 0); - - NPT_Result Seek(NPT_Position offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Skip(NPT_Size offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Tell(NPT_Position& offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result GetSize(NPT_LargeSize& size) { NPT_COMPILER_UNUSED(size); return NPT_FAILURE; } - NPT_Result GetAvailable(NPT_LargeSize& available); - -private: - NPT_Result FillBuffer(); - -protected: - NPT_Reference<PLT_FrameBuffer> m_FrameBuffer; - NPT_MemoryStream m_Part; - NPT_UInt32 m_LastFrameIndex; - NPT_String m_Boundary; - bool m_Eos; -}; - -typedef NPT_Reference<PLT_InputFrameStream> PLT_InputFrameStreamReference; - -#endif /* _PLT_FRAMESTREAM_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttp.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttp.h deleted file mode 100644 index fc3d1b55c0..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttp.h +++ /dev/null @@ -1,171 +0,0 @@ -/***************************************************************** -| -| Platinum - HTTP Helper -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - HTTP utilities - */ - -#ifndef _PLT_HTTP_H_ -#define _PLT_HTTP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltVersion.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#if !defined(PLT_HTTP_DEFAULT_USER_AGENT) -#define PLT_HTTP_DEFAULT_USER_AGENT "UPnP/1.0 DLNADOC/1.50 Platinum/" PLT_PLATINUM_SDK_VERSION_STRING -#endif - -#if !defined(PLT_HTTP_DEFAULT_SERVER) -#define PLT_HTTP_DEFAULT_SERVER "UPnP/1.0 DLNADOC/1.50 Platinum/" PLT_PLATINUM_SDK_VERSION_STRING -#endif - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef enum { - PLT_DEVICE_UNKNOWN, - PLT_DEVICE_XBOX, - PLT_DEVICE_PS3, - PLT_DEVICE_WMP, - PLT_DEVICE_SONOS, - PLT_DEVICE_MAC, - PLT_DEVICE_WINDOWS, - PLT_DEVICE_VLC -} PLT_DeviceSignature; - -/*---------------------------------------------------------------------- -| PLT_HttpHelper -+---------------------------------------------------------------------*/ -/** - The PLT_HttpHelper class is a set of utility functions for manipulating - HTTP headers, entities and messages. - */ -class PLT_HttpHelper { -public: - static bool IsConnectionKeepAlive(NPT_HttpMessage& message); - static bool IsBodyStreamSeekable(NPT_HttpMessage& message); - - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, NPT_HttpRequest* request); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, const NPT_HttpRequest& request); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, NPT_HttpResponse* response); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, const NPT_HttpResponse& response); - - static NPT_Result GetContentType(const NPT_HttpMessage& message, NPT_String& type); - static NPT_Result GetContentLength(const NPT_HttpMessage& message, NPT_LargeSize& len); - - static NPT_Result GetHost(const NPT_HttpRequest& request, NPT_String& value); - static void SetHost(NPT_HttpRequest& request, const char* host); - static PLT_DeviceSignature GetDeviceSignature(const NPT_HttpRequest& request); - - static NPT_Result SetBody(NPT_HttpMessage& message, NPT_String& text, NPT_HttpEntity** entity = NULL); - static NPT_Result SetBody(NPT_HttpMessage& message, const char* text, NPT_HttpEntity** entity = NULL); - static NPT_Result SetBody(NPT_HttpMessage& message, const void* body, NPT_LargeSize len, NPT_HttpEntity** entity = NULL); - static NPT_Result SetBody(NPT_HttpMessage& message, NPT_InputStreamReference stream, NPT_HttpEntity** entity = NULL); - static NPT_Result GetBody(const NPT_HttpMessage& message, NPT_String& body); - static NPT_Result ParseBody(const NPT_HttpMessage& message, NPT_XmlElementNode*& xml); - - static void SetBasicAuthorization(NPT_HttpRequest& request, const char* username, const char* password); -}; - -/*---------------------------------------------------------------------- -| PLT_HttpRequestContext -+---------------------------------------------------------------------*/ -/** - The PLT_HttpRequestContext class holds information about the request sent, the - local & remote ip addresses and ports associated with a connection. It is used - mostly when processing a HTTP response. - */ -class PLT_HttpRequestContext : public NPT_HttpRequestContext { -public: - // constructors and destructor - PLT_HttpRequestContext(const NPT_HttpRequest& request) : - m_Request(request) {} - PLT_HttpRequestContext(const NPT_HttpRequest& request, const NPT_HttpRequestContext& context) : - NPT_HttpRequestContext(&context.GetLocalAddress(), &context.GetRemoteAddress()), - m_Request(request) {} - virtual ~PLT_HttpRequestContext() {} - - const NPT_HttpRequest& GetRequest() const { return m_Request; } - PLT_DeviceSignature GetDeviceSignature() { return PLT_HttpHelper::GetDeviceSignature(m_Request); } - -private: - const NPT_HttpRequest& m_Request; -}; - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_ENABLE_LOGGING) -#define PLT_LOG_HTTP_MESSAGE_L(_logger, _level, _prefix, _msg) \ - PLT_HttpHelper::ToLog((_logger), (_level), (_prefix), (_msg)) -#define PLT_LOG_HTTP_MESSAGE(_level, _prefix, _msg) \ - PLT_HttpHelper::ToLog((_NPT_LocalLogger), (_level), (_prefix), (_msg)) - -#else /* NPT_CONFIG_ENABLE_LOGGING */ -#define PLT_LOG_HTTP_MESSAGE_L(_logger, _level, _prefix, _msg) -#define PLT_LOG_HTTP_MESSAGE(_level, _prefix, _msg) -#endif /* NPT_CONFIG_ENABLE_LOGGING */ - -/*---------------------------------------------------------------------- -| PLT_HttpRequestHandler -+---------------------------------------------------------------------*/ -/** - The PLT_HttpRequestHandler class delegates the handling of the response of a - received HTTP request by a HTTP Server. - */ -class PLT_HttpRequestHandler : public NPT_HttpRequestHandler -{ -public: - PLT_HttpRequestHandler(NPT_HttpRequestHandler* delegate) : - m_Delegate(delegate) {} - virtual ~PLT_HttpRequestHandler() {} - - // NPT_HttpRequestHandler methods - NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response) { - return m_Delegate->SetupResponse(request, context, response); - } - -private: - NPT_HttpRequestHandler* m_Delegate; -}; - -#endif /* _PLT_HTTP_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttpClientTask.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttpClientTask.h deleted file mode 100644 index 293c59207a..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttpClientTask.h +++ /dev/null @@ -1,121 +0,0 @@ -/***************************************************************** -| -| Platinum - HTTP Client Tasks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - HTTP Client tasks - */ - -#ifndef _PLT_HTTP_CLIENT_TASK_H_ -#define _PLT_HTTP_CLIENT_TASK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" -#include "PltThreadTask.h" - -/*---------------------------------------------------------------------- -| PLT_HttpClientSocketTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpClientSocketTask class is the base class used to send a HTTP request - asynchronously using a task (thread). It supports persistent connections - and HTTP pipelining with automatic fallback and reconnection when HTTP 1.0 - is used. - */ -class PLT_HttpClientSocketTask : public PLT_ThreadTask -{ -friend class PLT_ThreadTask; - -public: - PLT_HttpClientSocketTask(NPT_HttpRequest* request = NULL, - bool wait_forever = false); - virtual ~PLT_HttpClientSocketTask(); - - virtual NPT_Result AddRequest(NPT_HttpRequest* request); - virtual NPT_Result SetHttpClientConfig(const NPT_HttpClient::Config& config); - -protected: - // PLT_ThreadTask methods - virtual void DoAbort(); - virtual void DoRun(); - - virtual NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -private: - NPT_Result GetNextRequest(NPT_HttpRequest*& request, NPT_Timeout timeout_ms); - -protected: - NPT_HttpClient m_Client; - bool m_WaitForever; - NPT_Queue<NPT_HttpRequest> m_Requests; -}; - -/*---------------------------------------------------------------------- -| PLT_HttpClientTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpClientTask class is a templatized version of PLT_HttpClientSocketTask - to support arbitrary delegation of HTTP response handling. - */ -template <class T> -class PLT_HttpClientTask : public PLT_HttpClientSocketTask -{ -public: - PLT_HttpClientTask<T>(const NPT_HttpUrl& url, T* data) : - PLT_HttpClientSocketTask(new NPT_HttpRequest(url, - "GET", - NPT_HTTP_PROTOCOL_1_1)), - m_Data(data) {} - protected: - virtual ~PLT_HttpClientTask<T>() {} - -protected: - // PLT_HttpClientSocketTask method - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response) { - return m_Data->ProcessResponse(res, request, context, response); - } - -protected: - T* m_Data; -}; - -#endif /* _PLT_HTTP_CLIENT_TASK_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttpServer.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttpServer.h deleted file mode 100644 index 562e141431..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttpServer.h +++ /dev/null @@ -1,100 +0,0 @@ -/***************************************************************** -| -| Platinum - HTTP Server -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - HTTP Server - */ - -#ifndef _PLT_HTTP_SERVER_H_ -#define _PLT_HTTP_SERVER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpServerTask.h" - -/*---------------------------------------------------------------------- -| PLT_HttpServer class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpServer class provides an asynchronous way to handle multiple HTTP requests - concurrently. Pipelining requests and keep-alive connections are supported. - */ -class PLT_HttpServer : public NPT_HttpRequestHandler, - public NPT_HttpServer -{ -public: - PLT_HttpServer(NPT_IpAddress address = NPT_IpAddress::Any, - NPT_IpPort port = 0, - bool allow_random_port_on_bind_failure = false, - NPT_Cardinal max_clients = 50, - bool reuse_address = false); - virtual ~PLT_HttpServer(); - - // class methods - static NPT_Result ServeFile(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - NPT_String file_path); - static NPT_Result ServeStream(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - NPT_InputStreamReference& stream, - const char* content_type); - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // methods - virtual NPT_Result Start(); - virtual NPT_Result Stop(); - virtual unsigned int GetPort() { return m_Port; } - -private: - PLT_TaskManagerReference m_TaskManager; - NPT_Reference<NPT_HttpServer> m_Server; - NPT_IpAddress m_Address; - NPT_IpPort m_Port; - bool m_AllowRandomPortOnBindFailure; - bool m_ReuseAddress; - bool m_Running; - bool m_Aborted; -}; - -typedef NPT_Reference<PLT_HttpServer> PLT_HttpServerReference; - -#endif /* _PLT_HTTP_SERVER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttpServerTask.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttpServerTask.h deleted file mode 100644 index 58b2a3fb76..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltHttpServerTask.h +++ /dev/null @@ -1,163 +0,0 @@ -/***************************************************************** -| -| Platinum - HTTP Server Tasks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - HTTP Server Tasks - */ - -#ifndef _PLT_HTTP_SERVER_TASK_H_ -#define _PLT_HTTP_SERVER_TASK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" -#include "PltDatagramStream.h" -#include "PltThreadTask.h" - -/*---------------------------------------------------------------------- -| PLT_HttpServerSocketTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpServerSocketTask class is a task used for handling one or more HTTP - requests from a client. It is created by a PLT_HttpListenTask instance upon - receiving a connection request. A PLT_HttpServer will handle the delegation for - setting up the HTTP response. - */ -class PLT_HttpServerSocketTask : public PLT_ThreadTask -{ - friend class PLT_ThreadTask; - -public: - PLT_HttpServerSocketTask(NPT_Socket* socket, bool stay_alive_forever = false); - -protected: - virtual ~PLT_HttpServerSocketTask(); - -protected: - // Request callback handler - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response) = 0; - - // overridables - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream); - virtual NPT_Result GetInfo(NPT_SocketInfo& info); - - // PLT_ThreadTask methods - virtual void DoAbort() { if (m_Socket) m_Socket->Cancel(); } - virtual void DoRun(); - -private: - virtual NPT_Result Read(NPT_BufferedInputStreamReference& buffered_input_stream, - NPT_HttpRequest*& request, - NPT_HttpRequestContext* context = NULL); - virtual NPT_Result Write(NPT_HttpResponse* response, - bool& keep_alive, - bool headers_only = false); - virtual NPT_Result RespondToClient(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse*& response); - virtual NPT_Result SendResponseHeaders(NPT_HttpResponse* response, - NPT_OutputStream& output_stream, - bool& keep_alive); - virtual NPT_Result SendResponseBody(NPT_HttpResponse* response, - NPT_OutputStream& output_stream); - -protected: - NPT_Socket* m_Socket; - bool m_StayAliveForever; -}; - -/*---------------------------------------------------------------------- -| PLT_HttpServerTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpServerTask class is a version of PLT_HttpServerSocketTask that supports - delegation of HTTP request handling. - */ -class PLT_HttpServerTask : public PLT_HttpServerSocketTask -{ -public: - PLT_HttpServerTask(NPT_HttpRequestHandler* handler, - NPT_Socket* socket, - bool keep_alive = false) : - PLT_HttpServerSocketTask(socket, keep_alive), m_Handler(handler) {} - -protected: - virtual ~PLT_HttpServerTask() {} - - NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response) { - return m_Handler->SetupResponse(request, context, response); - } - -protected: - NPT_HttpRequestHandler* m_Handler; -}; - -/*---------------------------------------------------------------------- -| PLT_HttpListenTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpListenTask class is used by a PLT_HttpServer to listen for incoming - connections and spawn a new task for handling each request. - */ -class PLT_HttpListenTask : public PLT_ThreadTask -{ -public: - PLT_HttpListenTask(NPT_HttpRequestHandler* handler, - NPT_TcpServerSocket* socket, - bool owns_socket = true) : - m_Handler(handler), m_Socket(socket), m_OwnsSocket(owns_socket) {} - -protected: - virtual ~PLT_HttpListenTask() { - if (m_OwnsSocket && m_Socket) delete m_Socket; - } - -protected: - // PLT_ThreadTask methods - virtual void DoAbort() { if (m_Socket) m_Socket->Cancel(); } - virtual void DoRun(); - -protected: - NPT_HttpRequestHandler* m_Handler; - NPT_TcpServerSocket* m_Socket; - bool m_OwnsSocket; -}; - -#endif /* _PLT_HTTP_SERVER_TASK_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltLeaks.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltLeaks.h deleted file mode 100644 index 73d1e3ad04..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltLeaks.h +++ /dev/null @@ -1,51 +0,0 @@ -/***************************************************************** -| -| Platinum - Leaks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_LEAKS_H_ -#define _PLT_LEAKS_H_ - -/*---------------------------------------------------------------------- -| functions -+---------------------------------------------------------------------*/ -#if defined(__cplusplus) -extern "C" { -#endif - -void PLT_Leak_Enable(void); - -#if defined(__cplusplus) -} -#endif - -#endif /* _PLT_LEAKS_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaBrowser.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaBrowser.h deleted file mode 100644 index 2ee032b842..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaBrowser.h +++ /dev/null @@ -1,156 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Browser (Media Server Control Point) -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Controller implementation. - */ - -#ifndef _PLT_MEDIA_BROWSER_H_ -#define _PLT_MEDIA_BROWSER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltCtrlPoint.h" -#include "PltMediaItem.h" - -/*---------------------------------------------------------------------- -| PLT_BrowseInfo -+---------------------------------------------------------------------*/ -/** - The PLT_BrowseInfo struct is used to marshall Browse or Search action - response results across different threads of execution. - */ -typedef struct { - NPT_String object_id; - PLT_MediaObjectListReference items; - NPT_UInt32 si; - NPT_UInt32 nr; - NPT_UInt32 tm; - NPT_UInt32 uid; -} PLT_BrowseInfo; - -/*---------------------------------------------------------------------- -| PLT_MediaBrowserDelegate -+---------------------------------------------------------------------*/ -/** - The PLT_MediaBrowserDelegate class is an interface for receiving PLT_MediaBrowser - events or action responses. - */ -class PLT_MediaBrowserDelegate -{ -public: - virtual ~PLT_MediaBrowserDelegate() {} - - virtual bool OnMSAdded(PLT_DeviceDataReference& /* device */) { return true; } - virtual void OnMSRemoved(PLT_DeviceDataReference& /* device */) {} - virtual void OnMSStateVariablesChanged( - PLT_Service* /*service*/, - NPT_List<PLT_StateVariable*>* /*vars*/) {} - - // ContentDirectory - virtual void OnBrowseResult( - NPT_Result /*res*/, - PLT_DeviceDataReference& /*device*/, - PLT_BrowseInfo* /*info*/, - void* /*userdata*/) {} - - virtual void OnSearchResult( - NPT_Result /*res*/, - PLT_DeviceDataReference& /*device*/, - PLT_BrowseInfo* /*info*/, - void* /*userdata*/) {} -}; - -/*---------------------------------------------------------------------- -| PLT_MediaBrowser -+---------------------------------------------------------------------*/ -/** - The PLT_MediaBrowser class implements a UPnP AV Media Server control point. - */ -class PLT_MediaBrowser : public PLT_CtrlPointListener -{ -public: - PLT_MediaBrowser(PLT_CtrlPointReference& ctrl_point, - PLT_MediaBrowserDelegate* delegate = NULL); - virtual ~PLT_MediaBrowser(); - - // ContentDirectory service - virtual NPT_Result Browse(PLT_DeviceDataReference& device, - const char* object_id, - NPT_UInt32 start_index, - NPT_UInt32 count = 30, // DLNA recommendations - bool browse_metadata = false, - const char* filter = "dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author", // explicitely specify res otherwise WMP won't return a URL! - const char* sort_criteria = "", - void* userdata = NULL); - - virtual NPT_Result Search(PLT_DeviceDataReference& device, - const char* container_id, - const char* search_criteria, - NPT_UInt32 start_index, - NPT_UInt32 count = 30, // DLNA recommendations - const char* filter = "dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author", // explicitely specify res otherwise WMP won't return a URL! - void* userdata = NULL); - - // methods - virtual const NPT_Lock<PLT_DeviceDataReferenceList>& GetMediaServers() { return m_MediaServers; } - virtual NPT_Result FindServer(const char* uuid, PLT_DeviceDataReference& device); - virtual void SetDelegate(PLT_MediaBrowserDelegate* delegate) { m_Delegate = delegate; } - -protected: - // PLT_CtrlPointListener methods - virtual NPT_Result OnDeviceAdded(PLT_DeviceDataReference& device); - virtual NPT_Result OnDeviceRemoved(PLT_DeviceDataReference& device); - virtual NPT_Result OnActionResponse(NPT_Result res, PLT_ActionReference& action, void* userdata); - virtual NPT_Result OnEventNotify(PLT_Service* service, NPT_List<PLT_StateVariable*>* vars); - - // ContentDirectory service responses - virtual NPT_Result OnBrowseResponse(NPT_Result res, - PLT_DeviceDataReference& device, - PLT_ActionReference& action, - void* userdata); - - virtual NPT_Result OnSearchResponse(NPT_Result res, - PLT_DeviceDataReference& device, - PLT_ActionReference& action, - void* userdata); - -protected: - PLT_CtrlPointReference m_CtrlPoint; - PLT_MediaBrowserDelegate* m_Delegate; - NPT_Lock<PLT_DeviceDataReferenceList> m_MediaServers; -}; - -#endif /* _PLT_MEDIA_BROWSER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaCache.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaCache.h deleted file mode 100644 index 8e365d807e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaCache.h +++ /dev/null @@ -1,203 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Cache -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - Simple Object Caching utility. - */ - -#ifndef _PLT_MEDIA_CACHE_H_ -#define _PLT_MEDIA_CACHE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_MediaCache -+---------------------------------------------------------------------*/ -/** - The PLT_MediaCache template provides a way to hold references to object in - memory. - */ -template <typename T, typename U> -class PLT_MediaCache -{ -public: - typedef typename NPT_Map<NPT_String,T>::Entry ElementEntry; - typedef typename NPT_List<ElementEntry*>::Iterator ElementIterator; - - PLT_MediaCache<T,U>() {} - virtual ~PLT_MediaCache<T,U>() {} - - NPT_Result Put(const char* root, const char* key, T& value, U* tag = NULL); - NPT_Result Get(const char* root, const char* key, T& value, U* tag = NULL); - NPT_Result Clear(const char* root, const char* key); - NPT_Result Clear(const char* root = NULL); - -private: - // methods - NPT_String GenerateKey(const char* root, const char* key); - -private: - // members - NPT_Mutex m_Mutex; - NPT_Map<NPT_String, T> m_Items; - NPT_Map<NPT_String, U> m_Tags; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaCache::GenerateKey -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_String -PLT_MediaCache<T,U>::GenerateKey(const char* root, const char* key) -{ - // TODO: There could be collision - NPT_String result = root; - result += "/"; - result += key; - return result; -} - -/*---------------------------------------------------------------------- -| PLT_MediaCache::Put -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_Result -PLT_MediaCache<T,U>::Put(const char* root, - const char* key, - T& value, - U* tag) -{ - NPT_AutoLock lock(m_Mutex); - - NPT_String fullkey = GenerateKey(root, key); - if (fullkey.GetLength() == 0) return NPT_ERROR_INVALID_PARAMETERS; - - m_Items.Erase(fullkey); - NPT_CHECK(m_Items.Put(fullkey, value)); - - if (tag) NPT_CHECK(m_Tags.Put(fullkey, *tag)); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| PLT_MediaCache::Get -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_Result -PLT_MediaCache<T,U>::Get(const char* root, - const char* key, - T& value, - U* tag /* = NULL */) -{ - NPT_AutoLock lock(m_Mutex); - - NPT_String fullkey = GenerateKey(root, key); - if (fullkey.GetLength() == 0) return NPT_ERROR_INVALID_PARAMETERS; - - T* _value = NULL; - NPT_CHECK(m_Items.Get(fullkey, _value)); - - U* _tag; - if (tag) { - m_Tags.Get(fullkey, _tag); - if (_tag) *tag = *_tag; - } - - value = *_value; - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| PLT_MediaCache::Clear -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_Result -PLT_MediaCache<T,U>::Clear(const char* root, const char* key) -{ - NPT_AutoLock lock(m_Mutex); - - NPT_String fullkey = GenerateKey(root, key); - if (fullkey.GetLength() == 0) return NPT_ERROR_INVALID_PARAMETERS; - - ElementIterator entries = m_Items.GetEntries().GetFirstItem(); - ElementIterator entry; - while (entries) { - entry = entries++; - if ((*entry)->GetKey() == (fullkey)) { - m_Items.Erase(fullkey); - m_Tags.Erase(fullkey); - return NPT_SUCCESS; - } - } - - return NPT_ERROR_NO_SUCH_ITEM; -} - -/*---------------------------------------------------------------------- -| PLT_MediaCache::Clear -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_Result -PLT_MediaCache<T,U>::Clear(const char* root) -{ - NPT_AutoLock lock(m_Mutex); - - if (!root || root[0]=='\0') - return m_Items.Clear(); - - NPT_String key = GenerateKey(root, ""); - ElementIterator entries = m_Items.GetEntries().GetFirstItem(); - ElementIterator entry; - while (entries) { - entry = entries++; - NPT_String entry_key = (*entry)->GetKey(); - if (entry_key.StartsWith(key)) { - m_Items.Erase(entry_key); - m_Tags.Erase(entry_key); - } - } - - return NPT_SUCCESS; -} - -#endif /* _PLT_MEDIA_CACHE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaConnect.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaConnect.h deleted file mode 100644 index c9ada41741..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaConnect.h +++ /dev/null @@ -1,110 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Connect Device -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_MEDIA_CONNECT_H_ -#define _PLT_MEDIA_CONNECT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltFileMediaServer.h" - -/*---------------------------------------------------------------------- -| PLT_MediaConnect -+---------------------------------------------------------------------*/ -class PLT_MediaConnect : public PLT_MediaServer -{ -public: - // class methods - static NPT_Result GetMappedObjectId(const char* object_id, - NPT_String& mapped_object_id); - - // constructor - PLT_MediaConnect(const char* friendly_name, - bool add_hostname = true, - const char* udn = NULL, - NPT_UInt16 port = 0, - bool port_rebind = false); - -protected: - virtual ~PLT_MediaConnect(); - - // PLT_DeviceHost methods - virtual NPT_Result SetupServices(); - virtual NPT_Result OnAction(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result ProcessGetDescription(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - virtual NPT_Result ProcessGetSCPD(PLT_Service* service, - NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // X_MS_MediaReceiverRegistrar - virtual NPT_Result OnIsAuthorized(PLT_ActionReference& action); - virtual NPT_Result OnRegisterDevice(PLT_ActionReference& action); - virtual NPT_Result OnIsValidated(PLT_ActionReference& action); - -protected: - NPT_Mutex m_Lock; - bool m_AddHostname; -}; - -/*---------------------------------------------------------------------- - | PLT_FileMediaConnectDelegate class - +---------------------------------------------------------------------*/ -class PLT_FileMediaConnectDelegate : public PLT_FileMediaServerDelegate -{ -public: - // constructor & destructor - PLT_FileMediaConnectDelegate(const char* url_root, const char* file_root) : - PLT_FileMediaServerDelegate(url_root, file_root) {} - virtual ~PLT_FileMediaConnectDelegate() {} - - // PLT_FileMediaServerDelegate methods - virtual NPT_Result GetFilePath(const char* object_id, NPT_String& filepath); - virtual NPT_Result OnSearchContainer(PLT_ActionReference& action, - const char* object_id, - const char* search_criteria, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); -}; - -#endif /* _PLT_MEDIA_CONNECT_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaController.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaController.h deleted file mode 100644 index 672c12ac37..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaController.h +++ /dev/null @@ -1,344 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Controller (Media Renderer Control Point) -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_MEDIA_CONTROLLER_H_ -#define _PLT_MEDIA_CONTROLLER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltCtrlPoint.h" -#include "PltMediaItem.h" - -/*---------------------------------------------------------------------- -| Defines -+---------------------------------------------------------------------*/ -typedef NPT_List<NPT_String> PLT_StringList; - -typedef struct { - PLT_StringList play_media; - PLT_StringList rec_media; - PLT_StringList rec_quality_modes; -} PLT_DeviceCapabilities; - -typedef struct { - NPT_UInt32 num_tracks; - NPT_TimeStamp media_duration; - NPT_String cur_uri; - NPT_String cur_metadata; - NPT_String next_uri; - NPT_String next_metadata; - NPT_String play_medium; - NPT_String rec_medium; - NPT_String write_status; -} PLT_MediaInfo; - -typedef struct { - NPT_UInt32 track; - NPT_TimeStamp track_duration; - NPT_String track_metadata; - NPT_String track_uri; - NPT_TimeStamp rel_time; - NPT_TimeStamp abs_time; - NPT_Int32 rel_count; - NPT_Int32 abs_count; -} PLT_PositionInfo; - -typedef struct { - NPT_String cur_transport_state; - NPT_String cur_transport_status; - NPT_String cur_speed; -} PLT_TransportInfo; - -typedef struct { - NPT_String play_mode; - NPT_String rec_quality_mode; -} PLT_TransportSettings; - -typedef struct { - NPT_UInt32 rcs_id; - NPT_UInt32 avtransport_id; - NPT_String protocol_info; - NPT_String peer_connection_mgr; - NPT_UInt32 peer_connection_id; - NPT_String direction; - NPT_String status; -} PLT_ConnectionInfo; - -/*---------------------------------------------------------------------- -| PLT_MediaControllerDelegate -+---------------------------------------------------------------------*/ -class PLT_MediaControllerDelegate -{ -public: - virtual ~PLT_MediaControllerDelegate() {} - - virtual bool OnMRAdded(PLT_DeviceDataReference& /* device */) { return true; } - virtual void OnMRRemoved(PLT_DeviceDataReference& /* device */) {} - virtual void OnMRStateVariablesChanged(PLT_Service* /* service */, - NPT_List<PLT_StateVariable*>* /* vars */) {} - - // AVTransport - virtual void OnGetCurrentTransportActionsResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_StringList* /* actions */, - void* /* userdata */) {} - - virtual void OnGetDeviceCapabilitiesResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_DeviceCapabilities* /* capabilities */, - void* /* userdata */) {} - - virtual void OnGetMediaInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_MediaInfo* /* info */, - void* /* userdata */) {} - - virtual void OnGetPositionInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_PositionInfo* /* info */, - void* /* userdata */) {} - - virtual void OnGetTransportInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_TransportInfo* /* info */, - void* /* userdata */) {} - - virtual void OnGetTransportSettingsResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_TransportSettings* /* settings */, - void* /* userdata */) {} - - virtual void OnNextResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnPauseResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnPlayResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnPreviousResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnSeekResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnSetAVTransportURIResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnSetPlayModeResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnStopResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - // ConnectionManager - virtual void OnGetCurrentConnectionIDsResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_StringList* /* ids */, - void* /* userdata */) {} - - virtual void OnGetCurrentConnectionInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_ConnectionInfo* /* info */, - void* /* userdata */) {} - - virtual void OnGetProtocolInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_StringList* /* sources */, - PLT_StringList* /* sinks */, - void* /* userdata */) {} - - // RenderingControl - virtual void OnSetMuteResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnGetMuteResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - const char* /* channel */, - bool /* mute */, - void* /* userdata */) {} - - virtual void OnSetVolumeResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnGetVolumeResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - const char* /* channel */, - NPT_UInt32 /* volume */, - void* /* userdata */) {} -}; - -/*---------------------------------------------------------------------- -| PLT_MediaController -+---------------------------------------------------------------------*/ -class PLT_MediaController : public PLT_CtrlPointListener -{ -public: - PLT_MediaController(PLT_CtrlPointReference& ctrl_point, - PLT_MediaControllerDelegate* delegate = NULL); - virtual ~PLT_MediaController(); - - // public methods - virtual void SetDelegate(PLT_MediaControllerDelegate* delegate) { - m_Delegate = delegate; - } - - // PLT_CtrlPointListener methods - virtual NPT_Result OnDeviceAdded(PLT_DeviceDataReference& device); - virtual NPT_Result OnDeviceRemoved(PLT_DeviceDataReference& device); - virtual NPT_Result OnActionResponse(NPT_Result res, PLT_ActionReference& action, void* userdata); - virtual NPT_Result OnEventNotify(PLT_Service* service, NPT_List<PLT_StateVariable*>* vars); - - // AVTransport - NPT_Result GetCurrentTransportActions(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetDeviceCapabilities(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetMediaInfo(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetPositionInfo(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetTransportInfo(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetTransportSettings(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result Next(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result Pause(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result Play(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, NPT_String speed, void* userdata); - NPT_Result Previous(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result Seek(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, NPT_String unit, NPT_String target, void* userdata); - bool CanSetNextAVTransportURI(PLT_DeviceDataReference& device); - NPT_Result SetAVTransportURI(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* uri, const char* metadata, void* userdata); - NPT_Result SetNextAVTransportURI(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* next_uri, const char* next_metadata, void* userdata); - NPT_Result SetPlayMode(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, NPT_String new_play_mode, void* userdata); - NPT_Result Stop(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - - // ConnectionManager - NPT_Result GetCurrentConnectionIDs(PLT_DeviceDataReference& device, void* userdata); - NPT_Result GetCurrentConnectionInfo(PLT_DeviceDataReference& device, NPT_UInt32 connection_id, void* userdata); - NPT_Result GetProtocolInfo(PLT_DeviceDataReference& device, void* userdata); - - // RenderingControl - NPT_Result SetMute(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* channel, bool mute, void* userdata); - NPT_Result GetMute(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* channel, void* userdata); - NPT_Result SetVolume(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* channel, int volume, void* userdata); - NPT_Result GetVolume(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* channel, void* userdata); - - // VariableStates - virtual NPT_Result GetProtocolInfoSink(const NPT_String& device_uuid, NPT_List<NPT_String>& sinks); - virtual NPT_Result GetTransportState(const NPT_String& device_uuid, NPT_String& state); - virtual NPT_Result GetVolumeState(const NPT_String& device_uuid, NPT_UInt32& volume); - - // methods - virtual NPT_Result FindRenderer(const char* uuid, PLT_DeviceDataReference& device); - virtual NPT_Result FindMatchingProtocolInfo(NPT_List<NPT_String>& sinks, const char* protocol_info); - virtual NPT_Result FindBestResource(PLT_DeviceDataReference& device, PLT_MediaObject& item, NPT_Cardinal& resource_index); - -private: - NPT_Result InvokeActionWithInstance(PLT_ActionReference& action, NPT_UInt32 instance_id, void* userdata = NULL); - - NPT_Result OnGetCurrentTransportActionsResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetDeviceCapabilitiesResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetMediaInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetPositionInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetTransportInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetTransportSettingsResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - - NPT_Result OnGetCurrentConnectionIDsResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetCurrentConnectionInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetProtocolInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - - NPT_Result OnGetMuteResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetVolumeResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - -public: - static void ParseCSV(const char* csv, PLT_StringList& values) { - const char* start = csv; - const char* p = start; - - // look for the , character - while (*p) { - if (*p == ',') { - NPT_String val(start, (int)(p-start)); - val.Trim(' '); - values.Add(val); - start = p + 1; - } - p++; - } - - // last one - NPT_String last(start, (int)(p-start)); - last.Trim(' '); - if (last.GetLength()) { - values.Add(last); - } - } - -private: - PLT_CtrlPointReference m_CtrlPoint; - PLT_MediaControllerDelegate* m_Delegate; - NPT_Lock<PLT_DeviceDataReferenceList> m_MediaRenderers; -}; - -typedef NPT_Reference<PLT_MediaController> PLT_MediaControllerReference; - -#endif /* _PLT_MEDIA_CONTROLLER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaItem.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaItem.h deleted file mode 100644 index 81f3dc8749..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaItem.h +++ /dev/null @@ -1,304 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Item -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Object reprensentation. - */ - -#ifndef _PLT_MEDIA_ITEM_H_ -#define _PLT_MEDIA_ITEM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" -#include "PltProtocolInfo.h" - -/*---------------------------------------------------------------------- -| typedefs -+---------------------------------------------------------------------*/ -/** - The PLT_ObjectClass struct is used to assign a type to a PLT_MediaObject. - */ -typedef struct { - NPT_String type; - NPT_String friendly_name; -} PLT_ObjectClass; - -typedef struct { - NPT_String type; - NPT_String friendly_name; - bool include_derived; -} PLT_SearchClass; - -typedef struct { - NPT_String name; - NPT_String role; -} PLT_PersonRole; - -class PLT_PersonRoles : public NPT_List<PLT_PersonRole> -{ -public: - NPT_Result Add(const NPT_String& name, const NPT_String& role = ""); - NPT_Result ToDidl(NPT_String& didl, const NPT_String& tag); - NPT_Result FromDidl(const NPT_Array<NPT_XmlElementNode*>& nodes); -}; - -typedef struct { - NPT_String allowed_use; // (CSV) - NPT_String validity_start; - NPT_String validity_end; - NPT_String remaining_time; - NPT_String usage_info; - NPT_String rights_info_uri; - NPT_String content_info_uri; -} PLT_Constraint; - -typedef struct { - PLT_PersonRoles artists; - PLT_PersonRoles actors; - PLT_PersonRoles authors; - NPT_String producer; //TODO: can be multiple - NPT_String director; //TODO: can be multiple - NPT_String publisher; //TODO: can be multiple - NPT_String contributor; // should match m_Creator (dc:creator) //TODO: can be multiple -} PLT_PeopleInfo; - -typedef struct { - NPT_List<NPT_String> genres; - NPT_String album; //TODO: can be multiple - NPT_String playlist; // dc:title of the playlist item the content belongs too //TODO: can be multiple -} PLT_AffiliationInfo; - -typedef struct { - NPT_String description; - NPT_String long_description; - NPT_String icon_uri; - NPT_String region; - NPT_String rating; - NPT_String rights; //TODO: can be multiple - NPT_String date; - NPT_String language; -} PLT_Description; - -typedef struct { - NPT_String uri; - NPT_String dlna_profile; -} PLT_AlbumArtInfo; - -typedef struct { - NPT_List<PLT_AlbumArtInfo> album_arts; - NPT_String artist_discography_uri; - NPT_String lyrics_uri; - NPT_List<NPT_String> relations; // dc:relation -} PLT_ExtraInfo; - -typedef struct { - NPT_UInt32 dvdregioncode; - NPT_UInt32 original_track_number; - NPT_String toc; - NPT_String user_annotation; //TODO: can be multiple -} PLT_MiscInfo; - -typedef struct { - NPT_UInt64 total; - NPT_UInt64 used; - NPT_UInt64 free; - NPT_UInt64 max_partition; - NPT_UInt64 medium; -} PLT_StorageInfo; - -typedef struct { - NPT_String program_title; - NPT_String series_title; - NPT_UInt32 episode_number; -} PLT_RecordedInfo; - -/*---------------------------------------------------------------------- -| PLT_MediaItemResource -+---------------------------------------------------------------------*/ -class PLT_MediaItemResource -{ -public: - PLT_MediaItemResource(); - ~PLT_MediaItemResource() {} - - NPT_String m_Uri; - PLT_ProtocolInfo m_ProtocolInfo; - NPT_UInt32 m_Duration; /* seconds */ - NPT_LargeSize m_Size; - NPT_String m_Protection; - NPT_UInt32 m_Bitrate; /* bytes/seconds */ - NPT_UInt32 m_BitsPerSample; - NPT_UInt32 m_SampleFrequency; - NPT_UInt32 m_NbAudioChannels; - NPT_String m_Resolution; - NPT_UInt32 m_ColorDepth; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaObject -+---------------------------------------------------------------------*/ -/** - The PLT_MediaObject class is any data entity that can be returned by a - ContentDirectory Service from a browsing or searching action. This is the - base class from which PLT_MediaItem and PLT_MediaContainer derive. - */ -class PLT_MediaObject -{ -protected: - NPT_IMPLEMENT_DYNAMIC_CAST(PLT_MediaObject) - - PLT_MediaObject() : m_Restricted(true) {} - -public: - virtual ~PLT_MediaObject() {} - - bool IsContainer() { return m_ObjectClass.type.StartsWith("object.container"); } - - static const char* GetUPnPClass(const char* filename, - const PLT_HttpRequestContext* context = NULL); - - virtual NPT_Result Reset(); - virtual NPT_Result ToDidl(const NPT_String& filter, NPT_String& didl); - virtual NPT_Result ToDidl(NPT_UInt32 mask, NPT_String& didl); - virtual NPT_Result FromDidl(NPT_XmlElementNode* entry); - -public: - /* common properties */ - PLT_ObjectClass m_ObjectClass; - NPT_String m_ObjectID; - NPT_String m_ParentID; - NPT_String m_ReferenceID; - - /* metadata */ - NPT_String m_Title; - NPT_String m_Creator; - NPT_String m_Date; - PLT_PeopleInfo m_People; - PLT_AffiliationInfo m_Affiliation; - PLT_Description m_Description; - PLT_RecordedInfo m_Recorded; - - /* properties */ - bool m_Restricted; - - /* extras */ - PLT_ExtraInfo m_ExtraInfo; - - /* miscellaneous info */ - PLT_MiscInfo m_MiscInfo; - - /* resources related */ - NPT_Array<PLT_MediaItemResource> m_Resources; - - /* original DIDL for Control Points to pass to a renderer when invoking SetAVTransportURI */ - NPT_String m_Didl; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaItem -+---------------------------------------------------------------------*/ -/** - The PLT_MediaItem class represents a first-level class derived directly from - PLT_MediaObject. It most often represents a single piece of AV data. - */ -class PLT_MediaItem : public PLT_MediaObject -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST_D(PLT_MediaItem, PLT_MediaObject) - - PLT_MediaItem(); - virtual ~PLT_MediaItem(); - - // PLT_MediaObject methods - NPT_Result ToDidl(const NPT_String& filter, NPT_String& didl); - NPT_Result ToDidl(NPT_UInt32 mask, NPT_String& didl); - NPT_Result FromDidl(NPT_XmlElementNode* entry); -}; - -/*---------------------------------------------------------------------- -| PLT_MediaContainer -+---------------------------------------------------------------------*/ -/** - The PLT_MediaContainer class represents a first-level class derived directly - from PLT_MediaObject. A PLT_MediaContainer represents a collection of - PLT_MediaObject instances. - */ -class PLT_MediaContainer : public PLT_MediaObject -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST_D(PLT_MediaContainer, PLT_MediaObject) - - PLT_MediaContainer(); - virtual ~PLT_MediaContainer(); - - // PLT_MediaObject methods - NPT_Result Reset(); - NPT_Result ToDidl(const NPT_String& filter, NPT_String& didl); - NPT_Result ToDidl(NPT_UInt32 mask, NPT_String& didl); - NPT_Result FromDidl(NPT_XmlElementNode* entry); - -public: - NPT_List<PLT_SearchClass> m_SearchClasses; - - /* properties */ - bool m_Searchable; - - /* container info related */ - NPT_Int32 m_ChildrenCount; - NPT_UInt32 m_ContainerUpdateID; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaObjectList -+---------------------------------------------------------------------*/ -/** - The PLT_MediaObjectList class is a list of PLT_MediaObject instances. - */ -class PLT_MediaObjectList : public NPT_List<PLT_MediaObject*> -{ -public: - PLT_MediaObjectList(); - -protected: - virtual ~PLT_MediaObjectList(void); - friend class NPT_Reference<PLT_MediaObjectList>; -}; - -typedef NPT_Reference<PLT_MediaObjectList> PLT_MediaObjectListReference; -typedef NPT_Reference<PLT_MediaObject> PLT_MediaObjectReference; - -#endif /* _PLT_MEDIA_ITEM_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaRenderer.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaRenderer.h deleted file mode 100644 index d596838fcb..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaRenderer.h +++ /dev/null @@ -1,117 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Renderer Device -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_MEDIA_RENDERER_H_ -#define _PLT_MEDIA_RENDERER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltDeviceHost.h" - -/*---------------------------------------------------------------------- -| PLT_MediaRendererDelegate -+---------------------------------------------------------------------*/ -class PLT_MediaRendererDelegate -{ -public: - virtual ~PLT_MediaRendererDelegate() {} - - // ConnectionManager - virtual NPT_Result OnGetCurrentConnectionInfo(PLT_ActionReference& action) = 0; - - // AVTransport - virtual NPT_Result OnNext(PLT_ActionReference& action) = 0; - virtual NPT_Result OnPause(PLT_ActionReference& action) = 0; - virtual NPT_Result OnPlay(PLT_ActionReference& action) = 0; - virtual NPT_Result OnPrevious(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSeek(PLT_ActionReference& action) = 0; - virtual NPT_Result OnStop(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSetAVTransportURI(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSetPlayMode(PLT_ActionReference& action) = 0; - - // RenderingControl - virtual NPT_Result OnSetVolume(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSetVolumeDB(PLT_ActionReference& action) = 0; - virtual NPT_Result OnGetVolumeDBRange(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSetMute(PLT_ActionReference& action) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaRenderer -+---------------------------------------------------------------------*/ -class PLT_MediaRenderer : public PLT_DeviceHost -{ -public: - PLT_MediaRenderer(const char* friendly_name, - bool show_ip = false, - const char* uuid = NULL, - unsigned int port = 0, - bool port_rebind = false); - // methods - virtual void SetDelegate(PLT_MediaRendererDelegate* delegate) { m_Delegate = delegate; } - - // PLT_DeviceHost methods - virtual NPT_Result SetupServices(); - virtual NPT_Result OnAction(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - -protected: - virtual ~PLT_MediaRenderer(); - - // PLT_MediaRendererInterface methods - // ConnectionManager - virtual NPT_Result OnGetCurrentConnectionInfo(PLT_ActionReference& action); - - // AVTransport - virtual NPT_Result OnNext(PLT_ActionReference& action); - virtual NPT_Result OnPause(PLT_ActionReference& action); - virtual NPT_Result OnPlay(PLT_ActionReference& action); - virtual NPT_Result OnPrevious(PLT_ActionReference& action); - virtual NPT_Result OnSeek(PLT_ActionReference& action); - virtual NPT_Result OnStop(PLT_ActionReference& action); - virtual NPT_Result OnSetAVTransportURI(PLT_ActionReference& action); - virtual NPT_Result OnSetPlayMode(PLT_ActionReference& action); - - // RenderingControl - virtual NPT_Result OnSetVolume(PLT_ActionReference& action); - virtual NPT_Result OnSetVolumeDB(PLT_ActionReference &action); - virtual NPT_Result OnGetVolumeDBRange(PLT_ActionReference &action); - virtual NPT_Result OnSetMute(PLT_ActionReference& action); - -private: - PLT_MediaRendererDelegate* m_Delegate; -}; - -#endif /* _PLT_MEDIA_RENDERER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaServer.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaServer.h deleted file mode 100644 index fb4f9f3288..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaServer.h +++ /dev/null @@ -1,187 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Server Device -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Server. - */ - -#ifndef _PLT_MEDIA_SERVER_H_ -#define _PLT_MEDIA_SERVER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltDeviceHost.h" -#include "PltMediaItem.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define MAX_PATH_LENGTH 1024 - -/*---------------------------------------------------------------------- -| PLT_MediaServerDelegate -+---------------------------------------------------------------------*/ -/** - The PLT_MediaServerDelegate class is an interface for delegating the handling - of the required UPnP AV ContentDirectory service actions. It also handles - resource HTTP requests (downloading). - */ -class PLT_MediaServerDelegate -{ -public: - PLT_MediaServerDelegate() {} - virtual ~PLT_MediaServerDelegate() {} - - virtual NPT_Result OnBrowseMetadata(PLT_ActionReference& /*action*/, - const char* /*object_id*/, - const char* /*filter*/, - NPT_UInt32 /*starting_index*/, - NPT_UInt32 /*requested_count*/, - const char* /*sort_criteria*/, - const PLT_HttpRequestContext& /*context*/) = 0; - virtual NPT_Result OnBrowseDirectChildren(PLT_ActionReference& /*action*/, - const char* /*object_id*/, - const char* /*filter*/, - NPT_UInt32 /*starting_index*/, - NPT_UInt32 /*requested_count*/, - const char* /*sort_criteria*/, - const PLT_HttpRequestContext& /*context*/) = 0; - virtual NPT_Result OnSearchContainer(PLT_ActionReference& /*action*/, - const char* /*container_id*/, - const char* /*search_criteria*/, - const char* /*filter*/, - NPT_UInt32 /*starting_index*/, - NPT_UInt32 /*requested_count*/, - const char* /*sort_criteria*/, - const PLT_HttpRequestContext& /*context*/) = 0; - virtual NPT_Result ProcessFileRequest(NPT_HttpRequest& /*request*/, - const NPT_HttpRequestContext& /*context*/, - NPT_HttpResponse& /*response*/) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaServer -+---------------------------------------------------------------------*/ -/** - The PLT_MediaServer class implements the base class for a UPnP AV - Media Server device. - */ -class PLT_MediaServer : public PLT_DeviceHost -{ -public: - /* BrowseFlags */ - enum BrowseFlags { - BROWSEMETADATA, - BROWSEDIRECTCHILDREN - }; - - // class methods - static NPT_Result ParseBrowseFlag(const char* str, BrowseFlags& flag); - static NPT_Result ParseSort(const NPT_String& sort, NPT_List<NPT_String>& list); - - // constructor - PLT_MediaServer(const char* friendly_name, - bool show_ip = false, - const char* uuid = NULL, - NPT_UInt16 port = 0, - bool port_rebind = false); - - // methods - virtual void SetDelegate(PLT_MediaServerDelegate* delegate) { m_Delegate = delegate; } - PLT_MediaServerDelegate* GetDelegate() { return m_Delegate; } - virtual void UpdateSystemUpdateID(NPT_UInt32 update); - virtual void UpdateContainerUpdateID(const char* id, NPT_UInt32 update); - -protected: - virtual ~PLT_MediaServer(); - - // PLT_DeviceHost methods - virtual NPT_Result SetupServices(); - virtual NPT_Result OnAction(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result ProcessHttpGetRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // ConnectionManager - virtual NPT_Result OnGetCurrentConnectionIDs(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnGetProtocolInfo(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnGetCurrentConnectionInfo(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - - // ContentDirectory - virtual NPT_Result OnGetSortCapabilities(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnGetSearchCapabilities(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnGetSystemUpdateID(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnBrowse(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnSearch(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - - // overridable methods - virtual NPT_Result OnBrowseMetadata(PLT_ActionReference& action, - const char* object_id, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnBrowseDirectChildren(PLT_ActionReference& action, - const char* object_id, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnSearchContainer(PLT_ActionReference& action, - const char* container_id, - const char* search_criteria, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - -private: - PLT_MediaServerDelegate* m_Delegate; -}; - -#endif /* _PLT_MEDIA_SERVER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaServerObject.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaServerObject.h deleted file mode 100644 index ceeeb64e9b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMediaServerObject.h +++ /dev/null @@ -1,87 +0,0 @@ -// -// PltMediaServerObject.h -// Platinum -// -// Created by Sylvain on 9/14/10. -// Copyright 2010 Plutinosoft LLC. All rights reserved. -// - -#import "NptConfig.h" - -#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE -#include <UIKit/UIKit.h> -#else -#import <Cocoa/Cocoa.h> -#endif - -#import "PltUPnPObject.h" - -// define -#if !defined(_PLATINUM_H_) -typedef class PLT_HttpRequestContext PLT_HttpRequestContext; -typedef class NPT_HttpResponse NPT_HttpResponse; -#endif - -/*---------------------------------------------------------------------- -| PLT_MediaServerObject -+---------------------------------------------------------------------*/ -@interface PLT_MediaServerObject : PLT_DeviceHostObject { - id delegate; -} - -@property (nonatomic, assign) id delegate; // we do not retain to avoid circular ref count -@end - -/*---------------------------------------------------------------------- -| PLT_MediaServerBrowseCapsule -+---------------------------------------------------------------------*/ -@interface PLT_MediaServerBrowseCapsule : PLT_ActionObject { - NSString* objectId; - NPT_UInt32 start; - NPT_UInt32 count; - NSString* filter; - NSString* sort; - PLT_HttpRequestContext* context; -} - -- (id)initWithAction:(PLT_Action*)action objectId:(const char*)objectId filter:(const char*)filter start:(NPT_UInt32)start count:(NPT_UInt32)count sort:(const char*)sort context:(PLT_HttpRequestContext*)context; - -@property (readonly, assign) NSString* objectId; -@property (readonly) NPT_UInt32 start; -@property (readonly) NPT_UInt32 count; -@property (readonly, assign) NSString* filter; -@property (readonly, assign) NSString* sort; -@end - -/*---------------------------------------------------------------------- -| PLT_MediaServerSearchCapsule -+---------------------------------------------------------------------*/ -@interface PLT_MediaServerSearchCapsule : PLT_MediaServerBrowseCapsule { - NSString* search; -} - -- (id)initWithAction:(PLT_Action*)action objectId:(const char*)objectId search:(const char*)search filter:(const char*)filter start:(NPT_UInt32)start count:(NPT_UInt32)count sort:(const char*)sort context:(PLT_HttpRequestContext*)context; - -@property (readonly, assign) NSString* search; -@end - -/*---------------------------------------------------------------------- -| PLT_MediaServerFileRequestCapsule -+---------------------------------------------------------------------*/ -@interface PLT_MediaServerFileRequestCapsule : NSObject { - NPT_HttpResponse* response; - PLT_HttpRequestContext* context; -} - -- (id)initWithResponse:(NPT_HttpResponse*)response context:(PLT_HttpRequestContext*)context; -@end - -/*---------------------------------------------------------------------- -| PLT_MediaServerDelegateObject -+---------------------------------------------------------------------*/ -@protocol PLT_MediaServerDelegateObject -- (NPT_Result)onBrowseMetadata:(PLT_MediaServerBrowseCapsule*)info; -- (NPT_Result)onBrowseDirectChildren:(PLT_MediaServerBrowseCapsule*)info; -- (NPT_Result)onSearchContainer:(PLT_MediaServerSearchCapsule*)info; -- (NPT_Result)onFileRequest:(PLT_MediaServerFileRequestCapsule*)info; -@end diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMetadataHandler.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMetadataHandler.h deleted file mode 100644 index d1709bd04e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMetadataHandler.h +++ /dev/null @@ -1,91 +0,0 @@ -/***************************************************************** -| -| Platinum - Metadata Handler -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_METADATA_HANDLER_H_ -#define _PLT_METADATA_HANDLER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_MetadataHandler class -+---------------------------------------------------------------------*/ -class PLT_MetadataHandler -{ -public: - virtual ~PLT_MetadataHandler() {} - - // metadata overridables - virtual bool HandleExtension(const char* extension) = 0; - virtual NPT_Result Load(NPT_InputStream& stream, - NPT_TimeInterval sleeptime = NPT_TimeInterval(.01), - NPT_TimeInterval timeout = NPT_TimeInterval(30.)) = 0; - virtual NPT_Result Save(NPT_OutputStream& stream, - NPT_TimeInterval sleeptime = NPT_TimeInterval(.01), - NPT_TimeInterval timeout = NPT_TimeInterval(30.)) = 0; - - virtual const char* GetLicenseData(NPT_String& licenseData) = 0; - virtual NPT_Result GetCoverArtData(char*& caData, int& len) = 0; - virtual const char* GetContentID(NPT_String& value) = 0; - virtual const char* GetTitle(NPT_String& value) = 0; - virtual const char* GetDescription(NPT_String& value) = 0; - virtual NPT_Result GetDuration(NPT_UInt32& seconds) = 0; - virtual const char* GetProtection(NPT_String& protection) = 0; - virtual NPT_Result GetYear(NPT_Size& year) = 0; - - // helper functions - virtual NPT_Result Load(const char* filename); - virtual NPT_Result Save(const char* filename); -}; - -/*---------------------------------------------------------------------- -| PLT_MetadataHandlerFinder -+---------------------------------------------------------------------*/ -class PLT_MetadataHandlerFinder -{ -public: - // methods - PLT_MetadataHandlerFinder(const char* extension) : m_Extension(extension) {} - bool operator()(PLT_MetadataHandler* const & handler) const { - return handler->HandleExtension(m_Extension) ? true : false; - } - -private: - // members - NPT_String m_Extension; -}; - -#endif /* _PLT_METADATA_HANDLER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMimeType.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMimeType.h deleted file mode 100644 index 0af0a890e3..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltMimeType.h +++ /dev/null @@ -1,75 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media MimeType -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media MimeType. - */ - -#ifndef _PLT_MIMETYPE_H_ -#define _PLT_MIMETYPE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_HttpRequestContext; - -/*---------------------------------------------------------------------- -| PLT_MimeType -+---------------------------------------------------------------------*/ -class PLT_MimeType -{ -public: - virtual ~PLT_MimeType() {} - - static const char* GetMimeType(const NPT_String& filename, - const PLT_HttpRequestContext* context = NULL); - static const char* GetMimeType(const NPT_String& filename, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - - static const char* GetMimeTypeFromExtension(const NPT_String& extension, - const PLT_HttpRequestContext* context = NULL); - static const char* GetMimeTypeFromExtension(const NPT_String& extension, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - -private: - PLT_MimeType() {} - -}; - -#endif /* _PLT_MIMETYPE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltProtocolInfo.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltProtocolInfo.h deleted file mode 100644 index d86ef0c38d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltProtocolInfo.h +++ /dev/null @@ -1,158 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Protocol Info -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Object Protocol Info. - */ - -#ifndef _PLT_PROTOCOL_INFO_H_ -#define _PLT_PROTOCOL_INFO_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_HttpRequestContext; - -/*---------------------------------------------------------------------- -| typedefs -+---------------------------------------------------------------------*/ -typedef struct PLT_HttpFileRequestHandler_DefaultDlnaExtMapEntry { - const char* mime_type; - const char* dlna_ext; -} PLT_HttpFileRequestHandler_DefaultDlnaExtMapEntry ; - -/*---------------------------------------------------------------------- -| PLT_ProtocolInfo -+---------------------------------------------------------------------*/ -/** - The PLT_ProtocolInfo class holds information about the protocol info of a - given UPnP Media Item resource. - */ -class PLT_ProtocolInfo -{ -public: - class FieldEntry { - public: - FieldEntry(const char* key, const char* value) : - m_Key(key), m_Value(value) {} - NPT_String m_Key; - NPT_String m_Value; - }; - - // class methods - static NPT_String GetMimeTypeFromProtocolInfo(const char* protocol_info); - - static const char* GetDlnaExtension(const char* mime_type, - const PLT_HttpRequestContext* context = NULL); - static const char* GetDlnaExtension(const char* mime_type, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - - static PLT_ProtocolInfo GetProtocolInfo(const char* filename, - bool with_dlna_extension = true, - const PLT_HttpRequestContext* context = NULL); - static PLT_ProtocolInfo GetProtocolInfo(const char* filename, - bool with_dlna_extension = true, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - - static PLT_ProtocolInfo GetProtocolInfoFromMimeType(const char* mime_type, - bool with_dlna_extension = true, - const PLT_HttpRequestContext* context = NULL); - static PLT_ProtocolInfo GetProtocolInfoFromMimeType(const char* mime_type, - bool with_dlna_extension = true, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - - // methods - PLT_ProtocolInfo(); - //PLT_ProtocolInfo(NPT_String protocol_info); - PLT_ProtocolInfo(const char* protocol_info); - PLT_ProtocolInfo(const char* protocol, - const char* mask, - const char* content_type, - const char* extra); - const NPT_String& GetProtocol() const { return m_Protocol; } - const NPT_String& GetMask() const { return m_Mask; } - const NPT_String& GetContentType() const { return m_ContentType; } - const NPT_String& GetExtra() const { return m_Extra; } - - const NPT_String& GetDLNA_PN() const { return m_DLNA_PN; } - - bool IsValid() { return m_Valid; } - - NPT_String ToString() const; - - bool Match(const PLT_ProtocolInfo& other) const; - -private: - typedef enum { - PLT_PROTINFO_PARSER_STATE_START, - PLT_PROTINFO_PARSER_STATE_PN, - PLT_PROTINFO_PARSER_STATE_OP, - PLT_PROTINFO_PARSER_STATE_PS, - PLT_PROTINFO_PARSER_STATE_CI, - PLT_PROTINFO_PARSER_STATE_FLAGS, - PLT_PROTINFO_PARSER_STATE_MAXSP, - PLT_PROTINFO_PARSER_STATE_OTHER - } PLT_ProtocolInfoParserState; - - NPT_Result SetProtocolInfo(const char* protocol_info); - NPT_Result ValidateField(const char* val, - const char* valid_chars, - NPT_Cardinal num_chars = 0); // 0 means variable number of chars - NPT_Result ParseExtra(NPT_List<FieldEntry>& entries); - NPT_Result ValidateExtra(); - -private: - NPT_String m_Protocol; - NPT_String m_Mask; - NPT_String m_ContentType; - NPT_String m_Extra; - - NPT_String m_DLNA_PN; // DLNA.ORG_PN Parameter (pn-param) - NPT_String m_DLNA_OP; // Operations Parameter (op-param) - NPT_String m_DLNA_PS; // Server-Side PlaySpeeds Parameter (ps-param) - NPT_String m_DLNA_CI; // Conversion Indicator Flag (ci-param) - NPT_String m_DLNA_FLAGS; // Flags Parameter (flags-param) - NPT_String m_DLNA_MAXSP; // Maximum RTSP Speed Header value (maxsp-param) - NPT_List<FieldEntry> m_DLNA_OTHER; // Vendor-defined 4th field Parameters (other-param) - - bool m_Valid; -}; - -#endif /* _PLT_PROTOCOL_INFO_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltRingBufferStream.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltRingBufferStream.h deleted file mode 100644 index d8ecd11d8e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltRingBufferStream.h +++ /dev/null @@ -1,121 +0,0 @@ -/***************************************************************** -| -| Platinum - Ring buffer stream -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_RING_BUFFER_STREAM_H_ -#define _PLT_RING_BUFFER_STREAM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStreams.h" -#include "NptRingBuffer.h" -#include "NptThreads.h" - -/*---------------------------------------------------------------------- -| PLT_RingBufferStream class -+---------------------------------------------------------------------*/ -class PLT_RingBufferStream : public NPT_DelegatingInputStream, - public NPT_DelegatingOutputStream -{ -public: - PLT_RingBufferStream(NPT_Size buffer_size = 4096, bool blocking = true); - PLT_RingBufferStream(NPT_RingBufferReference& buffer, bool blocking = true); - virtual ~PLT_RingBufferStream(); - - // methods - bool IsAborted() { return m_Aborted; } - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - NPT_Result GetSize(NPT_LargeSize& size) { - NPT_COMPILER_UNUSED(size); - return NPT_ERROR_NOT_SUPPORTED; - } - NPT_Result GetSpace(NPT_LargeSize& space) { - NPT_AutoLock autoLock(m_Lock); - space = m_RingBuffer->GetSpace(); - return NPT_SUCCESS; - } - NPT_Result GetAvailable(NPT_LargeSize& available) { - NPT_AutoLock autoLock(m_Lock); - available = m_RingBuffer->GetAvailable(); - return NPT_SUCCESS; - } - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL); - NPT_Result Flush(); - NPT_Result SetEOS(); - NPT_Result Abort(); - -protected: - // NPT_DelegatingInputStream methods - NPT_Result InputSeek(NPT_Position offset) { - NPT_COMPILER_UNUSED(offset); - return NPT_ERROR_NOT_SUPPORTED; - } - NPT_Result InputTell(NPT_Position& offset) { - NPT_AutoLock autoLock(m_Lock); - offset = m_TotalBytesRead; - return NPT_SUCCESS; - } - - // NPT_DelegatingOutputStream methods - NPT_Result OutputSeek(NPT_Position offset) { - NPT_COMPILER_UNUSED(offset); - return NPT_ERROR_NOT_SUPPORTED; - } - NPT_Result OutputTell(NPT_Position& offset) { - NPT_AutoLock autoLock(m_Lock); - offset = m_TotalBytesWritten; - return NPT_SUCCESS; - } - -private: - NPT_RingBufferReference m_RingBuffer; - NPT_Offset m_TotalBytesRead; - NPT_Offset m_TotalBytesWritten; - NPT_Mutex m_Lock; - bool m_Blocking; - bool m_Eos; - bool m_Aborted; -}; - -typedef NPT_Reference<PLT_RingBufferStream> PLT_RingBufferStreamReference; - -#endif // _PLT_RING_BUFFER_STREAM_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltService.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltService.h deleted file mode 100644 index 84959f2322..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltService.h +++ /dev/null @@ -1,521 +0,0 @@ -/***************************************************************** -| -| Platinum - Service -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Service - */ - -#ifndef _PLT_SERVICE_H_ -#define _PLT_SERVICE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltEvent.h" -#include "PltArgument.h" -#include "PltStateVariable.h" -#include "PltAction.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_DeviceData; - -/*---------------------------------------------------------------------- -| PLT_Service class -+---------------------------------------------------------------------*/ -/** - UPnP Service. - The PLT_Service class holds information about a UPnP service of a given device. - It maintains a list of actions and state variables. A PLT_DeviceData instance can own - one or more PLT_Service instances. When a PLT_Service is advertised as part of a - a UPnP Device (PLT_DeviceHost), it also maintains a list of subscribers to nofify when - state variables change. - */ -class PLT_Service -{ -public: - // methods - /** - Create an instance of a UPnP Service either hosted or discovered. - @param device Pointer to the PLT_DeviceData the service is associated to - @param type String representing the UPnP service type - @param id String representing the UPnP service id - @param name A String to create unique service SCPD, control and eventing urls - @param last_change_namespace A String for the LastChange state variable namespace if any - */ - PLT_Service(PLT_DeviceData* device, - const char* type, - const char* id, - const char* name, - const char* last_change_namespace = NULL); - virtual ~PLT_Service(); - - // methods - /** - When service is hosted by a PLT_DeviceHost, this setups the SCPD, control and event urls. - @param service_name the service name used to format unique urls - */ - NPT_Result InitURLs(const char* service_name); - - /** - Verify the service has been properly initialized or is a valid discovered service. - @return true if valid. - */ - bool IsValid() { return (m_ActionDescs.GetItemCount() > 0); } - - /** - When a PLT_DeviceHost needs to change more than one state variables at a time - but would rather send only one event with all state variable changes, this can be - used to pause and resume the automatic eventing. - @param pause Flag to indicate if eventing should be paused or resumed - */ - NPT_Result PauseEventing(bool pause = true); - - // class methods - static bool IsTrue(const NPT_String& value) { - if (value.Compare("1", true) && - value.Compare("true", true) && - value.Compare("yes", true)) { - return false; - } - return true; - } - - // accessor methods - /** - Set the SCPD url for control points to be able to fetch the SCPD xml document. - @param url relative path of SCPD url - */ - NPT_Result SetSCPDURL(const char* url) { m_SCPDURL = url; return NPT_SUCCESS; } - - /* - Set the Service Control url for control points to be able to invoke actions. - @param url relative path of control url - */ - NPT_Result SetControlURL(const char* url) { m_ControlURL = url; return NPT_SUCCESS; }; - - /** - Set the Service Event subscription url for control points to be able to subscribe - to events. - @param url relative path of even url - */ - NPT_Result SetEventSubURL(const char* url) { m_EventSubURL = url; return NPT_SUCCESS; }; - - /** - Return the SCPD url associated with this service. - @param absolute flag to indicate if absolute url including ip and port should - be returned - @return SCPD url - */ - NPT_String GetSCPDURL(bool absolute = false); - - /** - Return the Control url associated with this service. - @param absolute flag to indicate if absolute url including ip and port should - be returned - @return Control url - */ - NPT_String GetControlURL(bool absolute = false); - - /** - Return the Event subscription url associated with this service. - @param absolute flag to indicate if absolute url including ip and port should - be returned - @return Event url - */ - NPT_String GetEventSubURL(bool absolute = false); - - /** - Return the service id. - @return service id - */ - const NPT_String& GetServiceID() const { return m_ServiceID; } - - /** - Return the service type. - @return service type - */ - const NPT_String& GetServiceType() const { return m_ServiceType; } - - /** - Return the service friendly name. - @return service name - */ - const NPT_String& GetServiceName() const { return m_ServiceName; } - - /** - Return the PLT_DeviceData* the service is associated with. - @return PLT_DeviceData pointer - */ - PLT_DeviceData* GetDevice() { return m_Device; } - - /** - When a control point discover a new service with a higher version number - than it can work with, a lower version can be set to force backward - compatibility. - @param version Integer specifying the version to use - */ - NPT_Result ForceVersion(NPT_Cardinal version); - - /** - Return the service SCPD xml document. - @param xml String to receive document - */ - NPT_Result GetSCPDXML(NPT_String& xml); - - /** - Set the service SCPD xml document. - @param xml String SCPD xml document - */ - NPT_Result SetSCPDXML(const char* xml); - - /** - Populate the UPnP Device description document with service information. - @param parent XML Element where to insert the service XML Element - @param service Pointer to service XML Element node newly created so it can be - extended with additional non standard information. - */ - NPT_Result GetDescription(NPT_XmlElementNode* parent, NPT_XmlElementNode** service = NULL); - - /** - Set a new value for a given state variable. The service keeps track of which - state variables have changed and events are being triggered by a PLT_ServiceEventTask - when necessary. - @param name state variable name - @param value new State Variable value. - */ - NPT_Result SetStateVariable(const char* name, const char* value); - - /** - Certain state variables notifications must not be sent faster than a certain - rate according to the UPnP specs. This sets the rate for a given state variable. - @param name state variable name - @param rate a time interval specifying the minimum interval allowed between - notifications. - */ - NPT_Result SetStateVariableRate(const char* name, NPT_TimeInterval rate); - - /** - Certain state variables require extra xml attributes when serialized. - @param name state variable name - @param key the attribute name - @param value the attribute value - */ - NPT_Result SetStateVariableExtraAttribute(const char* name, const char* key, const char* value); - - /** - Helper function to increment a state variable representing a number. - @param name state variable name - */ - NPT_Result IncStateVariable(const char* name); - - /** - Return the PLT_StateVariable pointer given a state variable name. - @param name state variable name - @return PLT_StateVariable pointer - */ - PLT_StateVariable* FindStateVariable(const char* name); - - /** - Return the state variable value given a state variable name. - @param name state variable name - @param value state variable value output - */ - NPT_Result GetStateVariableValue(const char* name, NPT_String& value); - - /** - Return whether a service is capable of sending events. - @return true if sending events - */ - bool IsSubscribable(); - - /** - Return the list of state variables. - @return list of state variable pointers. - */ - const NPT_List<PLT_StateVariable*>& GetStateVariables() const { return m_StateVars; } - - /** - Return the PLT_ActionDesc given an action name - @param name action name - @return PLT_ActioDesc pointer - */ - PLT_ActionDesc* FindActionDesc(const char* name); - - /** - Return an array of actions descriptions PLT_ActionDesc. - @return array of PLT_ActionDesc pointers. - */ - const NPT_Array<PLT_ActionDesc*>& GetActionDescs() const { return m_ActionDescs; } - -private: - /** - A task to send events. - The PLT_ServiceEventTask is started when receiving a first subscription. It - monitors if some state variables have changed and sends events to all - subscribers if so. - */ - class PLT_ServiceEventTask : public PLT_ThreadTask { - public: - PLT_ServiceEventTask(PLT_Service* service) : m_Service(service) {} - - void DoRun() { - while (!IsAborting(100)) m_Service->NotifyChanged(); - } - - private: - PLT_Service* m_Service; - }; - - // methods - void Cleanup(); - - /** - Called by a PLT_StateVariable to keep track of what events need to be - sent by the PLT_ServiceEventTask task. - @param var PLT_StateVariable pointer - */ - NPT_Result AddChanged(PLT_StateVariable* var); - - /** - Certain UPnP services combine state variable changes into one single - state variable called "LastChange". This function updates the LastChange - state variable by looking through the list passed for state variables that - are not individually evented. - */ - NPT_Result UpdateLastChange(NPT_List<PLT_StateVariable*>& vars); - - /** - Send state variable change events to all subscribers. - */ - NPT_Result NotifyChanged(); - - // Events - /** - Called by PLT_DeviceHost when it receives a request for a new subscription. - */ - NPT_Result ProcessNewSubscription( - PLT_TaskManagerReference task_manager, - const NPT_SocketAddress& addr, - const NPT_String& callback_urls, - int timeout, - NPT_HttpResponse& response); - - /** - Called by PLT_DeviceHost when it receives a request renewing an existing - subscription. - */ - NPT_Result ProcessRenewSubscription( - const NPT_SocketAddress& addr, - const NPT_String& sid, - int timeout, - NPT_HttpResponse& response); - - /** - Called by PLT_DeviceHost when it receives a request to cancel an existing - subscription. - */ - NPT_Result ProcessCancelSubscription( - const NPT_SocketAddress& addr, - const NPT_String& sid, - NPT_HttpResponse& response); - - -protected: - // friends that need to call private functions - friend class PLT_StateVariable; // AddChanged - friend class PLT_DeviceHost; // ProcessXXSubscription - - //members - PLT_DeviceData* m_Device; - NPT_String m_ServiceType; - NPT_String m_ServiceID; - NPT_String m_ServiceName; - NPT_String m_SCPDURL; - NPT_String m_ControlURL; - NPT_String m_EventSubURL; - PLT_ServiceEventTask* m_EventTask; - NPT_Array<PLT_ActionDesc*> m_ActionDescs; - NPT_List<PLT_StateVariable*> m_StateVars; - NPT_Mutex m_Lock; - NPT_List<PLT_StateVariable*> m_StateVarsChanged; - NPT_List<PLT_StateVariable*> m_StateVarsToPublish; - NPT_List<PLT_EventSubscriberReference> m_Subscribers; - bool m_EventingPaused; - NPT_String m_LastChangeNamespace; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceSCPDURLFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceSCPDURLFinder class returns an instance of a PLT_Service given a - service SCPD url. - */ -class PLT_ServiceSCPDURLFinder -{ -public: - // methods - PLT_ServiceSCPDURLFinder(const char* url) : m_URL(url) {} - virtual ~PLT_ServiceSCPDURLFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_URL; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceControlURLFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceControlURLFinder class returns an instance of a PLT_Service - given a service control url. - */ -class PLT_ServiceControlURLFinder -{ -public: - // methods - PLT_ServiceControlURLFinder(const char* url) : m_URL(url) {} - virtual ~PLT_ServiceControlURLFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_URL; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceEventSubURLFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceEventSubURLFinder class returns an instance of a PLT_Service - given a service event subscription url. - */ -class PLT_ServiceEventSubURLFinder -{ -public: - // methods - PLT_ServiceEventSubURLFinder(const char* url) : m_URL(url) {} - virtual ~PLT_ServiceEventSubURLFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_URL; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceIDFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceIDFinder class returns an instance of a PLT_Service given a - service id. - */ -class PLT_ServiceIDFinder -{ -public: - // methods - PLT_ServiceIDFinder(const char* id) : m_Id(id) {} - virtual ~PLT_ServiceIDFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_Id; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceTypeFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceTypeFinder class returns an instance of a PLT_Service given a - service type. - */ -class PLT_ServiceTypeFinder -{ -public: - // methods - PLT_ServiceTypeFinder(const char* type) : m_Type(type) {} - virtual ~PLT_ServiceTypeFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_Type; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceNameFinder class returns an instance of a PLT_Service given a - service name. - */ -class PLT_ServiceNameFinder -{ -public: - // methods - PLT_ServiceNameFinder(const char* name) : m_Name(name) {} - virtual ~PLT_ServiceNameFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_Name; -}; - -/*---------------------------------------------------------------------- -| PLT_LastChangeXMLIterator -+---------------------------------------------------------------------*/ -/** - The PLT_LastChangeXMLIterator class is used to serialize the LastChange variable - changes into xml given a list of state variables. - */ -class PLT_LastChangeXMLIterator -{ -public: - // methods - PLT_LastChangeXMLIterator(NPT_XmlElementNode* node) : m_Node(node) {} - virtual ~PLT_LastChangeXMLIterator() {} - - NPT_Result operator()(PLT_StateVariable* const & var) const; - -private: - NPT_XmlElementNode* m_Node; -}; - -#endif /* _PLT_SERVICE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltSsdp.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltSsdp.h deleted file mode 100644 index 21015e53b1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltSsdp.h +++ /dev/null @@ -1,389 +0,0 @@ -/***************************************************************** -| -| Platinum - SSDP -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP SSDP - */ - -#ifndef _PLT_SSDP_H_ -#define _PLT_SSDP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltThreadTask.h" -#include "PltHttpServerTask.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_DeviceHost; - -/*---------------------------------------------------------------------- -| PLT_SsdpAnnounceType -+---------------------------------------------------------------------*/ -typedef enum { - PLT_ANNOUNCETYPE_BYEBYE, - PLT_ANNOUNCETYPE_ALIVE, - PLT_ANNOUNCETYPE_UPDATE -} PLT_SsdpAnnounceType; - -/*---------------------------------------------------------------------- -| PLT_SsdpPacketListener class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpPacketListener class is an interface for handling SSDP packets - (M-SEARCH and NOTIFY). - */ -class PLT_SsdpPacketListener -{ -public: - virtual ~PLT_SsdpPacketListener() {} - virtual NPT_Result OnSsdpPacket(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpSearchResponseListener class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpSearchResponseListener class is an interface for handling SSDP M-SEARCH - responses. - */ -class PLT_SsdpSearchResponseListener -{ -public: - virtual ~PLT_SsdpSearchResponseListener() {} - virtual NPT_Result ProcessSsdpSearchResponse(NPT_Result res, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpSender class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpSender class provides a mechanism to format and send SSDP packets. - */ -class PLT_SsdpSender -{ -public: - static NPT_Result SendSsdp(NPT_HttpRequest& request, - const char* usn, - const char* nt, - NPT_UdpSocket& socket, - bool notify, - const NPT_SocketAddress* addr = NULL); - - static NPT_Result SendSsdp(NPT_HttpResponse& response, - const char* usn, - const char* nt, - NPT_UdpSocket& socket, - bool notify, - const NPT_SocketAddress* addr = NULL); - -private: - static NPT_Result FormatPacket(NPT_HttpMessage& message, - const char* usn, - const char* nt, - NPT_UdpSocket& socket, - bool notify); -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpDeviceSearchResponseInterfaceIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpDeviceSearchResponseInterfaceIterator class looks for the best network - interface to use then sends a SSDP M-SEARCH response. - */ -class PLT_SsdpDeviceSearchResponseInterfaceIterator -{ -public: - PLT_SsdpDeviceSearchResponseInterfaceIterator(PLT_DeviceHost* device, - NPT_SocketAddress remote_addr, - const char* st) : - m_Device(device), m_RemoteAddr(remote_addr), m_ST(st) {} - virtual ~PLT_SsdpDeviceSearchResponseInterfaceIterator() {} - - NPT_Result operator()(NPT_NetworkInterface*& if_addr) const; - -private: - PLT_DeviceHost* m_Device; - NPT_SocketAddress m_RemoteAddr; - NPT_String m_ST; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpDeviceSearchResponseTask class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpDeviceSearchResponseTask class is used by a PLT_DeviceHost to respond - to SSDP M-SEARCH requests from UPnP ControlPoints. - */ -class PLT_SsdpDeviceSearchResponseTask : public PLT_ThreadTask -{ -public: - PLT_SsdpDeviceSearchResponseTask(PLT_DeviceHost* device, - NPT_SocketAddress remote_addr, - const char* st) : - m_Device(device), m_RemoteAddr(remote_addr), m_ST(st) {} - -protected: - virtual ~PLT_SsdpDeviceSearchResponseTask() {} - - // PLT_ThreadTask methods - virtual void DoRun(); - -protected: - PLT_DeviceHost* m_Device; - NPT_SocketAddress m_RemoteAddr; - NPT_String m_ST; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpAnnounceInterfaceIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpAnnounceInterfaceIterator class is used to send SSDP announcements - given a list of network interaces. - */ -class PLT_SsdpAnnounceInterfaceIterator -{ -public: - PLT_SsdpAnnounceInterfaceIterator(PLT_DeviceHost* device, PLT_SsdpAnnounceType type, bool broadcast = false) : - m_Device(device), m_Type(type), m_Broadcast(broadcast) {} - - NPT_Result operator()(NPT_NetworkInterface*& if_addr) const; - -private: - PLT_DeviceHost* m_Device; - PLT_SsdpAnnounceType m_Type; - bool m_Broadcast; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpInitMulticastIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpInitMulticastIterator class is used to join a multicast group - given a list of IP addresses. - */ -class PLT_SsdpInitMulticastIterator -{ -public: - PLT_SsdpInitMulticastIterator(NPT_UdpMulticastSocket* socket) : - m_Socket(socket) {} - - NPT_Result operator()(NPT_IpAddress& if_addr) const { - NPT_IpAddress addr; - addr.ResolveName("239.255.255.250"); - // OSX bug, since we're reusing the socket, we need to leave group first - // before joining it - m_Socket->LeaveGroup(addr, if_addr); - return m_Socket->JoinGroup(addr, if_addr); - } - -private: - NPT_UdpMulticastSocket* m_Socket; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpDeviceAnnounceTask class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpDeviceAnnounceTask class is a task to send UPnP Device SSDP announcements - (alive or byebye). It can be setup to automatically repeat after an interval. - */ -class PLT_SsdpDeviceAnnounceTask : public PLT_ThreadTask -{ -public: - PLT_SsdpDeviceAnnounceTask(PLT_DeviceHost* device, - NPT_TimeInterval repeat, - bool is_byebye_first = false, - bool extra_broadcast = false) : - m_Device(device), - m_Repeat(repeat), - m_IsByeByeFirst(is_byebye_first), - m_ExtraBroadcast(extra_broadcast) {} - -protected: - virtual ~PLT_SsdpDeviceAnnounceTask() {} - - // PLT_ThreadTask methods - virtual void DoRun(); - -protected: - PLT_DeviceHost* m_Device; - NPT_TimeInterval m_Repeat; - bool m_IsByeByeFirst; - bool m_ExtraBroadcast; -}; - -/*---------------------------------------------------------------------- -| PLT_NetworkInterfaceAddressSearchIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_NetworkInterfaceAddressSearchIterator class returns the network interface - given an IP address. - */ -class PLT_NetworkInterfaceAddressSearchIterator -{ -public: - PLT_NetworkInterfaceAddressSearchIterator(NPT_String ip) : m_Ip(ip) {} - virtual ~PLT_NetworkInterfaceAddressSearchIterator() {} - - NPT_Result operator()(NPT_NetworkInterface*& addr) const { - NPT_List<NPT_NetworkInterfaceAddress>::Iterator niaddr = addr->GetAddresses().GetFirstItem(); - if (!niaddr) return NPT_FAILURE; - - return (m_Ip.Compare((*niaddr).GetPrimaryAddress().ToString(), true) == 0) ? NPT_SUCCESS : NPT_FAILURE; - } - -private: - NPT_String m_Ip; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpPacketListenerIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpPacketListenerIterator class iterates through a list of - PLT_SsdpPacketListener instances to notify of a new SSDP incoming packet. - */ -class PLT_SsdpPacketListenerIterator -{ -public: - PLT_SsdpPacketListenerIterator(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context) : - m_Request(request), m_Context(context) {} - - NPT_Result operator()(PLT_SsdpPacketListener*& listener) const { - return listener->OnSsdpPacket(m_Request, m_Context); - } - -private: - NPT_HttpRequest& m_Request; - const NPT_HttpRequestContext& m_Context; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpListenTask class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpListenTask class is used to listen for incoming SSDP packets and - keep track of a list of PLT_SsdpPacketListener listeners to notify when a new - SSDP packet has arrived. - */ -class PLT_SsdpListenTask : public PLT_HttpServerSocketTask -{ -public: - PLT_SsdpListenTask(NPT_Socket* socket) : - PLT_HttpServerSocketTask(socket, true) { - // Change read time out for UDP because iPhone 3.0 seems to hang - // after reading everything from the socket even though - // more stuff arrived -#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE - m_Socket->SetReadTimeout(10000); -#endif - } - - NPT_Result AddListener(PLT_SsdpPacketListener* listener) { - NPT_AutoLock lock(m_Mutex); - m_Listeners.Add(listener); - return NPT_SUCCESS; - } - - NPT_Result RemoveListener(PLT_SsdpPacketListener* listener) { - NPT_AutoLock lock(m_Mutex); - m_Listeners.Remove(listener); - return NPT_SUCCESS; - } - - // PLT_Task methods - void DoAbort(); - -protected: - virtual ~PLT_SsdpListenTask() {} - - // PLT_HttpServerSocketTask methods - NPT_Result GetInputStream(NPT_InputStreamReference& stream); - NPT_Result GetInfo(NPT_SocketInfo& info); - NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - -protected: - PLT_InputDatagramStreamReference m_Datagram; - NPT_List<PLT_SsdpPacketListener*> m_Listeners; - NPT_Mutex m_Mutex; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpSearchTask class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpSearchTask class is a task used by a PLT_CtrlPoint to issue a SSDP - M-SEARCH request. It can be set to repeat at a certain frequencey. - */ -class PLT_SsdpSearchTask : public PLT_ThreadTask -{ -public: - PLT_SsdpSearchTask(NPT_UdpSocket* socket, - PLT_SsdpSearchResponseListener* listener, - NPT_HttpRequest* request, - NPT_TimeInterval frequency = NPT_TimeInterval(0.)); // pass 0 for one time - -protected: - virtual ~PLT_SsdpSearchTask(); - - // PLT_ThreadTask methods - virtual void DoAbort(); - virtual void DoRun(); - - virtual NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -private: - PLT_SsdpSearchResponseListener* m_Listener; - NPT_HttpRequest* m_Request; - NPT_TimeInterval m_Frequency; - bool m_Repeat; - NPT_UdpSocket* m_Socket; -}; - -#endif /* _PLT_SSDP_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltStateVariable.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltStateVariable.h deleted file mode 100644 index 46ec9e95a3..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltStateVariable.h +++ /dev/null @@ -1,223 +0,0 @@ -/***************************************************************** -| -| Platinum - Service State Variable -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP State Variable - */ - -#ifndef _PLT_STATE_VARIABLE_H_ -#define _PLT_STATE_VARIABLE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Argument; -class PLT_Service; - -/*---------------------------------------------------------------------- -| NPT_AllowedValueRange struct -+---------------------------------------------------------------------*/ -/** - The NPT_AllowedValueRange struct holds the min, max and step value allowed of - a UPnP Service state variable. - */ -typedef struct { - NPT_Int32 min_value; - NPT_Int32 max_value; - NPT_Int32 step; -} NPT_AllowedValueRange; - -/*---------------------------------------------------------------------- -| PLT_StateVariable class -+---------------------------------------------------------------------*/ -/** - The PLT_StateVariable class maintains the state of a UPnP Service state variable. - It is used by a PLT_DeviceHost instance to notify subscribers of a change or by a - subscriber (PLT_CtrlPoint) when a service state variable change notification - has been received. - */ -class PLT_StateVariable -{ -public: - PLT_StateVariable(PLT_Service* service); - ~PLT_StateVariable(); - - /** - Populate the SCPD xml document with state variable information. - @param node XML Element where to insert the state variable XML Element - */ - NPT_Result GetSCPDXML(NPT_XmlElementNode* node); - - /** - Return the PLT_Service that this state variable is associated with. - @return PLT_Service pointer. - */ - PLT_Service* GetService(); - - /** - Return whether the state variable is eventable directly or indirectly. A state - variable sends events indirectly when part of the "LastChange" state variable. - @param indirectly Boolean to test if the state variable is sending events indirectly - @return Whether the state variable sends events according to the input flag specified. - */ - bool IsSendingEvents(bool indirectly = false); - - /** - Force the state variable to send events directly. - */ - void DisableIndirectEventing(); - - /** - Certain state variables notifications must not be sent faster than a certain - rate according to the UPnP specs. This sets the rate for a given state variable. - @param rate time interval to respect between notifications. - */ - NPT_Result SetRate(NPT_TimeInterval rate); - - /** - Set the state variable value. The value is first validated to make sure - it is an allowed value. Once the value is validated, it is marked for eventing by - calling the PLT_Service AddChanged function. - @param value new state variable value. Can be a comma separated list of values. - */ - NPT_Result SetValue(const char* value); - - /** - Validate the new value of the state variable. - @param value new state variable value. Can be a comma separated list of values. - */ - NPT_Result ValidateValue(const char* value); - - /** - Certain state variables require extra xml attributes when serialized. - @param name the attribute name - @param value the attribute value - */ - NPT_Result SetExtraAttribute(const char* name, const char* value); - - /** - Return the state variable name. - @return state variable name. - */ - const NPT_String& GetName() const { return m_Name; } - - /** - Return the current state variable value. - @return state variable current value. - */ - const NPT_String& GetValue() const { return m_Value; } - - /** - Return the state variable data type. - @return state variable data type. - */ - const NPT_String& GetDataType() const { return m_DataType; } - - /** - Return the state variable allowed value range if any. - @return state variable value range pointer or null if none. - */ - const NPT_AllowedValueRange* GetAllowedValueRange() const { return m_AllowedValueRange; } - - /** - Helper function to return a state variable given a list of state variables - and a state variable name. - @param vars list of state variables - @param name state variable name to look for - @return PLT_StateVariable pointer. - */ - static PLT_StateVariable* Find(NPT_List<PLT_StateVariable*>& vars, - const char* name); - -protected: - /** - Return whether the state variable value changed and subscribers need to - be notified. - */ - bool IsReadyToPublish(); - - /** - Serialize the state variable into xml. - */ - NPT_Result Serialize(NPT_XmlElementNode& node); - -protected: - friend class PLT_Service; - friend class PLT_LastChangeXMLIterator; - - //members - PLT_Service* m_Service; - NPT_AllowedValueRange* m_AllowedValueRange; - NPT_String m_Name; - NPT_String m_DataType; - NPT_String m_DefaultValue; - bool m_IsSendingEvents; - bool m_IsSendingEventsIndirectly; - NPT_TimeInterval m_Rate; - NPT_TimeStamp m_LastEvent; - NPT_Array<NPT_String*> m_AllowedValues; - NPT_String m_Value; - - NPT_Map<NPT_String,NPT_String> m_ExtraAttributes; -}; - -/*---------------------------------------------------------------------- -| PLT_StateVariableNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_StateVariableNameFinder class returns the PLT_StateVariable instance - given a state variable name. - */ -class PLT_StateVariableNameFinder -{ -public: - // methods - PLT_StateVariableNameFinder(const char* name) : m_Name(name) {} - virtual ~PLT_StateVariableNameFinder() {} - - bool operator()(const PLT_StateVariable* const & state_variable) const { - return state_variable->GetName().Compare(m_Name, true) ? false : true; - } - -private: - // members - NPT_String m_Name; -}; - -#endif /* _PLT_STATE_VARIABLE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltStreamPump.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltStreamPump.h deleted file mode 100644 index 58ef256581..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltStreamPump.h +++ /dev/null @@ -1,132 +0,0 @@ -/***************************************************************** -| -| Platinum - Stream Pump -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_STREAM_PUMP_H_ -#define _PLT_STREAM_PUMP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStreams.h" -#include "NptRingBuffer.h" - -/*---------------------------------------------------------------------- -| PLT_PipeInputStream -+---------------------------------------------------------------------*/ -class PLT_PipeInputStream -{ -public: - // constructor and destructor - virtual ~PLT_PipeInputStream() {}; - - // methods - virtual NPT_Result Receive(NPT_InputStream& stream, NPT_Size max_bytes_to_read, NPT_Size* bytes_read = 0) = 0; -}; - -typedef NPT_Reference<PLT_PipeInputStream> PLT_PipeInputStreamReference; - -/*---------------------------------------------------------------------- -| PLT_PipeOutputStream -+---------------------------------------------------------------------*/ -class PLT_PipeOutputStream -{ -public: - // constructor and destructor - virtual ~PLT_PipeOutputStream() {}; - - // methods - virtual NPT_Result Transmit(NPT_OutputStream& stream) = 0; -}; - -typedef NPT_Reference<PLT_PipeOutputStream> PLT_PipeOutputStreamReference; - -/*---------------------------------------------------------------------- -| PLT_StreamPump class -+---------------------------------------------------------------------*/ -class PLT_StreamPump -{ -public: - virtual ~PLT_StreamPump(); - -protected: - // methods - PLT_StreamPump(NPT_Size size = 65535); - NPT_Result PullData(NPT_InputStream& input, NPT_Size max_bytes_to_read); - NPT_Result PushData(NPT_OutputStream& output, NPT_Size& bytes_written); - - // members - NPT_RingBuffer* m_RingBuffer; - NPT_Offset m_TotalBytesRead; - NPT_Offset m_TotalBytesWritten; -}; - -/*---------------------------------------------------------------------- -| PLT_PipeInputStreamPump class -+---------------------------------------------------------------------*/ -class PLT_PipeInputStreamPump : public PLT_StreamPump, - public PLT_PipeInputStream -{ -public: - PLT_PipeInputStreamPump(NPT_OutputStreamReference& output, NPT_Size size = 65535); - virtual ~PLT_PipeInputStreamPump(); - - NPT_Result Receive(NPT_InputStream& input, NPT_Size max_bytes_to_read, NPT_Size* bytes_read); - -protected: - NPT_OutputStreamReference m_Output; - NPT_Result m_LastRes; -}; - -/*---------------------------------------------------------------------- -| PLT_PipeInputStreamPump class -+---------------------------------------------------------------------*/ -class PLT_PipeOutputStreamPump : public PLT_StreamPump, - public PLT_PipeOutputStream -{ -public: - PLT_PipeOutputStreamPump(NPT_InputStreamReference& input, - NPT_Size size = 65535, - NPT_Size max_bytes_to_read = 0); - virtual ~PLT_PipeOutputStreamPump(); - - NPT_Result Transmit(NPT_OutputStream& output); - -protected: - NPT_InputStreamReference m_Input; - NPT_Size m_MaxBytesToRead; - NPT_Result m_LastRes; -}; - - -#endif // _PLT_STREAM_PUMP_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltSyncMediaBrowser.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltSyncMediaBrowser.h deleted file mode 100644 index 0fe43b5cc5..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltSyncMediaBrowser.h +++ /dev/null @@ -1,173 +0,0 @@ -/***************************************************************** -| -| Platinum - Synchronous Media Browser -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Controller synchronous implementation. - */ - -#ifndef _PLT_SYNC_MEDIA_BROWSER_ -#define _PLT_SYNC_MEDIA_BROWSER_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltCtrlPoint.h" -#include "PltMediaBrowser.h" -#include "PltMediaCache.h" - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef NPT_Map<NPT_String, PLT_DeviceDataReference> PLT_DeviceMap; -typedef NPT_Map<NPT_String, PLT_DeviceDataReference>::Entry PLT_DeviceMapEntry; - -typedef struct PLT_BrowseData { - NPT_SharedVariable shared_var; - NPT_Result res; - PLT_BrowseInfo info; -} PLT_BrowseData; - -typedef NPT_Reference<PLT_BrowseData> PLT_BrowseDataReference; - -/*---------------------------------------------------------------------- -| PLT_MediaContainerListener -+---------------------------------------------------------------------*/ -class PLT_MediaContainerChangesListener -{ -public: - virtual ~PLT_MediaContainerChangesListener() {} - virtual void OnContainerChanged(PLT_DeviceDataReference& device, - const char* item_id, - const char* update_id) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_SyncMediaBrowser -+---------------------------------------------------------------------*/ -class PLT_SyncMediaBrowser : public PLT_MediaBrowser, - public PLT_MediaBrowserDelegate -{ -public: - PLT_SyncMediaBrowser(PLT_CtrlPointReference& ctrlPoint, - bool use_cache = false, - PLT_MediaContainerChangesListener* listener = NULL); - virtual ~PLT_SyncMediaBrowser(); - - // PLT_MediaBrowser methods - virtual NPT_Result OnDeviceAdded(PLT_DeviceDataReference& device); - virtual NPT_Result OnDeviceRemoved(PLT_DeviceDataReference& device); - - // PLT_MediaBrowserDelegate methods - virtual void OnMSStateVariablesChanged(PLT_Service* service, - NPT_List<PLT_StateVariable*>* vars); - virtual void OnBrowseResult(NPT_Result res, - PLT_DeviceDataReference& device, - PLT_BrowseInfo* info, - void* userdata); - - // methods - void SetContainerListener(PLT_MediaContainerChangesListener* listener) { - m_ContainerListener = listener; - } - NPT_Result BrowseSync(PLT_DeviceDataReference& device, - const char* id, - PLT_MediaObjectListReference& list, - bool metadata = false, - NPT_Int32 start = 0, - NPT_Cardinal max_results = 0); // 0 means all - - const NPT_Lock<PLT_DeviceMap>& GetMediaServersMap() const { return m_MediaServers; } - bool IsCached(const char* uuid, const char* object_id); - -protected: - NPT_Result BrowseSync(PLT_BrowseDataReference& browse_data, - PLT_DeviceDataReference& device, - const char* object_id, - NPT_Int32 index, - NPT_Int32 count, - bool browse_metadata = false, - const char* filter = "dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author,searchable,childCount", // explicitely specify res otherwise WMP won't return a URL! - const char* sort = ""); -private: - NPT_Result Find(const char* ip, PLT_DeviceDataReference& device); - NPT_Result WaitForResponse(NPT_SharedVariable& shared_var); - -private: - NPT_Lock<PLT_DeviceMap> m_MediaServers; - PLT_MediaContainerChangesListener* m_ContainerListener; - bool m_UseCache; - PLT_MediaCache<PLT_MediaObjectListReference,NPT_String> m_Cache; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceMapFinderByIp -+---------------------------------------------------------------------*/ -class PLT_DeviceMapFinderByIp -{ -public: - // methods - PLT_DeviceMapFinderByIp(const char* ip) : m_IP(ip) {} - - bool operator()(const PLT_DeviceMapEntry* const& entry) const { - const PLT_DeviceDataReference& device = entry->GetValue(); - return (device->GetURLBase().GetHost() == m_IP); - } - -private: - // members - NPT_String m_IP; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceFinderByUUID -+---------------------------------------------------------------------*/ -class PLT_DeviceMapFinderByUUID -{ -public: - // methods - PLT_DeviceMapFinderByUUID(const char* uuid) : m_UUID(uuid) {} - - bool operator()(const PLT_DeviceMapEntry* const& entry) const { - PLT_DeviceDataReference device = entry->GetValue(); - return device->GetUUID() == m_UUID; - } - -private: - // members - NPT_String m_UUID; -}; - -#endif /* _PLT_SYNC_MEDIA_BROWSER_ */ - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltTaskManager.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltTaskManager.h deleted file mode 100644 index cf8f4cb428..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltTaskManager.h +++ /dev/null @@ -1,117 +0,0 @@ -/***************************************************************** -| -| Platinum - Task Manager -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - Runnable Tasks Manager - */ - -#ifndef _PLT_TASKMANAGER_H_ -#define _PLT_TASKMANAGER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_ThreadTask; - -/*---------------------------------------------------------------------- -| PLT_TaskManager class -+---------------------------------------------------------------------*/ -/** - The PLT_TaskManager class maintains a list of runnable tasks. During shutdown, it - can stop all running tasks. Additionally, it can limit the number of - tasks that can run at any given time. - */ -class PLT_TaskManager -{ -public: - /** - Create a new Task Manager. - @param max_tasks Maximum number of concurrent tasks that the task manager - will allow. When the value is reached, a thread calling AddTask will block until - a task has finished. - */ - PLT_TaskManager(NPT_Cardinal max_tasks = 0); - virtual ~PLT_TaskManager(); - - /** - Start a new new task and associates it with this task manager. - @param task new task - @param delay optional time interval to wait before launching the new task - @param auto_destroy a flag to indicate if the task is owned by someone else - and thus should not destroy itself when done. - */ - virtual NPT_Result StartTask(PLT_ThreadTask* task, - NPT_TimeInterval* delay = NULL, - bool auto_destroy = true); - - /** - Stop all tasks associated with this task manager. - */ - NPT_Result Abort(); - - /** - Reset task manager after an Abort so new tasks can be queued. - */ - NPT_Result Reset(); - - /** - Returns the max number of concurrent tasks allowed. 0 for no limit. - */ - NPT_Cardinal GetMaxTasks() { return m_MaxTasks; } - -private: - friend class PLT_ThreadTask; - - // called by PLT_ThreadTask - NPT_Result AddTask(PLT_ThreadTask* task); - NPT_Result RemoveTask(PLT_ThreadTask* task); - -private: - NPT_List<PLT_ThreadTask*> m_Tasks; - NPT_Mutex m_TasksLock; - NPT_Mutex m_CallbackLock; - NPT_Queue<int>* m_Queue; - NPT_Cardinal m_MaxTasks; - NPT_Cardinal m_RunningTasks; - bool m_Stopping; -}; - -typedef NPT_Reference<PLT_TaskManager> PLT_TaskManagerReference; - -#endif /* _PLT_TASKMANAGER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltThreadTask.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltThreadTask.h deleted file mode 100644 index 8315999c8e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltThreadTask.h +++ /dev/null @@ -1,140 +0,0 @@ -/***************************************************************** -| -| Platinum - Thread Tasks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - Runnable Task - */ - -#ifndef _PLT_THREADTASK_H_ -#define _PLT_THREADTASK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltTaskManager.h" - -/*---------------------------------------------------------------------- -| PLT_ThreadTask class -+---------------------------------------------------------------------*/ -/** - The PLT_ThreadTask class is a base class for executing a given task in a worker - thread. A PLT_ThreadTask is usually always associated to a PLT_TaskManager - which maintains a list to stop and destroy tasks when finished. - */ -class PLT_ThreadTask : public NPT_Runnable -{ -public: - friend class PLT_TaskManager; - - /** - When a task is not managed by a PLT_TaskManager, the owner must call - this to stop and destroy it. - */ - NPT_Result Kill(); - -protected: - /** - Return whether this task is in the process of stopping. - @param timeout number of milliseconds to wait - @return boolean indicating if the task is stopping - */ - virtual bool IsAborting(NPT_Timeout timeout) { - return NPT_SUCCEEDED(m_Abort.WaitUntilEquals(1, timeout)); - } - - /** - Start a task by associating it with a task manager. - @param task_manager PLT_TaskManager pointer - @param delay optional time interval to wait before launching the new task - @param auto_destroy a flag to indicate if the task is owned by someone else - and thus should not destroy itself when done. - */ - NPT_Result Start(PLT_TaskManager* task_manager = NULL, - NPT_TimeInterval* delay = NULL, - bool auto_destroy = true); - /** - Stop the task. This is either called by a task manager or the Kill method. - @param blocking Whether the method should block until the task has finished. - */ - NPT_Result Stop(bool blocking = true); - - /** - This method to override in derived classes is called when the task is about - to start. - */ - virtual void DoInit() {} - - /** - This method to override in derived classes is called when the task is about - to stop. - */ - virtual void DoAbort() {} - - /** - This method to override in derived classes is the main task loop. - */ - virtual void DoRun() {} - - /** - A PLT_ThreadTask base class is never instantiated directly. - */ - PLT_ThreadTask(); - - /** - The task manager will destroy the task when finished if m_AutoDestroy is - true otherwise the owner of this task must use the Kill method. - */ - virtual ~PLT_ThreadTask(); - -private: - NPT_Result StartThread(); - - // NPT_Thread methods - void Run(); - -protected: - // members - PLT_TaskManager* m_TaskManager; - -private: - // members - NPT_SharedVariable m_Started; - NPT_SharedVariable m_Abort; - NPT_Thread* m_Thread; - bool m_AutoDestroy; - NPT_TimeInterval m_Delay; -}; - -#endif /* _PLT_THREADTASK_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltUPnP.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltUPnP.h deleted file mode 100644 index 7822bf3458..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltUPnP.h +++ /dev/null @@ -1,143 +0,0 @@ -/***************************************************************** -| -| Platinum - UPnP Engine -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Devices and ControlPoints Manager - */ - -#ifndef _PLT_UPNP_H_ -#define _PLT_UPNP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltTaskManager.h" -#include "PltCtrlPoint.h" -#include "PltDeviceHost.h" -#include "PltUtilities.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define PLT_DLNA_SSDP_DELAY 0.05f -#define PLT_DLNA_SSDP_DELAY_GROUP 0.2f - -/*---------------------------------------------------------------------- -| forward definitions -+---------------------------------------------------------------------*/ -class PLT_SsdpListenTask; - -/*---------------------------------------------------------------------- -| PLT_UPnP class -+---------------------------------------------------------------------*/ -/** - The PLT_UPnP class maintains a list of devices (PLT_DeviceHost) to advertise and/or - control points (PLT_CtrlPoint). - */ -class PLT_UPnP -{ -public: - /** - Create a UPnP instance. - */ - PLT_UPnP(); - ~PLT_UPnP(); - - /** - Add and start a device inside this UPnP context. - @param device device to start. - */ - NPT_Result AddDevice(PLT_DeviceHostReference& device); - - /** - Add and start a control point inside this UPnP context. - @param ctrlpoint control point to start. - */ - NPT_Result AddCtrlPoint(PLT_CtrlPointReference& ctrlpoint); - - /** - Remove an existing device from this UPnP context. - @param device device to stop. - */ - NPT_Result RemoveDevice(PLT_DeviceHostReference& device); - - /** - Remove an existing control point from this UPnP context. - @param ctrlpoint control point to stop. - */ - NPT_Result RemoveCtrlPoint(PLT_CtrlPointReference& ctrlpoint); - - /** - Start the UPnP context and all existing devices and control points - associated with it. - */ - NPT_Result Start(); - - /** - Stop the UPnP context and all existing devices and control points - associated with it. - */ - NPT_Result Stop(); - - /** - Return the UPnP Engine state. - @return True if the UPnP engine is running. - */ - bool IsRunning() { return m_Started; } - - /** - When a device and a control point are added to the same UPnP context, it is - desired that the device be not discovered by the control point. For example when - creating a combo UPnP Renderer/CtrlPoint. This methods tells the control point - to ignore devices associated with the same UPnP context. - @param ignore boolean to ignore devices in context - */ - void SetIgnoreLocalUUIDs(bool ignore) { m_IgnoreLocalUUIDs = ignore; } - -private: - // members - NPT_Mutex m_Lock; - NPT_List<PLT_DeviceHostReference> m_Devices; - NPT_List<PLT_CtrlPointReference> m_CtrlPoints; - NPT_Reference<PLT_TaskManager> m_TaskManager; - - // Since we can only have one socket listening on port 1900, - // we create it in here and we will attach every control points - // and devices to it when they're added - bool m_Started; - PLT_SsdpListenTask* m_SsdpListenTask; - bool m_IgnoreLocalUUIDs; -}; - -#endif /* _PLT_UPNP_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltUPnPObject.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltUPnPObject.h deleted file mode 100644 index b7bf9e790b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltUPnPObject.h +++ /dev/null @@ -1,65 +0,0 @@ -// -// PltUPnPObject.h -// Platinum -// -// Created by Sylvain on 9/14/10. -// Copyright 2010 Plutinosoft LLC. All rights reserved. -// - -#import "NptConfig.h" -#import "NptTypes.h" -#import "NptResults.h" - -#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE -#include <UIKit/UIKit.h> -#else -#import <Cocoa/Cocoa.h> -#endif - - -#if !defined(_PLATINUM_H_) -typedef struct PLT_UPnP PLT_UPnP; -typedef struct PLT_Action PLT_Action; -typedef struct PLT_DeviceHostReference PLT_DeviceHostReference; -#endif - -/*---------------------------------------------------------------------- -| PLT_ActionObject -+---------------------------------------------------------------------*/ -@interface PLT_ActionObject : NSObject { -@private - PLT_Action* action; -} - -- (id)initWithAction:(PLT_Action *)_action; -- (NPT_Result)setValue:(NSString*)value forArgument:(NSString*)argument; -- (NPT_Result)setErrorCode:(unsigned int)code withDescription:(NSString*)description; -@end - -/*---------------------------------------------------------------------- -| PLT_DeviceHostObject -+---------------------------------------------------------------------*/ -@interface PLT_DeviceHostObject : NSObject { -@private - PLT_DeviceHostReference* device; -} - -- (id)initWithDeviceHost:(PLT_DeviceHostReference*)device; -@end - -/*---------------------------------------------------------------------- -| PLT_UPnPObject -+---------------------------------------------------------------------*/ -@interface PLT_UPnPObject : NSObject { -@private - PLT_UPnP* upnp; -} - -- (NPT_Result)start; -- (NPT_Result)stop; -- (bool)isRunning; - -- (NPT_Result)addDevice:(PLT_DeviceHostObject*)device; -- (NPT_Result)removeDevice:(PLT_DeviceHostObject*)device; - -@end diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltUtilities.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltUtilities.h deleted file mode 100644 index bdc1340173..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltUtilities.h +++ /dev/null @@ -1,765 +0,0 @@ -/***************************************************************** -| -| Platinum - Utilities -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_UTILITIES_H_ -#define _PLT_UTILITIES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_XmlAttributeFinder -+---------------------------------------------------------------------*/ -/** - The PLT_XmlAttributeFinder class is used to determine if an attribute - exists given an xml element node, an attribute name and namespace. - */ -class PLT_XmlAttributeFinder -{ -public: - // if 'namespc' is NULL, we're looking for ANY namespace - // if 'namespc' is '\0', we're looking for NO namespace - // if 'namespc' is non-empty, look for that SPECIFIC namespace - PLT_XmlAttributeFinder(const NPT_XmlElementNode& element, - const char* name, - const char* namespc) : - m_Element(element), m_Name(name), m_Namespace(namespc) {} - - bool operator()(const NPT_XmlAttribute* const & attribute) const { - if (attribute->GetName() == m_Name) { - if (m_Namespace) { - const NPT_String& prefix = attribute->GetPrefix(); - if (m_Namespace[0] == '\0') { - // match if the attribute has NO namespace - return prefix.IsEmpty(); - } else { - // match if the attribute has the SPECIFIC namespace - // we're looking for - const NPT_String* namespc = m_Element.GetNamespaceUri(prefix); - return namespc && *namespc == m_Namespace; - } - } else { - // ANY namespace will match - return true; - } - } else { - return false; - } - } - -private: - const NPT_XmlElementNode& m_Element; - const char* m_Name; - const char* m_Namespace; -}; - -/*---------------------------------------------------------------------- -| PLT_XmlHelper -+---------------------------------------------------------------------*/ -/** - The PLT_XmlHelper class is a set of utility functions for manipulating - xml documents and DOM trees. - */ -class PLT_XmlHelper -{ -public: - - // static methods - - static NPT_Result Parse(const NPT_String& xml, NPT_XmlElementNode*& tree) { - // reset tree - tree = NULL; - - // parse body - NPT_XmlParser parser; - NPT_XmlNode* node; - NPT_Result result = parser.Parse(xml, node); - if (NPT_FAILED(result)) { - //NPT_LOG_FINEST_1("Failed to parse %s", xml.IsEmpty()?"(empty string)":xml.GetChars()); - NPT_CHECK(result); - } - - tree = node->AsElementNode(); - if (!tree) { - delete node; - return NPT_FAILURE; - } - - return NPT_SUCCESS; - } - - static NPT_Result GetChildText(NPT_XmlElementNode* node, - const char* tag, - NPT_String& value, - const char* namespc = "", - NPT_Cardinal max_size = 1024) { - value = ""; - - if (!node) return NPT_FAILURE; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - NPT_XmlElementNode* child = node->GetChild(tag, namespc); - if (!child) return NPT_FAILURE; - - const NPT_String* text = child->GetText(); - // DLNA 7.3.17 - value = text?text->SubString(0, max_size):""; - return NPT_SUCCESS; - } - - static NPT_Result RemoveAttribute(NPT_XmlElementNode* node, - const char* name, - const char* namespc = "") { - if (!node) return NPT_FAILURE; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - NPT_List<NPT_XmlAttribute*>::Iterator attribute; - attribute = node->GetAttributes().Find(PLT_XmlAttributeFinder(*node, name, namespc)); - if (!attribute) return NPT_FAILURE; - - delete *attribute; - NPT_CHECK(node->GetAttributes().Erase(attribute)); - - return NPT_SUCCESS; - } - - static NPT_Result GetAttribute(NPT_XmlElementNode* node, - const char* name, - NPT_XmlAttribute*& attr, - const char* namespc = "") { - attr = NULL; - - if (!node) return NPT_FAILURE; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - NPT_List<NPT_XmlAttribute*>::Iterator attribute; - attribute = node->GetAttributes().Find(PLT_XmlAttributeFinder(*node, name, namespc)); - if (!attribute) { - //NPT_Debug("Failed to find attribute [%s]:%s", namespc, name); - return NPT_FAILURE; - } - - attr = (*attribute); - return NPT_SUCCESS; - } - - static NPT_Result GetAttribute(NPT_XmlElementNode* node, - const char* name, - NPT_String& value, - const char* namespc = "", - NPT_Cardinal max_size = 1024) { - value = ""; - - NPT_XmlAttribute* attribute = NULL; - NPT_Result result = GetAttribute(node, name, attribute, namespc); - if (NPT_FAILED(result)) return result; - - if (!attribute) return NPT_FAILURE; - // DLNA 7.3.17 truncate to 1024 bytes - value = attribute->GetValue().SubString(0, max_size); - return NPT_SUCCESS; - } - - static NPT_Result SetAttribute(NPT_XmlElementNode* node, - const char* name, - const char* value, - const char* namespc = "") { - NPT_XmlAttribute* attribute = NULL; - NPT_CHECK(GetAttribute(node, name, attribute, namespc)); - if (!attribute) return NPT_FAILURE; - - attribute->SetValue(value); - return NPT_SUCCESS; - } - - static NPT_Result AddChildText(NPT_XmlElementNode* node, - const char* tag, - const char* text, - const char* prefix = NULL) { - if (!node) return NPT_FAILURE; - NPT_XmlElementNode* child = new NPT_XmlElementNode(prefix, tag); - child->AddText(text); - return node->AddChild(child); - } - - static bool IsMatch(const NPT_XmlNode* const & node, const char* tag, const char* namespc_mapped) { - // if m_Namespace is NULL, we're looking for ANY namespace - // if m_Namespace is '\0', we're looking for NO namespace - // if m_Namespace is non-empty, look for that SPECIFIC namespace - - const NPT_XmlElementNode* element = node->AsElementNode(); - // is tag the same (case sensitive)? - if (element && element->GetTag() == tag) { - if (namespc_mapped) { - // look for a SPECIFIC namespace or NO namespace - const NPT_String* namespc = element->GetNamespace(); - if (namespc) { - // the element has a namespace, match if it is equal to - // what we're looking for - return *namespc == namespc_mapped; - } else { - // the element does not have a namespace, match if we're - // looking for NO namespace - return namespc_mapped[0] == '\0'; - } - } else { - // ANY namespace will match - return true; - } - } - return false; - } - - static NPT_Result GetChildren(NPT_XmlElementNode* node, - NPT_Array<NPT_XmlElementNode*>& children, - const char* tag, - const char* namespc = "") { - if (!node) return NPT_FAILURE; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - const char* namespc_mapped = (namespc==NULL)?"":(namespc[0]=='*' && namespc[1]=='\0')?NULL:namespc; - - // get all children first - NPT_List<NPT_XmlNode*>& allchildren = node->GetChildren(); - - // iterate through children and add only elements with matching tag - NPT_List<NPT_XmlNode*>::Iterator child = allchildren.GetFirstItem(); - while (child) { - if (IsMatch(*child, tag, namespc_mapped)) { - children.Add((*child)->AsElementNode()); - } - ++child; - } - return NPT_SUCCESS; - } - - static NPT_XmlElementNode* GetChild(NPT_XmlElementNode* node, - const char* tag, - const char* namespc = "") { - if (!node) return NULL; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - return node->GetChild(tag, namespc); - } - - static NPT_Result GetChild(NPT_XmlElementNode* parent, - NPT_XmlElementNode*& child, - NPT_Ordinal n = 0) { - if (!parent) return NPT_FAILURE; - - // reset child - child = NULL; - - // get all children first - NPT_List<NPT_XmlNode*>::Iterator children = parent->GetChildren().GetFirstItem(); - while (children) { - if ((*children)->AsElementNode() && n-- == 0) { - child = (*children)->AsElementNode(); - return NPT_SUCCESS; - } - children++; - } - - return NPT_FAILURE; - } - - static NPT_Result Serialize(NPT_XmlNode& node, NPT_String& xml, bool add_header = true, NPT_Int8 indentation = 0) { - NPT_XmlWriter writer(indentation); - NPT_StringOutputStreamReference stream(new NPT_StringOutputStream(&xml)); - NPT_CHECK(writer.Serialize(node, *stream, add_header)); - return NPT_SUCCESS; - } - - static NPT_String Serialize(NPT_XmlNode& node, bool add_header = true, NPT_Int8 indentation = 0) { - NPT_XmlWriter writer(indentation); - NPT_String xml; - NPT_StringOutputStreamReference stream(new NPT_StringOutputStream(&xml)); - if (NPT_FAILED(writer.Serialize(node, *stream, add_header))) { - NPT_Debug("Failed to serialize xml node"); - return ""; - } - - return xml; - } -private: - // members -}; - -/*---------------------------------------------------------------------- -| NPT_StringFinder -+---------------------------------------------------------------------*/ -/** - The NPT_StringFinder class is used to determine if a string is found - as part of a list of strings. - */ -class NPT_StringFinder -{ -public: - // methods - explicit NPT_StringFinder(NPT_String& value, bool ignore_case = false) : - m_Value(value.GetChars()), m_IgnoreCase(ignore_case) {} - - explicit NPT_StringFinder(const char* value, bool ignore_case = false) : - m_Value(value), m_IgnoreCase(ignore_case) {} - - virtual ~NPT_StringFinder() {} - - bool operator()(const NPT_String* const & value) const { - return value->Compare(m_Value, m_IgnoreCase) ? false : true; - } - bool operator()(const NPT_String& value) const { - return value.Compare(m_Value, m_IgnoreCase) ? false : true; - } - -private: - // members - const char* m_Value; - bool m_IgnoreCase; -}; - -/*---------------------------------------------------------------------- -| NPT_IpAddressFinder -+---------------------------------------------------------------------*/ -/** - The NPT_IpAddressFinder class is used to determine if a IP Address is found - as part of a list of IP Addresses. - */ -class NPT_IpAddressFinder -{ -public: - // methods - NPT_IpAddressFinder(NPT_IpAddress ip) : m_Value(ip) {} - virtual ~NPT_IpAddressFinder() {} - - bool operator()(const NPT_IpAddress* const & value) const { - return *value == m_Value; - } - bool operator()(const NPT_IpAddress& value) const { - return value == m_Value; - } - -private: - // members - NPT_IpAddress m_Value; -}; - - -/*---------------------------------------------------------------------- -| PLT_UPnPMessageHelper class -+---------------------------------------------------------------------*/ -/** - The PLT_UPnPMessageHelper class is a set of utility functions for manipulating - specific UPnP HTTP headers. - */ -class PLT_UPnPMessageHelper -{ -public: - // methods - static const NPT_String* GetST(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("ST"); - } - static NPT_Result SetST(NPT_HttpMessage& message, - const char* st) { - return message.GetHeaders().SetHeader("ST", st); - } - - static const NPT_String* GetNT(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("NT"); - } - static NPT_Result SetNT(NPT_HttpMessage& message, - const char* nt) { - return message.GetHeaders().SetHeader("NT", nt); - } - - static const NPT_String* GetNTS(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("NTS"); - } - static NPT_Result SetNTS(NPT_HttpMessage& message, - const char* nts) { - return message.GetHeaders().SetHeader("NTS", nts); - } - - static const NPT_String* GetMAN(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("MAN"); - } - static NPT_Result SetMAN(NPT_HttpMessage& message, - const char* man) { - return message.GetHeaders().SetHeader("MAN", man); - } - - static const NPT_String* GetLocation(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("Location"); - } - static NPT_Result SetLocation(NPT_HttpMessage& message, - const char* location) { - return message.GetHeaders().SetHeader("Location", location); - } - - static const NPT_String* GetServer(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue(NPT_HTTP_HEADER_SERVER); - } - static NPT_Result SetServer(NPT_HttpMessage& message, - const char* server, - bool replace = true) { - return message.GetHeaders().SetHeader( - NPT_HTTP_HEADER_SERVER, - server, - replace); - } - - static const NPT_String* GetUSN(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("USN"); - } - static NPT_Result SetUSN(NPT_HttpMessage& message, - const char* usn) { - return message.GetHeaders().SetHeader("USN", usn); - } - - static const NPT_String* GetCallbacks(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("CALLBACK"); - } - static NPT_Result SetCallbacks(NPT_HttpMessage& message, const char* callbacks) { - return message.GetHeaders().SetHeader("CALLBACK", callbacks); - } - - static const NPT_String* GetSID(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("SID"); - } - static NPT_Result SetSID(NPT_HttpMessage& message, - const char* sid) { - return message.GetHeaders().SetHeader("SID", sid); - } - - static NPT_Result GetLeaseTime(const NPT_HttpMessage& message, NPT_TimeInterval& lease) { - const NPT_String* cc = - message.GetHeaders().GetHeaderValue("Cache-Control"); - NPT_CHECK_POINTER(cc); - return ExtractLeaseTime(*cc, lease); - } - static NPT_Result SetLeaseTime(NPT_HttpMessage& message, const NPT_TimeInterval& lease) { - return message.GetHeaders().SetHeader("Cache-Control", - "max-age="+NPT_String::FromInteger(lease.ToSeconds())); - } - - static NPT_Result GetBootId(const NPT_HttpMessage& message, NPT_UInt32& bootId) { - bootId = 0; - const NPT_String* bid = message.GetHeaders().GetHeaderValue("BOOTID.UPNP.ORG"); - NPT_CHECK_POINTER(bid); - return NPT_ParseInteger32(*bid, bootId, false); - } - static NPT_Result SetBootId(NPT_HttpMessage& message, const NPT_UInt32& bootId) { - return message.GetHeaders().SetHeader("BOOTID.UPNP.ORG", - NPT_String::FromInteger(bootId)); - } - - static NPT_Result GetNextBootId(const NPT_HttpMessage& message, NPT_UInt32& nextBootId) { - nextBootId = 0; - const NPT_String* nbid = message.GetHeaders().GetHeaderValue("NEXTBOOTID.UPNP.ORG"); - NPT_CHECK_POINTER(nbid); - return NPT_ParseInteger32(*nbid, nextBootId, false); - } - static NPT_Result SetNextBootId(NPT_HttpMessage& message, const NPT_UInt32& nextBootId) { - return message.GetHeaders().SetHeader("NEXTBOOTID.UPNP.ORG", - NPT_String::FromInteger(nextBootId)); - } - - static NPT_Result GetConfigId(const NPT_HttpMessage& message, NPT_UInt32& configId) { - configId = 0; - const NPT_String* cid = message.GetHeaders().GetHeaderValue("CONFIGID.UPNP.ORG"); - NPT_CHECK_POINTER(cid); - return NPT_ParseInteger32(*cid, configId, false); - } - static NPT_Result SetConfigId(NPT_HttpMessage& message, const NPT_UInt32& configId) { - return message.GetHeaders().SetHeader("CONFIGID.UPNP.ORG", NPT_String::FromInteger(configId)); - } - - static NPT_Result GetTimeOut(const NPT_HttpMessage& message, NPT_Int32& seconds) { - seconds = 0; - const NPT_String* timeout = - message.GetHeaders().GetHeaderValue("TIMEOUT"); - NPT_CHECK_POINTER(timeout); - return ExtractTimeOut(*timeout, seconds); - } - static NPT_Result SetTimeOut(NPT_HttpMessage& message, const NPT_Int32 seconds) { - if (seconds >= 0) { - return message.GetHeaders().SetHeader("TIMEOUT", "Second-"+NPT_String::FromInteger(seconds)); - } else { - return message.GetHeaders().SetHeader("TIMEOUT", "Second-infinite"); - } - } - - static NPT_Result SetDate(NPT_HttpMessage& message) { - NPT_TimeStamp now; - NPT_System::GetCurrentTimeStamp(now); - NPT_DateTime date(now); - - return message.GetHeaders().SetHeader("Date", date.ToString(NPT_DateTime::FORMAT_RFC_1123)); - } - - static NPT_Result GetIfModifiedSince(const NPT_HttpMessage& message, NPT_DateTime& date) { - const NPT_String* value = message.GetHeaders().GetHeaderValue("If-Modified-Since"); - if (!value) return NPT_FAILURE; - - // Try RFC 1123, RFC 1036, then ANSI - if (NPT_SUCCEEDED(date.FromString(*value, NPT_DateTime::FORMAT_RFC_1123))) - return NPT_SUCCESS; - - if (NPT_SUCCEEDED(date.FromString(*value, NPT_DateTime::FORMAT_RFC_1036))) - return NPT_SUCCESS; - - return date.FromString(*value, NPT_DateTime::FORMAT_ANSI); - } - static NPT_Result SetIfModifiedSince(NPT_HttpMessage& message, const NPT_DateTime& date) { - return message.GetHeaders().SetHeader("If-Modified-Since", - date.ToString(NPT_DateTime::FORMAT_RFC_1123)); - } - - static NPT_Result GetMX(const NPT_HttpMessage& message, NPT_UInt32& value) { - value = 0; - const NPT_String* mx = - message.GetHeaders().GetHeaderValue("MX"); - NPT_CHECK_POINTER(mx); - return NPT_ParseInteger32(*mx, value, false); // no relax to be UPnP compliant - } - static NPT_Result SetMX(NPT_HttpMessage& message, const NPT_UInt32 mx) { - return message.GetHeaders().SetHeader("MX", - NPT_String::FromInteger(mx)); - } - - static NPT_Result GetSeq(const NPT_HttpMessage& message, NPT_UInt32& value) { - value = 0; - const NPT_String* seq = - message.GetHeaders().GetHeaderValue("SEQ"); - NPT_CHECK_POINTER(seq); - return NPT_ParseInteger32(*seq, value); - } - static NPT_Result SetSeq(NPT_HttpMessage& message, const NPT_UInt32 seq) { - return message.GetHeaders().SetHeader("SEQ", - NPT_String::FromInteger(seq)); - } - - static const char* GenerateUUID(int count, NPT_String& uuid) { - uuid = ""; - for (int i=0;i<(count<100?count:100);i++) { - int random = NPT_System::GetRandomInteger(); - uuid += (char)((random % 25) + 66); - } - return uuid; - } - - static const char* GenerateSerialNumber(NPT_String& sn, int count = 40) { - sn = "{"; - for (int i=0;i<count;i++) { - char nibble = (char)(NPT_System::GetRandomInteger() % 16); - sn += (nibble < 10) ? ('0' + nibble) : ('a' + (nibble-10)); - } - sn += "}"; - return sn; - } - - static const char* GenerateGUID(NPT_String& guid) { - guid = ""; - for (int i=0;i<32;i++) { - char nibble = (char)(NPT_System::GetRandomInteger() % 16); - guid += (nibble < 10) ? ('0' + nibble) : ('a' + (nibble-10)); - if (i == 7 || i == 11 || i == 15 || i == 19) { - guid += '-'; - } - } - return guid; - } - - static NPT_Result ExtractLeaseTime(const NPT_String& cache_control, NPT_TimeInterval& lease) { - NPT_Int32 value; - if (cache_control.StartsWith("max-age=", true) && - NPT_SUCCEEDED(NPT_ParseInteger32(cache_control.GetChars()+8, value))) { - lease.SetSeconds(value); - return NPT_SUCCESS; - } - return NPT_FAILURE; - } - - static NPT_Result ExtractTimeOut(const char* timeout, NPT_Int32& len) { - NPT_String temp = timeout; - if (temp.CompareN("Second-", 7, true)) { - return NPT_ERROR_INVALID_FORMAT; - } - - if (temp.Compare("Second-infinite", true) == 0) { - len = NPT_TIMEOUT_INFINITE; - return NPT_SUCCESS; - } - return temp.SubString(7).ToInteger(len); - } - - static NPT_Result GetIPAddresses(NPT_List<NPT_IpAddress>& ips, bool with_localhost = false) { - NPT_List<NPT_NetworkInterface*> if_list; - NPT_CHECK(GetNetworkInterfaces(if_list, with_localhost)); - - NPT_List<NPT_NetworkInterface*>::Iterator iface = if_list.GetFirstItem(); - while (iface) { - NPT_IpAddress ip = (*(*iface)->GetAddresses().GetFirstItem()).GetPrimaryAddress(); - if (ip.ToString().Compare("0.0.0.0") && - (with_localhost || ip.ToString().Compare("127.0.0.1"))) { - ips.Add(ip); - } - ++iface; - } - - if (with_localhost && !ips.Find(NPT_IpAddressFinder(NPT_IpAddress(127, 0, 0, 1)))) { - NPT_IpAddress localhost; - localhost.Parse("127.0.0.1"); - ips.Add(localhost); - } - - if_list.Apply(NPT_ObjectDeleter<NPT_NetworkInterface>()); - return NPT_SUCCESS; - } - - static NPT_Result GetNetworkInterfaces(NPT_List<NPT_NetworkInterface*>& if_list, - bool with_localhost = false) { - NPT_CHECK(_GetNetworkInterfaces(if_list, with_localhost, false)); - - // if no valid interfaces or if requested, add localhost interface - if (if_list.GetItemCount() == 0) { - NPT_CHECK(_GetNetworkInterfaces(if_list, true, true)); - } - return NPT_SUCCESS; - } - - static NPT_Result GetMACAddresses(NPT_List<NPT_String>& addresses) { - NPT_List<NPT_NetworkInterface*> if_list; - NPT_CHECK(GetNetworkInterfaces(if_list)); - - NPT_List<NPT_NetworkInterface*>::Iterator iface = if_list.GetFirstItem(); - while (iface) { - NPT_String ip = (*(*iface)->GetAddresses().GetFirstItem()).GetPrimaryAddress().ToString(); - if (ip.Compare("0.0.0.0") && ip.Compare("127.0.0.1")) { - addresses.Add((*iface)->GetMacAddress().ToString()); - } - ++iface; - } - - if_list.Apply(NPT_ObjectDeleter<NPT_NetworkInterface>()); - return NPT_SUCCESS; - } - - - static bool IsLocalNetworkAddress(const NPT_IpAddress& address) { - if (address.ToString() == "127.0.0.1") return true; - - NPT_List<NPT_NetworkInterface*> if_list; - NPT_NetworkInterface::GetNetworkInterfaces(if_list); - - NPT_List<NPT_NetworkInterface*>::Iterator iface = if_list.GetFirstItem(); - while (iface) { - if((*iface)->IsAddressInNetwork(address)) return true; - ++iface; - } - - if_list.Apply(NPT_ObjectDeleter<NPT_NetworkInterface>()); - return false; - } - -private: - - static NPT_Result _GetNetworkInterfaces(NPT_List<NPT_NetworkInterface*>& if_list, - bool include_localhost = false, - bool only_localhost = false) { - NPT_List<NPT_NetworkInterface*> _if_list; - NPT_CHECK(NPT_NetworkInterface::GetNetworkInterfaces(_if_list)); - - NPT_NetworkInterface* iface; - while (NPT_SUCCEEDED(_if_list.PopHead(iface))) { - // only interested in non PTP & multicast capable interfaces - if ((iface->GetAddresses().GetItemCount() == 0) || - !(iface->GetFlags() & NPT_NETWORK_INTERFACE_FLAG_MULTICAST) || - (iface->GetFlags() & NPT_NETWORK_INTERFACE_FLAG_POINT_TO_POINT)) { - delete iface; - continue; - } - - NPT_String ip = iface->GetAddresses().GetFirstItem()->GetPrimaryAddress().ToString(); - - if (iface->GetFlags() & NPT_NETWORK_INTERFACE_FLAG_LOOPBACK) { - if (include_localhost || only_localhost) { - if_list.Add(iface); - continue; - } - } else if (ip.Compare("0.0.0.0") && !only_localhost) { - if_list.Add(iface); - continue; - } - - delete iface; - } - - // cleanup any remaining items in list if we breaked early - _if_list.Apply(NPT_ObjectDeleter<NPT_NetworkInterface>()); - return NPT_SUCCESS; - } -}; - -#endif // _PLT_UTILITIES_H_ - - - - - - - - - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltVersion.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltVersion.h deleted file mode 100644 index 5101009cc1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltVersion.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************** -| -| Platinum - Version Info -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_VERSION_H_ -#define _PLT_VERSION_H_ - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define PLT_PLATINUM_SDK_VERSION 0x00010513 -#define PLT_PLATINUM_SDK_VERSION_STRING "1.0.5.13" - -#endif // _PLT_VERSION_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltXbox360.h b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltXbox360.h deleted file mode 100644 index 6bae726213..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Headers/PltXbox360.h +++ /dev/null @@ -1,73 +0,0 @@ -/***************************************************************** -| -| Platinum - XBox 360 -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_XBOX360_H_ -#define _PLT_XBOX360_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltMediaRenderer.h" - -class PLT_Xbox360 : public PLT_MediaRenderer -{ -public: - PLT_Xbox360(const char* uuid = NULL, - unsigned int port = 0, - bool port_rebind = false); - -protected: - // PLT_DeviceHost methods - virtual NPT_Result SetupServices(); - virtual NPT_Result SetupIcons(); - virtual NPT_Result InitServiceURLs(PLT_Service* service, const char* service_name); - - virtual NPT_Result Announce(PLT_DeviceData* device, - NPT_HttpRequest& request, - NPT_UdpSocket& socket, - PLT_SsdpAnnounceType type); - - // PLT_DeviceData methods - virtual NPT_Result GetDescription(NPT_String& desc) { return PLT_MediaRenderer::GetDescription(desc); } - virtual NPT_Result GetDescription(NPT_XmlElementNode* parent, - NPT_XmlElementNode** device = NULL); - -protected: - virtual ~PLT_Xbox360(); - - virtual NPT_Result AnnouncePresence(NPT_UdpSocket& socket, - const char* serial_number); -}; - -#endif /* _PLT_XBOX360_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Platinum b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Platinum Binary files differdeleted file mode 100644 index 58f5bd4c1c..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Platinum +++ /dev/null diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Resources/Info.plist b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Resources/Info.plist Binary files differdeleted file mode 100644 index 1cb3e8900a..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/A/Resources/Info.plist +++ /dev/null diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/Current b/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/Current deleted file mode 100644 index 8c7e5a667f..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-ios/Release/Platinum.framework/Versions/Current +++ /dev/null @@ -1 +0,0 @@ -A
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Headers b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Headers deleted file mode 100644 index a177d2a6b9..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Headers +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Headers
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Platinum b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Platinum deleted file mode 100644 index 0e4a619983..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Platinum +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Platinum
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Resources b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Resources deleted file mode 100644 index 953ee36f3b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Resources +++ /dev/null @@ -1 +0,0 @@ -Versions/Current/Resources
\ No newline at end of file diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/Neptune.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/Neptune.h deleted file mode 100644 index 8ea4fa1c5f..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/Neptune.h +++ /dev/null @@ -1,86 +0,0 @@ -/***************************************************************** -| -| Neptune - Toplevel Include -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NEPTUNE_H_ -#define _NEPTUNE_H_ - -/*---------------------------------------------------------------------- -| flags -+---------------------------------------------------------------------*/ -#define NPT_EXTERNAL_USE /* do not expose internal definitions */ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptCommon.h" -#include "NptResults.h" -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptReferences.h" -#include "NptStreams.h" -#include "NptBufferedStreams.h" -#include "NptFile.h" -#include "NptNetwork.h" -#include "NptSockets.h" -#include "NptTime.h" -#include "NptThreads.h" -#include "NptSystem.h" -#include "NptMessaging.h" -#include "NptQueue.h" -#include "NptSimpleMessageQueue.h" -#include "NptSelectableMessageQueue.h" -#include "NptXml.h" -#include "NptStrings.h" -#include "NptArray.h" -#include "NptList.h" -#include "NptMap.h" -#include "NptStack.h" -#include "NptUri.h" -#include "NptHttp.h" -#include "NptDataBuffer.h" -#include "NptUtils.h" -#include "NptRingBuffer.h" -#include "NptBase64.h" -#include "NptConsole.h" -#include "NptLogging.h" -#include "NptSerialPort.h" -#include "NptVersion.h" -#include "NptDynamicLibraries.h" -#include "NptDynamicCast.h" -#include "NptDigest.h" -#include "NptCrypto.h" - -// optional modules -#include "NptZip.h" -#include "NptTls.h" - -#endif // _NEPTUNE_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptArray.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptArray.h deleted file mode 100644 index 721bac8943..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptArray.h +++ /dev/null @@ -1,522 +0,0 @@ -/***************************************************************** -| -| Neptune - Arrays -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_ARRAY_H_ -#define _NPT_ARRAY_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#if defined(NPT_CONFIG_HAVE_NEW_H) -#include <new> -#endif -#include "NptTypes.h" -#include "NptResults.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ARRAY_INITIAL_MAX_SIZE = 128; // bytes - -/*---------------------------------------------------------------------- -| NPT_Array -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_Array -{ -public: - // types - typedef T Element; - typedef T* Iterator; - - // methods - NPT_Array<T>(): m_Capacity(0), m_ItemCount(0), m_Items(0) {} - explicit NPT_Array<T>(NPT_Cardinal count); - NPT_Array<T>(NPT_Cardinal count, const T& item); - NPT_Array<T>(const T* items, NPT_Cardinal item_count); - ~NPT_Array<T>(); - NPT_Array<T>(const NPT_Array<T>& copy); - NPT_Array<T>& operator=(const NPT_Array<T>& copy); - bool operator==(const NPT_Array<T>& other) const; - bool operator!=(const NPT_Array<T>& other) const; - NPT_Cardinal GetItemCount() const { return m_ItemCount; } - NPT_Result Add(const T& item); - T& operator[](NPT_Ordinal pos) { return m_Items[pos]; } - const T& operator[](NPT_Ordinal pos) const { return m_Items[pos]; } - NPT_Result Erase(Iterator which); - NPT_Result Erase(NPT_Ordinal which) { return Erase(&m_Items[which]); } - NPT_Result Erase(Iterator first, Iterator last); - NPT_Result Erase(NPT_Ordinal first, NPT_Ordinal last) { return Erase(&m_Items[first], &m_Items[last]); } - NPT_Result Insert(Iterator where, const T& item, NPT_Cardinal count = 1); - NPT_Result Reserve(NPT_Cardinal count); - NPT_Cardinal GetCapacity() const { return m_Capacity; } - NPT_Result Resize(NPT_Cardinal count); - NPT_Result Resize(NPT_Cardinal count, const T& fill); - NPT_Result Clear(); - bool Contains(const T& data) const; - Iterator GetFirstItem() const { return m_ItemCount?&m_Items[0]:NULL; } - Iterator GetLastItem() const { return m_ItemCount?&m_Items[m_ItemCount-1]:NULL; } - Iterator GetItem(NPT_Ordinal n) { return n<m_ItemCount?&m_Items[n]:NULL; } - - // template list operations - // keep these template members defined here because MSV6 does not let - // us define them later - template <typename X> - NPT_Result Apply(const X& function) const - { - for (unsigned int i=0; i<m_ItemCount; i++) function(m_Items[i]); - return NPT_SUCCESS; - } - - template <typename X, typename P> - NPT_Result ApplyUntil(const X& function, const P& predicate, bool* match = NULL) const - { - for (unsigned int i=0; i<m_ItemCount; i++) { - NPT_Result return_value; - if (predicate(function(m_Items[i]), return_value)) { - if (match) *match = true; - return return_value; - } - } - if (match) *match = false; - return NPT_SUCCESS; - } - - template <typename X> - T* Find(const X& predicate, NPT_Ordinal n=0, NPT_Ordinal* pos = NULL) const - { - if (pos) *pos = -1; - - for (unsigned int i=0; i<m_ItemCount; i++) { - if (predicate(m_Items[i])) { - if (pos) *pos = i; - if (n == 0) return &m_Items[i]; - --n; - } - } - return NULL; - } - -protected: - // methods - T* Allocate(NPT_Cardinal count, NPT_Cardinal& allocated); - - // members - NPT_Cardinal m_Capacity; - NPT_Cardinal m_ItemCount; - T* m_Items; -}; - -/*---------------------------------------------------------------------- -| NPT_Array<T>::NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::NPT_Array(NPT_Cardinal count) : - m_Capacity(0), - m_ItemCount(0), - m_Items(0) -{ - Reserve(count); -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::NPT_Array(const NPT_Array<T>& copy) : - m_Capacity(0), - m_ItemCount(0), - m_Items(0) -{ - Reserve(copy.GetItemCount()); - for (NPT_Ordinal i=0; i<copy.m_ItemCount; i++) { - new ((void*)&m_Items[i]) T(copy.m_Items[i]); - } - m_ItemCount = copy.m_ItemCount; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::NPT_Array(NPT_Cardinal count, const T& item) : - m_Capacity(0), - m_ItemCount(count), - m_Items(0) -{ - Reserve(count); - for (NPT_Ordinal i=0; i<count; i++) { - new ((void*)&m_Items[i]) T(item); - } -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::NPT_Array(const T* items, NPT_Cardinal item_count) : - m_Capacity(0), - m_ItemCount(item_count), - m_Items(0) -{ - Reserve(item_count); - for (NPT_Ordinal i=0; i<item_count; i++) { - new ((void*)&m_Items[i]) T(items[i]); - } -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::~NPT_Array<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Array<T>::~NPT_Array() -{ - // remove all items - Clear(); - - // free the memory - ::operator delete((void*)m_Items); -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::operator= -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Array<T>& -NPT_Array<T>::operator=(const NPT_Array<T>& copy) -{ - // do nothing if we're assigning to ourselves - if (this == ©) return *this; - - // destroy all elements - Clear(); - - // copy all elements from the other object - Reserve(copy.GetItemCount()); - m_ItemCount = copy.m_ItemCount; - for (NPT_Ordinal i=0; i<copy.m_ItemCount; i++) { - new ((void*)&m_Items[i]) T(copy.m_Items[i]); - } - - return *this; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Clear -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Clear() -{ - // destroy all items - for (NPT_Ordinal i=0; i<m_ItemCount; i++) { - m_Items[i].~T(); - } - - m_ItemCount = 0; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Allocate -+---------------------------------------------------------------------*/ -template <typename T> -T* -NPT_Array<T>::Allocate(NPT_Cardinal count, NPT_Cardinal& allocated) -{ - if (m_Capacity) { - allocated = 2*m_Capacity; - } else { - // start with just enough elements to fill - // NPT_ARRAY_INITIAL_MAX_SIZE worth of memory - allocated = NPT_ARRAY_INITIAL_MAX_SIZE/sizeof(T); - if (allocated == 0) allocated = 1; - } - if (allocated < count) allocated = count; - - // allocate the items - return (T*)::operator new(allocated*sizeof(T)); -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Reserve -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Reserve(NPT_Cardinal count) -{ - if (count <= m_Capacity) return NPT_SUCCESS; - - // (re)allocate the items - NPT_Cardinal new_capacity; - T* new_items = Allocate(count, new_capacity); - if (new_items == NULL) { - return NPT_ERROR_OUT_OF_MEMORY; - } - if (m_ItemCount && m_Items) { - for (unsigned int i=0; i<m_ItemCount; i++) { - // construct the copy - new ((void*)&new_items[i])T(m_Items[i]); - - // destroy the item - m_Items[i].~T(); - } - } - ::operator delete((void*)m_Items); - m_Items = new_items; - m_Capacity = new_capacity; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Add -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Result -NPT_Array<T>::Add(const T& item) -{ - // ensure capacity - NPT_Result result = Reserve(m_ItemCount+1); - if (result != NPT_SUCCESS) return result; - - // store the item - new ((void*)&m_Items[m_ItemCount++]) T(item); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Erase -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Result -NPT_Array<T>::Erase(Iterator which) -{ - return Erase(which, which); -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Erase -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Erase(Iterator first, Iterator last) -{ - // check parameters - if (first == NULL || last == NULL) return NPT_ERROR_INVALID_PARAMETERS; - - // check the bounds - NPT_Ordinal first_index = (NPT_Ordinal)(NPT_POINTER_TO_LONG(first-m_Items)); - NPT_Ordinal last_index = (NPT_Ordinal)(NPT_POINTER_TO_LONG(last-m_Items)); - if (first_index >= m_ItemCount || - last_index >= m_ItemCount || - first_index > last_index) { - return NPT_ERROR_INVALID_PARAMETERS; - } - - // shift items to the left - NPT_Cardinal interval = last_index-first_index+1; - NPT_Cardinal shifted = m_ItemCount-last_index-1; - for (NPT_Ordinal i=first_index; i<first_index+shifted; i++) { - m_Items[i] = m_Items[i+interval]; - } - - // destruct the remaining items - for (NPT_Ordinal i=first_index+shifted; i<m_ItemCount; i++) { - m_Items[i].~T(); - } - - // update the item count - m_ItemCount -= interval; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Insert -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Insert(Iterator where, const T& item, NPT_Cardinal repeat) -{ - // check bounds - NPT_Ordinal where_index = where?((NPT_Ordinal)NPT_POINTER_TO_LONG(where-m_Items)):m_ItemCount; - if (where > &m_Items[m_ItemCount] || repeat == 0) return NPT_ERROR_INVALID_PARAMETERS; - - NPT_Cardinal needed = m_ItemCount+repeat; - if (needed > m_Capacity) { - // allocate more memory - NPT_Cardinal new_capacity; - T* new_items = Allocate(needed, new_capacity); - if (new_items == NULL) return NPT_ERROR_OUT_OF_MEMORY; - m_Capacity = new_capacity; - - // move the items before the insertion point - for (NPT_Ordinal i=0; i<where_index; i++) { - new((void*)&new_items[i])T(m_Items[i]); - m_Items[i].~T(); - } - - // move the items after the insertion point - for (NPT_Ordinal i=where_index; i<m_ItemCount; i++) { - new((void*)&new_items[i+repeat])T(m_Items[i]); - m_Items[i].~T(); - } - - // use the new items instead of the current ones - ::operator delete((void*)m_Items); - m_Items = new_items; - } else { - // shift items after the insertion point to the right - for (NPT_Ordinal i=m_ItemCount; i>where_index; i--) { - new((void*)&m_Items[i+repeat-1])T(m_Items[i-1]); - m_Items[i-1].~T(); - } - } - - // insert the new items - for (NPT_Cardinal i=where_index; i<where_index+repeat; i++) { - new((void*)&m_Items[i])T(item); - } - - // update the item count - m_ItemCount += repeat; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Resize -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Resize(NPT_Cardinal size) -{ - if (size < m_ItemCount) { - // shrink - for (NPT_Ordinal i=size; i<m_ItemCount; i++) { - m_Items[i].~T(); - } - m_ItemCount = size; - } else if (size > m_ItemCount) { - return Resize(size, T()); - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Resize -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_Array<T>::Resize(NPT_Cardinal size, const T& fill) -{ - if (size < m_ItemCount) { - return Resize(size); - } else if (size > m_ItemCount) { - Reserve(size); - for (NPT_Ordinal i=m_ItemCount; i<size; i++) { - new ((void*)&m_Items[i]) T(fill); - } - m_ItemCount = size; - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::Contains -+---------------------------------------------------------------------*/ -template <typename T> -bool -NPT_Array<T>::Contains(const T& data) const -{ - for (NPT_Ordinal i=0; i<m_ItemCount; i++) { - if (m_Items[i] == data) return true; - } - - return false; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::operator== -+---------------------------------------------------------------------*/ -template <typename T> -bool -NPT_Array<T>::operator==(const NPT_Array<T>& other) const -{ - // we need the same number of items - if (other.m_ItemCount != m_ItemCount) return false; - - // compare all items - for (NPT_Ordinal i=0; i<m_ItemCount; i++) { - if (!(m_Items[i] == other.m_Items[i])) return false; - } - - return true; -} - -/*---------------------------------------------------------------------- -| NPT_Array<T>::operator!= -+---------------------------------------------------------------------*/ -template <typename T> -inline -bool -NPT_Array<T>::operator!=(const NPT_Array<T>& other) const -{ - return !(*this == other); -} - -#endif // _NPT_ARRAY_H_ - - - - - - - - - - - - - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptAutomaticCleaner.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptAutomaticCleaner.h deleted file mode 100644 index 19b699b8f5..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptAutomaticCleaner.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************** -| -| Neptune - Automatic Cleaner -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_AUTOMATIC_CLEANER_H_ -#define _NPT_AUTOMATIC_CLEANER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptList.h" - -/*---------------------------------------------------------------------- -| NPT_AutomaticCleaner -+---------------------------------------------------------------------*/ -class NPT_AutomaticCleaner -{ -public: - class Singleton { - public: - virtual ~Singleton() {} - }; - - // singleton management - class Cleaner { - static Cleaner AutomaticCleaner; - ~Cleaner() { - if (Instance) { - delete Instance; - Instance = NULL; - } - } - }; - static NPT_AutomaticCleaner* GetInstance(); - - // destructor - ~NPT_AutomaticCleaner(); - - // methods - NPT_Result Register(Singleton* singleton); - NPT_Result RegisterTlsContext(Singleton* singleton); - NPT_Result RegisterHttpConnectionManager(Singleton* singleton); - -private: - // class members - static NPT_AutomaticCleaner* Instance; - - // constructor - NPT_AutomaticCleaner(); - - // members - NPT_List<Singleton*> m_Singletons; - Singleton* m_TlsContext; - Singleton* m_HttpConnectionManager; -}; - -#endif // _NPT_AUTOMATIC_CLEANER_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptAutoreleasePool.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptAutoreleasePool.h deleted file mode 100644 index cc63664cb1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptAutoreleasePool.h +++ /dev/null @@ -1,57 +0,0 @@ -/***************************************************************** -| -| Neptune - AutoreleasePool -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_AUTORELEASE_POOL_H_ -#define _NPT_AUTORELEASE_POOL_H_ - -/*---------------------------------------------------------------------- -| NPT_AutoreleasePoolInterface -+---------------------------------------------------------------------*/ -class NPT_AutoreleasePoolInterface -{ -public: - virtual ~NPT_AutoreleasePoolInterface() {} -}; - -/*---------------------------------------------------------------------- -| NPT_AutoreleasePool -+---------------------------------------------------------------------*/ -class NPT_AutoreleasePool : public NPT_AutoreleasePoolInterface -{ -public: - NPT_AutoreleasePool(); - virtual ~NPT_AutoreleasePool(); - -private: - NPT_AutoreleasePoolInterface* m_Delegate; -}; - -#endif // _NPT_AUTORELEASE_POOL_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptBase64.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptBase64.h deleted file mode 100644 index 89950de194..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptBase64.h +++ /dev/null @@ -1,68 +0,0 @@ -/***************************************************************** -| -| Neptune - Base64 -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_BASE64_H_ -#define _NPT_BASE64_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptDataBuffer.h" -#include "NptStrings.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const NPT_Cardinal NPT_BASE64_MIME_BLOCKS_PER_LINE = 19; -const NPT_Cardinal NPT_BASE64_PEM_BLOCKS_PER_LINE = 16; - -/*---------------------------------------------------------------------- -| NPT_Base64 -+---------------------------------------------------------------------*/ -class NPT_Base64 { -public: - // class methods - static NPT_Result Decode(const char* base64, - NPT_Size size, - NPT_DataBuffer& data, - bool url_safe = false); - static NPT_Result Encode(const NPT_Byte* data, - NPT_Size size, - NPT_String& base64, - NPT_Cardinal max_blocks_per_line = 0, - bool url_safe = false); - -private: - // this class is purely static - NPT_Base64(); -}; - -#endif // _NPT_BASE64_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptBufferedStreams.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptBufferedStreams.h deleted file mode 100644 index 1c0e0d6839..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptBufferedStreams.h +++ /dev/null @@ -1,102 +0,0 @@ -/***************************************************************** -| -| Neptune - Buffered Byte Stream -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_BUFFERED_STREAMS_H_ -#define _NPT_BUFFERED_STREAMS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStreams.h" -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptStrings.h" -#include "NptDebug.h" - -/*---------------------------------------------------------------------- -| NPT_BufferedStream -+---------------------------------------------------------------------*/ -const NPT_Size NPT_BUFFERED_BYTE_STREAM_DEFAULT_SIZE = 4096; - -/*---------------------------------------------------------------------- -| NPT_BufferedInputStream -+---------------------------------------------------------------------*/ -class NPT_BufferedInputStream : public NPT_InputStream -{ -public: - // constructors and destructor - NPT_BufferedInputStream(NPT_InputStreamReference& stream, - NPT_Size buffer_size = NPT_BUFFERED_BYTE_STREAM_DEFAULT_SIZE); - virtual ~NPT_BufferedInputStream(); - - // methods - virtual NPT_Result ReadLine(NPT_String& line, - NPT_Size max_chars = 4096, - bool break_on_cr = false); - virtual NPT_Result ReadLine(char* buffer, - NPT_Size buffer_size, - NPT_Size* chars_read = NULL, - bool break_on_cr = false); - virtual NPT_Result SetBufferSize(NPT_Size size, bool force = false); - virtual NPT_Result Peek(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read); - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - NPT_Result Seek(NPT_Position offset); - NPT_Result Tell(NPT_Position& offset); - NPT_Result GetSize(NPT_LargeSize& size); - NPT_Result GetAvailable(NPT_LargeSize& available); - -protected: - // members - NPT_InputStreamReference m_Source; - NPT_Position m_Position; - bool m_SkipNewline; - bool m_Eos; - struct { - NPT_Byte* data; - NPT_Size offset; - NPT_Size valid; - NPT_Size size; - } m_Buffer; - - // methods - virtual NPT_Result FillBuffer(); - virtual NPT_Result ReleaseBuffer(); -}; - -typedef NPT_Reference<NPT_BufferedInputStream> NPT_BufferedInputStreamReference; - -#endif // _NPT_BUFFERED_STREAMS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptCocoaMessageQueue.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptCocoaMessageQueue.h deleted file mode 100644 index cd3e89b11b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptCocoaMessageQueue.h +++ /dev/null @@ -1,39 +0,0 @@ -/***************************************************************** -| -| Neptune - Cocoa Message Queue -| -| (c) 2001-2008 Gilles Boccon-Gibod -| Author: Gilles Boccon-Gibod (bok@bok.net) -| -****************************************************************/ - -#ifndef _NPT_COCOA_MESSAGE_QUEUE_ -#define _NPT_COCOA_MESSAGE_QUEUE_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStrings.h" -#include "NptMessaging.h" -#include "NptSimpleMessageQueue.h" - -/*---------------------------------------------------------------------- -| NPT_CocoaMessageQueue -+---------------------------------------------------------------------*/ -class NPT_CocoaMessageQueue : public NPT_MessageQueue -{ -public: - NPT_CocoaMessageQueue(); - ~NPT_CocoaMessageQueue(); - - // NPT_MessageQueue methods - virtual NPT_Result QueueMessage(NPT_Message* message, - NPT_MessageHandler* handler); - virtual NPT_Result PumpMessage(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - - // methods - NPT_Result HandleMessage(NPT_Message* message, NPT_MessageHandler* handler); -}; - -#endif /* _NPT_COCOA_MESSAGE_QUEUE_ */ - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptCommon.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptCommon.h deleted file mode 100644 index 9137d3127c..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptCommon.h +++ /dev/null @@ -1,169 +0,0 @@ -/***************************************************************** -| -| Neptune - Common Definitions -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_COMMON_H_ -#define _NPT_COMMON_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptResults.h" - -/*---------------------------------------------------------------------- -| NPT_ObjectDeleter -+---------------------------------------------------------------------*/ -template <class T> -class NPT_ObjectDeleter { -public: - void operator()(T* object) const { - delete object; - } -}; - -/*---------------------------------------------------------------------- -| NPT_ObjectComparator -+---------------------------------------------------------------------*/ -template <class T> -class NPT_ObjectComparator { -public: - NPT_ObjectComparator(T& object) : m_Object(object) {} - bool operator()(const T& object) const { - return object == m_Object; - } -private: - T& m_Object; -}; - -/*---------------------------------------------------------------------- -| NPT_ContainerFind -+---------------------------------------------------------------------*/ -template <typename T, typename P> -NPT_Result NPT_ContainerFind(T& container, - const P& predicate, - typename T::Element& item, - NPT_Ordinal n=0) -{ - typename T::Iterator found = container.Find(predicate, n); - if (found) { - item = *found; - return NPT_SUCCESS; - } else { - return NPT_ERROR_NO_SUCH_ITEM; - } -} - -/*---------------------------------------------------------------------- -| NPT_ContainerFind -+---------------------------------------------------------------------*/ -template <typename T, typename P> -NPT_Result NPT_ContainerFind(T& container, - const P& predicate, - typename T::Iterator& iter, - NPT_Ordinal n=0) -{ - iter = container.Find(predicate, n); - return iter?NPT_SUCCESS:NPT_ERROR_NO_SUCH_ITEM; -} - -/*---------------------------------------------------------------------- -| NPT_UntilResultEquals -+---------------------------------------------------------------------*/ -class NPT_UntilResultEquals -{ -public: - // methods - NPT_UntilResultEquals(NPT_Result condition_result, - NPT_Result return_value = NPT_SUCCESS) : - m_ConditionResult(condition_result), - m_ReturnValue(return_value) {} - bool operator()(NPT_Result result, NPT_Result& return_value) const { - if (result == m_ConditionResult) { - return_value = m_ReturnValue; - return true; - } else { - return false; - } - } - -private: - // members - NPT_Result m_ConditionResult; - NPT_Result m_ReturnValue; -}; - -/*---------------------------------------------------------------------- -| NPT_UntilResultNotEquals -+---------------------------------------------------------------------*/ -class NPT_UntilResultNotEquals -{ -public: - // methods - NPT_UntilResultNotEquals(NPT_Result condition_result) : - m_ConditionResult(condition_result) {} - bool operator()(NPT_Result result, NPT_Result& return_value) const { - if (result != m_ConditionResult) { - return_value = result; - return true; - } else { - return false; - } - } - -private: - // members - NPT_Result m_ConditionResult; -}; - -/*---------------------------------------------------------------------- -| NPT_PropertyValue -+---------------------------------------------------------------------*/ -class NPT_PropertyValue -{ - public: - // typedefs - typedef enum {UNKNOWN, INTEGER, STRING} Type; - - // methods - NPT_PropertyValue() : m_Type(UNKNOWN), m_Integer(0) {} - NPT_PropertyValue(int value) : m_Type(INTEGER), m_Integer(value) {} - NPT_PropertyValue(const char* value) : m_Type(STRING), m_String(value) {} - - // members - Type m_Type; - union { - int m_Integer; - const char* m_String; - }; -}; - -#endif // _NPT_COMMON_H_ - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptConfig.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptConfig.h deleted file mode 100644 index d51f67f94e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptConfig.h +++ /dev/null @@ -1,353 +0,0 @@ -/***************************************************************** -| -| Neptune - Configuration -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_CONFIG_H_ -#define _NPT_CONFIG_H_ - -/*---------------------------------------------------------------------- -| defaults -+---------------------------------------------------------------------*/ -#define NPT_CONFIG_HAVE_ASSERT_H -#define NPT_CONFIG_HAVE_STD_C -#define NPT_CONFIG_HAVE_POSIX_TIME -#define NPT_CONFIG_HAVE_ASSERT_H -#define NPT_CONFIG_HAVE_STDLIB_H -#define NPT_CONFIG_HAVE_STDIO_H -#define NPT_CONFIG_HAVE_STDARG_H -#define NPT_CONFIG_HAVE_STDINT_H -#define NPT_CONFIG_HAVE_STRING_H -#define NPT_CONFIG_HAVE_LIMITS_H - -/*---------------------------------------------------------------------- -| standard C runtime -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_HAVE_STD_C) -#define NPT_CONFIG_HAVE_MALLOC -#define NPT_CONFIG_HAVE_CALLOC -#define NPT_CONFIG_HAVE_REALLOC -#define NPT_CONFIG_HAVE_FREE -#define NPT_CONFIG_HAVE_MEMCPY -#define NPT_CONFIG_HAVE_MEMSET -#define NPT_CONFIG_HAVE_MEMCMP -#define NPT_CONFIG_HAVE_GETENV -#define NPT_CONFIG_HAVE_SETENV -#define NPT_CONFIG_HAVE_UNSETENV -#define NPT_CONFIG_HAVE_READDIR_R -#endif /* NPT_CONFIG_HAS_STD_C */ - -#if defined(NPT_CONFIG_HAVE_POSIX_TIME) -#define NPT_CONFIG_HAVE_GMTIME -#define NPT_CONFIG_HAVE_GMTIME_R -#define NPT_CONFIG_HAVE_LOCALTIME -#define NPT_CONFIG_HAVE_LOCALTIME_R -#endif - -#if defined(NPT_CONFIG_HAVE_STRING_H) -#define NPT_CONFIG_HAVE_STRCMP -#define NPT_CONFIG_HAVE_STRNCMP -#define NPT_CONFIG_HAVE_STRDUP -#define NPT_CONFIG_HAVE_STRLEN -#define NPT_CONFIG_HAVE_STRCPY -#define NPT_CONFIG_HAVE_STRNCPY -#endif /* NPT_CONFIG_HAVE_STRING_H */ - -#if defined(NPT_CONFIG_HAVE_STDIO_H) -#define NPT_CONFIG_HAVE_SPRINTF -#define NPT_CONFIG_HAVE_SNPRINTF -#define NPT_CONFIG_HAVE_VSPRINTF -#define NPT_CONFIG_HAVE_VSNPRINTF -#endif /* NPT_CONFIG_HAVE_STDIO_H */ - -#if defined(NPT_CONFIG_HAVE_LIMITS_H) -#define NPT_CONFIG_HAVE_INT_MIN -#define NPT_CONFIG_HAVE_INT_MAX -#define NPT_CONFIG_HAVE_UINT_MAX -#define NPT_CONFIG_HAVE_LONG_MIN -#define NPT_CONFIG_HAVE_LONG_MAX -#define NPT_CONFIG_HAVE_ULONG_MAX -#endif - -/*---------------------------------------------------------------------- -| standard C++ runtime -+---------------------------------------------------------------------*/ -#define NPT_CONFIG_HAVE_NEW_H - -/*---------------------------------------------------------------------- -| sockets -+---------------------------------------------------------------------*/ -#define NPT_CONFIG_HAVE_SOCKADDR_SA_LEN - -/*---------------------------------------------------------------------- -| platform specifics -+---------------------------------------------------------------------*/ -/* Windows 32 */ -#if defined(_WIN32) || defined(_XBOX) -#if !defined(STRICT) -#define STRICT -#endif -#endif - -/* XBox */ -#if defined(_XBOX) -#define NPT_CONFIG_THREAD_STACK_SIZE 0x10000 -#endif - -/* QNX */ -#if defined(__QNX__) -#define NPT_CONFIG_HAVE_GETADDRINFO -#endif - -/* cygwin */ -#if defined(__CYGWIN__) -#undef NPT_CONFIG_HAVE_SOCKADDR_SA_LEN -#endif - -/* linux */ -#if defined(__linux__) -#define NPT_CONFIG_HAVE_GETADDRINFO -#undef NPT_CONFIG_HAVE_SOCKADDR_SA_LEN -#endif - -/* symbian */ -#if defined(__SYMBIAN32__) -/* If defined, specify the stack size of each NPT_Thread. */ -#define NPT_CONFIG_THREAD_STACK_SIZE 0x14000 -#endif - -/* android */ -#if defined(ANDROID) -#define NPT_CONFIG_HAVE_GETADDRINFO -#undef NPT_CONFIG_HAVE_SOCKADDR_SA_LEN -#endif - -/* OSX and iOS */ -#if defined(__APPLE__) -#define NPT_CONFIG_HAVE_GETADDRINFO -#define NPT_CONFIG_HAVE_AUTORELEASE_POOL -#define NPT_CONFIG_HAVE_SYSTEM_LOG_CONFIG -#endif - -/*---------------------------------------------------------------------- -| compiler specifics -+---------------------------------------------------------------------*/ -/* GCC */ -#if defined(__GNUC__) -#define NPT_LocalFunctionName __FUNCTION__ -#define NPT_COMPILER_UNUSED(p) (void)p -#else -#define NPT_COMPILER_UNUSED(p) -#endif - -/* TriMedia C/C++ Compiler */ -#if defined(__TCS__) -#undef NPT_CONFIG_HAVE_ASSERT_H -#undef NPT_CONFIG_HAVE_SNPRINTF -#undef NPT_CONFIG_HAVE_VSNPRINTF -#endif - -/* palmos compiler */ -#if defined(__PALMOS__) -#if __PALMOS__ <= 0x05000000 -#undef NPT_CONFIG_HAVE_ASSERT_H -#undef NPT_CONFIG_HAVE_SNPRINTF -#undef NPT_CONFIG_HAVE_VSNPRINTF -#endif -#endif - -/* Microsoft C/C++ Compiler */ -#if defined(_MSC_VER) -#undef NPT_CONFIG_HAVE_STDINT_H -#define NPT_CONFIG_HAVE_GETADDRINFO -#define NPT_CONFIG_STAT_ST_CTIME_IS_ST_BIRTHTIME -#define NPT_FORMAT_64 "I64" -#define NPT_CONFIG_INT64_TYPE __int64 -#define NPT_INT64_MIN _I64_MIN -#define NPT_INT64_MAX _I64_MAX -#define NPT_UINT64_MAX _UI64_MAX -#define NPT_INT64_C(_x) _x##i64 -#define NPT_UINT64_C(_x) _x##ui64 -#define NPT_LocalFunctionName __FUNCTION__ -#if !defined(_WIN32_WCE) -#define NPT_fseek _fseeki64 -#define NPT_ftell _ftelli64 -#else -#define NPT_fseek(a,b,c) fseek((a),(long)(b), (c)) -#define NPT_ftell ftell -#endif -#define NPT_stat NPT_stat_utf8 -#define NPT_stat_struct struct __stat64 -#if defined(_WIN64) -typedef __int64 NPT_PointerLong; -#else -#if _MSC_VER >= 1400 -typedef __w64 long NPT_PointerLong; -#else -typedef long NPT_PointerLong; -#endif -#endif -#define NPT_POINTER_TO_LONG(_p) ((NPT_PointerLong) (_p) ) -#if _MSC_VER >= 1400 && !defined(_WIN32_WCE) -#define gmtime_r(a,b) gmtime_s(a,b) -#define localtime_r(a,b) localtime_s(b,a) -#define NPT_CONFIG_HAVE_FOPEN_S -#define NPT_CONFIG_HAVE_FSOPEN -#define NPT_CONFIG_HAVE_SHARE_H -#define NPT_vsnprintf(s,c,f,a) _vsnprintf_s(s,c,_TRUNCATE,f,a) -#define NPT_snprintf(s,c,f,...) _snprintf_s(s,c,_TRUNCATE,f,__VA_ARGS__) -#define NPT_strncpy(d,s,c) strncpy_s(d,c+1,s,c) -#define NPT_strcpy(d,s) strcpy_s(d,strlen(s)+1,s) -#undef NPT_CONFIG_HAVE_GETENV -#define NPT_CONFIG_HAVE_DUPENV_S -#define dupenv_s _dupenv_s -#undef NPT_CONFIG_HAVE_SETENV -#undef NPT_CONFIG_HAVE_UNSETENV -#define NPT_CONFIG_HAVE_PUTENV_S -#define putenv_s _putenv_s -#else -#undef NPT_CONFIG_HAVE_GMTIME_R -#undef NPT_CONFIG_HAVE_LOCALTIME_R -#define NPT_vsnprintf _vsnprintf -#define NPT_snprintf _snprintf -#endif -#if defined(_DEBUG) -#define _CRTDBG_MAP_ALLOC -#endif -#endif - -/* Windows CE */ -#if defined(_WIN32_WCE) -#if defined(NPT_CONFIG_HAVE_FOPEN_S) -#undef NPT_CONFIG_HAVE_FOPEN_S -#endif -#endif - -/* Symbian */ -#if defined(__SYMBIAN32__) -#undef NPT_CONFIG_HAVE_NEW_H -#include "e32std.h" -#define explicit -#define NPT_fseek fseek // no fseeko ? -#define NPT_ftell ftell // no ftello ? -#endif - -/* Android */ -#if defined(ANDROID) -#if !defined(NPT_CONFIG_NO_RTTI) -#define NPT_CONFIG_NO_RTTI -#endif -#endif - -/* OSX and iOS */ -#if defined(__APPLE__) -#include <TargetConditionals.h> -#include <AvailabilityMacros.h> -#define NPT_CONFIG_HAVE_NET_IF_DL_H -#define NPT_CONFIG_HAVE_SOCKADDR_DL -#if !defined(TARGET_OS_IPHONE) || !TARGET_OS_IPHONE -#define NPT_CONFIG_HAVE_NET_IF_TYPES_H -#if defined(MAC_OS_X_VERSION_10_6) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6) -#define NPT_CONFIG_HAVE_STAT_ST_BIRTHTIME -#endif -#define NPT_CONFIG_HAVE_DEV_URANDOM -#endif -#endif - -/*---------------------------------------------------------------------- -| defaults -+---------------------------------------------------------------------*/ -#if !defined(NPT_FORMAT_64) -#define NPT_FORMAT_64 "ll" -#endif - -#if !defined(NPT_POINTER_TO_LONG) -#define NPT_POINTER_TO_LONG(_p) ((long)(_p)) -#endif - -#if !defined(NPT_CONFIG_INT64_TYPE) -#define NPT_CONFIG_INT64_TYPE long long -#endif - -#if !defined(NPT_INT64_C) -#define NPT_INT64_C(_x) _x##LL -#endif - -#if !defined(NPT_UINT64_C) -#define NPT_UINT64_C(_x) _x##ULL -#endif - -#if !defined(NPT_snprintf) -#define NPT_snprintf snprintf -#endif - -#if !defined(NPT_strcpy) -#define NPT_strcpy strcpy -#endif - -#if !defined(NPT_strncpy) -#define NPT_strncpy strncpy -#endif - -#if !defined(NPT_vsnprintf) -#define NPT_vsnprintf vsnprintf -#endif - -#if !defined(NPT_LocalFunctionName) -#define NPT_LocalFunctionName (NULL) -#endif - -#if !defined(NPT_CONFIG_THREAD_STACK_SIZE) -#define NPT_CONFIG_THREAD_STACK_SIZE 0 -#endif - -#if !defined(NPT_fseek) -#define NPT_fseek fseeko -#endif - -#if !defined(NPT_ftell) -#define NPT_ftell ftello -#endif - -#if !defined(NPT_stat) -#define NPT_stat stat -#endif - -#if !defined(NPT_stat_struct) -#define NPT_stat_struct struct stat -#endif - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#if defined(DMALLOC) -#include <dmalloc.h> -#endif - -#endif // _NPT_CONFIG_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptConsole.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptConsole.h deleted file mode 100644 index 6502a7912b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptConsole.h +++ /dev/null @@ -1,55 +0,0 @@ -/***************************************************************** -| -| Neptune - Console -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ -/** @file -* Header file for console support -*/ - -#ifndef _NPT_CONSOLE_H_ -#define _NPT_CONSOLE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptResults.h" - -/*---------------------------------------------------------------------- -| prototypes -+---------------------------------------------------------------------*/ -class NPT_Console { -public: - // class methods - static void Output(const char* message); - static void OutputF(const char* format, ...); -}; - - -#endif /* _NPT_CONSOLE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptConstants.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptConstants.h deleted file mode 100644 index 6618bf842e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptConstants.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************** -| -| Neptune - Constants -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_CONSTANTS_H_ -#define _NPT_CONSTANTS_H_ - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#ifndef NULL -#define NULL 0 -#endif - -const int NPT_TIMEOUT_INFINITE = -1; - -#endif // _NPT_CONSTANTS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptCrypto.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptCrypto.h deleted file mode 100644 index 04eb58f32e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptCrypto.h +++ /dev/null @@ -1,78 +0,0 @@ -/***************************************************************** -| -| Neptune - Crypto -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_CRYPTO_H_ -#define _NPT_CRYPTO_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptDataBuffer.h" - -/*---------------------------------------------------------------------- -| NPT_BlockCipher -+---------------------------------------------------------------------*/ -class NPT_BlockCipher { -public: - // types - typedef enum { - AES_128 - } Algorithm; - - typedef enum { - ENCRYPT, - DECRYPT - } Direction; - - // factory - static NPT_Result Create(Algorithm algorithm, - Direction direction, - const NPT_UInt8* key, - NPT_Size key_size, - NPT_BlockCipher*& cipher); - - // methods - virtual ~NPT_BlockCipher() {} - virtual NPT_Size GetBlockSize() = 0; - virtual Direction GetDirection() = 0; - virtual Algorithm GetAlgorithm() = 0; - virtual NPT_Result ProcessBlock(const NPT_UInt8* input, NPT_UInt8* output) = 0; - /** - * @param iv Initial vector (same size as cipher block size), or NULL for an IV made up of all zeros. - */ - virtual NPT_Result ProcessCbc(const NPT_UInt8* input, NPT_Size input_size, const NPT_UInt8* iv, NPT_DataBuffer& output); - -protected: - NPT_BlockCipher() {} // don't instantiate directly -}; - -#endif // _NPT_CRYPTO_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDataBuffer.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDataBuffer.h deleted file mode 100644 index 7e57c01c6d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDataBuffer.h +++ /dev/null @@ -1,83 +0,0 @@ -/***************************************************************** -| -| Neptune - Datagram Packets -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DATA_BUFFER_H_ -#define _NPT_DATA_BUFFER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" - -/*---------------------------------------------------------------------- -| NPT_DataBuffer -+---------------------------------------------------------------------*/ -class NPT_DataBuffer -{ - public: - // constructors & destructor - NPT_DataBuffer(); // size unknown until first set - NPT_DataBuffer(NPT_Size size); // initial size specified - NPT_DataBuffer(const void* data, NPT_Size size, bool copy = true); // initial data and size specified - NPT_DataBuffer(const NPT_DataBuffer& other); - virtual ~NPT_DataBuffer(); - - // operators - NPT_DataBuffer& operator=(const NPT_DataBuffer& copy); - bool operator==(const NPT_DataBuffer& other) const; - - // data buffer handling methods - virtual NPT_Result SetBuffer(NPT_Byte* buffer, NPT_Size bufferSize); - virtual NPT_Result SetBufferSize(NPT_Size bufferSize); - virtual NPT_Size GetBufferSize() const { return m_BufferSize; } - virtual NPT_Result Reserve(NPT_Size size); - virtual NPT_Result Clear(); - - // data handling methods - virtual const NPT_Byte* GetData() const { return m_Buffer; } - virtual NPT_Byte* UseData() { return m_Buffer; }; - virtual NPT_Size GetDataSize() const { return m_DataSize; } - virtual NPT_Result SetDataSize(NPT_Size size); - virtual NPT_Result SetData(const NPT_Byte* data, NPT_Size dataSize); - - protected: - // members - bool m_BufferIsLocal; - NPT_Byte* m_Buffer; - NPT_Size m_BufferSize; - NPT_Size m_DataSize; - - // methods - NPT_Result ReallocateBuffer(NPT_Size size); -}; - -#endif // _NPT_DATA_BUFFER_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDebug.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDebug.h deleted file mode 100644 index d4973a2cc5..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDebug.h +++ /dev/null @@ -1,56 +0,0 @@ -/***************************************************************** -| -| Neptune - Debug Utilities -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DEBUG_H_ -#define _NPT_DEBUG_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" - -/*---------------------------------------------------------------------- -| standard macros -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_HAVE_ASSERT_H) && defined(NPT_DEBUG) -#include <assert.h> -#define NPT_ASSERT(x) assert(x) -#else -#define NPT_ASSERT(x) ((void)0) -#endif - -/*---------------------------------------------------------------------- -| NPT_Debug -+---------------------------------------------------------------------*/ -extern void NPT_Debug(const char* format, ...); -extern void NPT_DebugOutput(const char* message); - -#endif // _NPT_DEBUG_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDefs.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDefs.h deleted file mode 100644 index e69de29bb2..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDefs.h +++ /dev/null diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDigest.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDigest.h deleted file mode 100644 index 85b744c0ae..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDigest.h +++ /dev/null @@ -1,78 +0,0 @@ -/***************************************************************** -| -| Neptune - Message Digests -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DIGEST_H_ -#define _NPT_DIGEST_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptDataBuffer.h" - -/*---------------------------------------------------------------------- -| NPT_Digest -+---------------------------------------------------------------------*/ -class NPT_Digest { -public: - // types - typedef enum { - ALGORITHM_SHA1, - ALGORITHM_SHA256, - ALGORITHM_MD5 - } Algorithm; - - // factory - static NPT_Result Create(Algorithm algorithm, NPT_Digest*& digest); - - // methods - virtual ~NPT_Digest() {} - virtual unsigned int GetSize() = 0; - virtual NPT_Result Update(const NPT_UInt8* data, NPT_Size data_size) = 0; - virtual NPT_Result GetDigest(NPT_DataBuffer& digest) = 0; - -protected: - NPT_Digest() {} // don't instantiate directly -}; - -class NPT_Hmac { -public: - static NPT_Result Create(NPT_Digest::Algorithm algorithm, - const NPT_UInt8* key, - NPT_Size key_size, - NPT_Digest*& digest); - -private: - // methods - NPT_Hmac() {} // don't instantiate -}; - -#endif // _NPT_DIGEST_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDynamicCast.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDynamicCast.h deleted file mode 100644 index 0acab88121..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDynamicCast.h +++ /dev/null @@ -1,89 +0,0 @@ -/***************************************************************** -| -| Neptune - Dynamic Cast Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DYNAMIC_CAST_H_ -#define _NPT_DYNAMIC_CAST_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptCommon.h" -#include "NptResults.h" -#include "NptConfig.h" - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_NO_RTTI) -#define NPT_DYNAMIC_CAST(_class,_object) \ -( ((_object)==0) ? 0 : reinterpret_cast<_class*>((_object)->DynamicCast(&_class::_class_##_class)) ) -#define NPT_IMPLEMENT_DYNAMIC_CAST(_class) \ -static int _class_##_class; \ -virtual void* DynamicCast(const void* class_anchor) { \ - if (class_anchor == &_class::_class_##_class) { \ - return static_cast<_class*>(this); \ - } \ - return NULL; \ -} -#define NPT_IMPLEMENT_DYNAMIC_CAST_D(_class,_superclass)\ -static int _class_##_class; \ -virtual void* DynamicCast(const void* class_anchor) { \ - if (class_anchor == &_class::_class_##_class) { \ - return static_cast<_class*>(this); \ - } else { \ - return _superclass::DynamicCast(class_anchor); \ - } \ -} -#define NPT_IMPLEMENT_DYNAMIC_CAST_D2(_class,_superclass,_mixin)\ -static int _class_##_class; \ -virtual void* DynamicCast(const void* class_anchor) { \ - if (class_anchor == &_class::_class_##_class) { \ - return static_cast<_class*>(this); \ - } else { \ - void* sup = _superclass::DynamicCast(class_anchor); \ - if (sup) return sup; \ - return _mixin::DynamicCast(class_anchor); \ - } \ -} -#define NPT_DEFINE_DYNAMIC_CAST_ANCHOR(_class) int _class::_class_##_class = 0; - -#else - -#define NPT_DYNAMIC_CAST(_class,_object) dynamic_cast<_class*>(_object) -#define NPT_IMPLEMENT_DYNAMIC_CAST(_class) -#define NPT_IMPLEMENT_DYNAMIC_CAST_D(_class,_superclass) -#define NPT_IMPLEMENT_DYNAMIC_CAST_D2(_class,_superclass,_mixin) -#define NPT_DEFINE_DYNAMIC_CAST_ANCHOR(_class) - -#endif - -#endif // _NPT_DYNAMIC_CAST_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDynamicLibraries.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDynamicLibraries.h deleted file mode 100644 index 4a2751ee21..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptDynamicLibraries.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************** -| -| Neptune - Dynamic Libraries -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_DYNAMIC_LIBRARIES_H_ -#define _NPT_DYNAMIC_LIBRARIES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define NPT_DYANMIC_LIBRARY_LOAD_FLAG_NOW 1 - -/*---------------------------------------------------------------------- -| NPT_DynamicLibraryInterface -+---------------------------------------------------------------------*/ -class NPT_DynamicLibraryInterface -{ -public: - virtual ~NPT_DynamicLibraryInterface() {} - virtual NPT_Result FindSymbol(const char* name, void*& symbol) = 0; - virtual NPT_Result Unload() = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_DynamicLibrary -+---------------------------------------------------------------------*/ -class NPT_DynamicLibrary : public NPT_DynamicLibraryInterface -{ -public: - // class methods - static NPT_Result Load(const char* name, NPT_Flags flags, NPT_DynamicLibrary*& library); - - // destructor - ~NPT_DynamicLibrary() { delete m_Delegate; } - - // NPT_DynamicLibraryInterface methods - virtual NPT_Result FindSymbol(const char* name, void*& symbol) { - return m_Delegate->FindSymbol(name, symbol); - } - virtual NPT_Result Unload() { - return m_Delegate->Unload(); - } - -private: - // methods - NPT_DynamicLibrary(NPT_DynamicLibraryInterface* delegate) : m_Delegate(delegate) {} - - // members - NPT_DynamicLibraryInterface* m_Delegate; -}; - -#endif // _NPT_DYNAMIC_LIBRARIES_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptFile.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptFile.h deleted file mode 100644 index e93bb2b43d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptFile.h +++ /dev/null @@ -1,229 +0,0 @@ -/***************************************************************** -| -| Neptune - Files -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_FILE_H_ -#define _NPT_FILE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptStreams.h" -#include "NptTime.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_NO_SUCH_FILE = NPT_ERROR_BASE_FILE - 0; -const int NPT_ERROR_FILE_NOT_OPEN = NPT_ERROR_BASE_FILE - 1; -const int NPT_ERROR_FILE_BUSY = NPT_ERROR_BASE_FILE - 2; -const int NPT_ERROR_FILE_ALREADY_OPEN = NPT_ERROR_BASE_FILE - 3; -const int NPT_ERROR_FILE_NOT_READABLE = NPT_ERROR_BASE_FILE - 4; -const int NPT_ERROR_FILE_NOT_WRITABLE = NPT_ERROR_BASE_FILE - 5; -const int NPT_ERROR_FILE_NOT_DIRECTORY = NPT_ERROR_BASE_FILE - 6; -const int NPT_ERROR_FILE_ALREADY_EXISTS = NPT_ERROR_BASE_FILE - 7; -const int NPT_ERROR_FILE_NOT_ENOUGH_SPACE = NPT_ERROR_BASE_FILE - 8; -const int NPT_ERROR_DIRECTORY_NOT_EMPTY = NPT_ERROR_BASE_FILE - 9; - -/** - * File open modes. - * Use a combination of these flags to indicate how a file should be opened - * Note all combinations of flags are valid or meaningful: - * If NPT_FILE_OPEN_MODE_WRITE is not set, then NPT_FILE_OPEN_MODE_CREATE, - * NPT_FILE_OPEN_MODE_TRUNCATE and NPT_FILE_OPEN_MODE_APPEND are ignored. - * If NPT_FILE_OPEN_MODE_APPEND is set, then NPT_FILE_OPEN_MODE_CREATE is - * automatically implied whether it is set or not. - * NPT_FILE_OPEN_MODE_CREATE and NPT_FILE_OPEN_MODE_TRUNCATE imply each - * other (if one is set, the other one is automatically implied) - */ -const unsigned int NPT_FILE_OPEN_MODE_READ = 0x01; -const unsigned int NPT_FILE_OPEN_MODE_WRITE = 0x02; -const unsigned int NPT_FILE_OPEN_MODE_CREATE = 0x04; -const unsigned int NPT_FILE_OPEN_MODE_TRUNCATE = 0x08; -const unsigned int NPT_FILE_OPEN_MODE_UNBUFFERED = 0x10; -const unsigned int NPT_FILE_OPEN_MODE_APPEND = 0x20; - -const unsigned int NPT_FILE_ATTRIBUTE_READ_ONLY = 0x01; -const unsigned int NPT_FILE_ATTRIBUTE_LINK = 0x02; - -#define NPT_FILE_STANDARD_INPUT "@STDIN" -#define NPT_FILE_STANDARD_OUTPUT "@STDOUT" -#define NPT_FILE_STANDARD_ERROR "@STDERR" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_DataBuffer; - -/*---------------------------------------------------------------------- -| NPT_FileInfo -+---------------------------------------------------------------------*/ -struct NPT_FileInfo -{ - // types - typedef enum { - FILE_TYPE_NONE, - FILE_TYPE_REGULAR, - FILE_TYPE_DIRECTORY, - FILE_TYPE_SPECIAL, - FILE_TYPE_OTHER - } FileType; - - // constructor - NPT_FileInfo() : m_Type(FILE_TYPE_NONE), m_Size(0), m_AttributesMask(0), m_Attributes(0) {} - - // members - FileType m_Type; - NPT_UInt64 m_Size; - NPT_Flags m_AttributesMask; - NPT_Flags m_Attributes; - NPT_TimeStamp m_CreationTime; - NPT_TimeStamp m_ModificationTime; -}; - -/*---------------------------------------------------------------------- -| NPT_FilePath -+---------------------------------------------------------------------*/ -class NPT_FilePath -{ -public: - // class members - static const char* const Separator; - - // class methods - static NPT_String BaseName(const char* path, bool with_extension = true); - static NPT_String DirName(const char* path); - static NPT_String FileExtension(const char* path); - static NPT_String Create(const char* directory, const char* base); - -private: - NPT_FilePath() {} // this class can't have instances -}; - -/*---------------------------------------------------------------------- -| NPT_FileInterface -+---------------------------------------------------------------------*/ -class NPT_FileInterface -{ -public: - // types - typedef unsigned int OpenMode; - - // constructors and destructor - virtual ~NPT_FileInterface() {} - - // methods - virtual NPT_Result Open(OpenMode mode) = 0; - virtual NPT_Result Close() = 0; - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream) = 0; - virtual NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_File -+---------------------------------------------------------------------*/ -class NPT_File : public NPT_FileInterface -{ -public: - // class methods - static NPT_Result GetRoots(NPT_List<NPT_String>& roots); - static NPT_Result GetSize(const char* path, NPT_LargeSize &size); - static NPT_Result GetInfo(const char* path, NPT_FileInfo* info = NULL); - static bool Exists(const char* path) { return NPT_SUCCEEDED(GetInfo(path)); } - static NPT_Result Remove(const char* path, bool recurse = false); - static NPT_Result RemoveFile(const char* path); - static NPT_Result RemoveDir(const char* path); - static NPT_Result RemoveDir(const char* path, bool force_if_not_empty); - static NPT_Result Rename(const char* from_path, const char* to_path); - static NPT_Result ListDir(const char* path, NPT_List<NPT_String>& entries, NPT_Ordinal start = 0, NPT_Cardinal count = 0); - static NPT_Result CreateDir(const char* path); - static NPT_Result CreateDir(const char* path, bool create_intermediate_dirs); - static NPT_Result GetWorkingDir(NPT_String& path); - static NPT_Result Load(const char* path, NPT_DataBuffer& buffer, NPT_FileInterface::OpenMode mode = NPT_FILE_OPEN_MODE_READ); - static NPT_Result Load(const char* path, NPT_String& data, NPT_FileInterface::OpenMode mode = NPT_FILE_OPEN_MODE_READ); - static NPT_Result Save(const char* path, NPT_String& data); - static NPT_Result Save(const char* path, const NPT_DataBuffer& buffer); - - // constructors and destructor - NPT_File(const char* path); - ~NPT_File() { delete m_Delegate; } - - // methods - NPT_Result Load(NPT_DataBuffer& buffer); - NPT_Result Save(const NPT_DataBuffer& buffer); - const NPT_String& GetPath() { return m_Path; } - NPT_Result GetSize(NPT_LargeSize &size); - NPT_Result GetInfo(NPT_FileInfo& info); - NPT_Result ListDir(NPT_List<NPT_String>& entries); - NPT_Result Rename(const char* path); - - // NPT_FileInterface methods - NPT_Result Open(OpenMode mode) { - return m_Delegate->Open(mode); - } - NPT_Result Close() { - return m_Delegate->Close(); - } - NPT_Result GetInputStream(NPT_InputStreamReference& stream) { - return m_Delegate->GetInputStream(stream); - } - NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) { - return m_Delegate->GetOutputStream(stream); - } - - // operators - NPT_File& operator=(const NPT_File& file); - -protected: - // members - NPT_FileInterface* m_Delegate; - NPT_String m_Path; - bool m_IsSpecial; -}; - -/*---------------------------------------------------------------------- -| NPT_FileDateComparator -+---------------------------------------------------------------------*/ -class NPT_FileDateComparator { -public: - NPT_FileDateComparator(const char* directory) : m_Directory(directory) {} - NPT_Int32 operator()(const NPT_String& file1, const NPT_String& file2) const { - NPT_FileInfo info1, info2; - if (NPT_FAILED(NPT_File::GetInfo(NPT_FilePath::Create(m_Directory, file1), &info1))) return -1; - if (NPT_FAILED(NPT_File::GetInfo(NPT_FilePath::Create(m_Directory, file2), &info2))) return -1; - return (info1.m_ModificationTime == info2.m_ModificationTime) ? 0 : (info1.m_ModificationTime < info2.m_ModificationTime ? -1 : 1); - } - -private: - NPT_String m_Directory; -}; - -#endif // _NPT_FILE_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptHash.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptHash.h deleted file mode 100644 index d7b877696a..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptHash.h +++ /dev/null @@ -1,83 +0,0 @@ -/***************************************************************** -| -| Neptune - Hashing -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_HASH_H_ -#define _NPT_HASH_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptResults.h" - -/*---------------------------------------------------------------------- -| Fowler/Noll/Vo FNV-1a hash functions -+---------------------------------------------------------------------*/ -const NPT_UInt32 NPT_FNV1A_32_INIT = ((NPT_UInt32)0x811c9dc5); -NPT_UInt32 NPT_Fnv1aHash32(const NPT_UInt8* data, NPT_Size data_size, NPT_UInt32 hash_init=NPT_FNV1A_32_INIT); -NPT_UInt32 NPT_Fnv1aHashStr32(const char* data, NPT_UInt32 hash_init=NPT_FNV1A_32_INIT); -const NPT_UInt64 NPT_FNV1A_64_INIT = ((NPT_UInt64)0xcbf29ce484222325ULL); -NPT_UInt64 NPT_Fnv1aHash64(const NPT_UInt8* data, NPT_Size data_size, NPT_UInt64 hash_init=NPT_FNV1A_64_INIT); -NPT_UInt64 NPT_Fnv1aHashStr64(const char* data, NPT_UInt64 hash_init=NPT_FNV1A_64_INIT); - -/*---------------------------------------------------------------------- -| NPT_Hash -+---------------------------------------------------------------------*/ -template <typename K> -struct NPT_Hash -{ -}; - -template <> -struct NPT_Hash<const char*> -{ - NPT_UInt32 operator()(const char* s) const { return NPT_Fnv1aHashStr32(s); } -}; - -template <> -struct NPT_Hash<char*> -{ - NPT_UInt32 operator()(char* s) const { return NPT_Fnv1aHashStr32(s); } -}; - -template <> -struct NPT_Hash<int> -{ - NPT_UInt32 operator()(int i) const { return NPT_Fnv1aHash32(reinterpret_cast<const NPT_UInt8*>(&i), sizeof(int)); } -}; - -template <> -struct NPT_Hash<unsigned int> -{ - NPT_UInt32 operator()(unsigned int i) const { return NPT_Fnv1aHash32(reinterpret_cast<const NPT_UInt8*>(&i), sizeof(int)); } -}; - -#endif // _NPT_HASH_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptHttp.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptHttp.h deleted file mode 100644 index 402d515e0e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptHttp.h +++ /dev/null @@ -1,861 +0,0 @@ -/***************************************************************** -| -| Neptune - HTTP Protocol -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_HTTP_H_ -#define _NPT_HTTP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptUri.h" -#include "NptTypes.h" -#include "NptList.h" -#include "NptBufferedStreams.h" -#include "NptSockets.h" -#include "NptMap.h" -#include "NptDynamicCast.h" -#include "NptVersion.h" -#include "NptTime.h" -#include "NptThreads.h" -#include "NptAutomaticCleaner.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const unsigned int NPT_HTTP_DEFAULT_PORT = 80; -const unsigned int NPT_HTTPS_DEFAULT_PORT = 443; -const unsigned int NPT_HTTP_INVALID_PORT = 0; - -const NPT_Timeout NPT_HTTP_CLIENT_DEFAULT_CONNECTION_TIMEOUT = 30000; -const NPT_Timeout NPT_HTTP_CLIENT_DEFAULT_IO_TIMEOUT = 30000; -const NPT_Timeout NPT_HTTP_CLIENT_DEFAULT_NAME_RESOLVER_TIMEOUT = 60000; -const unsigned int NPT_HTTP_CLIENT_DEFAULT_MAX_REDIRECTS = 20; - -const NPT_Timeout NPT_HTTP_SERVER_DEFAULT_CONNECTION_TIMEOUT = NPT_TIMEOUT_INFINITE; -const NPT_Timeout NPT_HTTP_SERVER_DEFAULT_IO_TIMEOUT = 60000; - -const unsigned int NPT_HTTP_CONNECTION_MANAGER_MAX_CONNECTION_POOL_SIZE = 5; -const unsigned int NPT_HTTP_CONNECTION_MANAGER_MAX_CONNECTION_AGE = 50; // seconds -const unsigned int NPT_HTTP_MAX_RECONNECTS = 10; -const unsigned int NPT_HTTP_MAX_100_RESPONSES = 10; - -const int NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH = 8192; -const int NPT_HTTP_PROTOCOL_MAX_HEADER_COUNT = 100; - -#define NPT_HTTP_PROTOCOL_1_0 "HTTP/1.0" -#define NPT_HTTP_PROTOCOL_1_1 "HTTP/1.1" -#define NPT_HTTP_METHOD_GET "GET" -#define NPT_HTTP_METHOD_HEAD "HEAD" -#define NPT_HTTP_METHOD_POST "POST" -#define NPT_HTTP_METHOD_PUT "PUT" -#define NPT_HTTP_METHOD_OPTIONS "OPTIONS" -#define NPT_HTTP_METHOD_DELETE "DELETE" -#define NPT_HTTP_METHOD_TRACE "TRACE" - -#define NPT_HTTP_HEADER_HOST "Host" -#define NPT_HTTP_HEADER_CONNECTION "Connection" -#define NPT_HTTP_HEADER_USER_AGENT "User-Agent" -#define NPT_HTTP_HEADER_SERVER "Server" -#define NPT_HTTP_HEADER_CONTENT_LENGTH "Content-Length" -#define NPT_HTTP_HEADER_CONTENT_TYPE "Content-Type" -#define NPT_HTTP_HEADER_CONTENT_ENCODING "Content-Encoding" -#define NPT_HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding" -#define NPT_HTTP_HEADER_LOCATION "Location" -#define NPT_HTTP_HEADER_RANGE "Range" -#define NPT_HTTP_HEADER_CONTENT_RANGE "Content-Range" -#define NPT_HTTP_HEADER_COOKIE "Cookie" -#define NPT_HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges" -#define NPT_HTTP_HEADER_CONTENT_RANGE "Content-Range" -#define NPT_HTTP_HEADER_AUTHORIZATION "Authorization" - -#define NPT_HTTP_TRANSFER_ENCODING_CHUNKED "chunked" - - -const int NPT_ERROR_HTTP_INVALID_RESPONSE_LINE = NPT_ERROR_BASE_HTTP - 0; -const int NPT_ERROR_HTTP_INVALID_REQUEST_LINE = NPT_ERROR_BASE_HTTP - 1; -const int NPT_ERROR_HTTP_NO_PROXY = NPT_ERROR_BASE_HTTP - 2; -const int NPT_ERROR_HTTP_INVALID_REQUEST = NPT_ERROR_BASE_HTTP - 3; -const int NPT_ERROR_HTTP_METHOD_NOT_SUPPORTED = NPT_ERROR_BASE_HTTP - 4; -const int NPT_ERROR_HTTP_TOO_MANY_REDIRECTS = NPT_ERROR_BASE_HTTP - 5; -const int NPT_ERROR_HTTP_TOO_MANY_RECONNECTS = NPT_ERROR_BASE_HTTP - 6; -const int NPT_ERROR_HTTP_CANNOT_RESEND_BODY = NPT_ERROR_BASE_HTTP - 7; - -#define NPT_HTTP_LINE_TERMINATOR "\r\n" - -#if !defined(NPT_CONFIG_HTTP_DEFAULT_USER_AGENT) -#define NPT_CONFIG_HTTP_DEFAULT_USER_AGENT "Neptune/" NPT_NEPTUNE_VERSION_STRING -#endif - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef unsigned int NPT_HttpStatusCode; -typedef NPT_UrlQuery NPT_HttpUrlQuery; // for backward compatibility - -/*---------------------------------------------------------------------- -| NPT_HttpUrl -+---------------------------------------------------------------------*/ -class NPT_HttpUrl : public NPT_Url { -public: - // constructors - NPT_HttpUrl() {} - NPT_HttpUrl(const char* host, - NPT_UInt16 port, - const char* path, - const char* query = NULL, - const char* fragment = NULL); - NPT_HttpUrl(const char* url, bool ignore_scheme = false); - - // methods - virtual NPT_String ToString(bool with_fragment = true) const; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpProtocol -+---------------------------------------------------------------------*/ -class NPT_HttpProtocol -{ -public: - // class methods - const char* GetStatusCodeString(NPT_HttpStatusCode status_code); -}; - -/*---------------------------------------------------------------------- -| NPT_HttpHeader -+---------------------------------------------------------------------*/ -class NPT_HttpHeader { -public: - // constructors and destructor - NPT_HttpHeader(const char* name, const char* value); - ~NPT_HttpHeader(); - - // methods - NPT_Result Emit(NPT_OutputStream& stream) const; - const NPT_String& GetName() const { return m_Name; } - const NPT_String& GetValue() const { return m_Value; } - NPT_Result SetName(const char* name); - NPT_Result SetValue(const char* value); - -private: - // members - NPT_String m_Name; - NPT_String m_Value; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpHeaders -+---------------------------------------------------------------------*/ -class NPT_HttpHeaders { -public: - // constructors and destructor - NPT_HttpHeaders(); - ~NPT_HttpHeaders(); - - // methods - NPT_Result Parse(NPT_BufferedInputStream& stream); - NPT_Result Emit(NPT_OutputStream& stream) const; - const NPT_List<NPT_HttpHeader*>& GetHeaders() const { return m_Headers; } - NPT_HttpHeader* GetHeader(const char* name) const; - const NPT_String* GetHeaderValue(const char* name) const; - NPT_Result SetHeader(const char* name, const char* value, bool replace=true); - NPT_Result AddHeader(const char* name, const char* value); - NPT_Result RemoveHeader(const char* name); - -private: - // members - NPT_List<NPT_HttpHeader*> m_Headers; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpEntity -+---------------------------------------------------------------------*/ -class NPT_HttpEntity { -public: - // constructors and destructor - NPT_HttpEntity(); - NPT_HttpEntity(const NPT_HttpHeaders& headers); - virtual ~NPT_HttpEntity(); - - // methods - NPT_Result SetInputStream(const NPT_InputStreamReference& stream, - bool update_content_length = false); - NPT_Result SetInputStream(const void* data, NPT_Size size); - NPT_Result SetInputStream(const NPT_String& string); - NPT_Result SetInputStream(const char* string); - NPT_Result GetInputStream(NPT_InputStreamReference& stream); - NPT_Result Load(NPT_DataBuffer& buffer); - NPT_Result SetHeaders(const NPT_HttpHeaders& headers); - - // field access - NPT_Result SetContentLength(NPT_LargeSize length); - NPT_Result SetContentType(const char* type); - NPT_Result SetContentEncoding(const char* encoding); - NPT_Result SetTransferEncoding(const char* encoding); - NPT_LargeSize GetContentLength() { return m_ContentLength; } - const NPT_String& GetContentType() { return m_ContentType; } - const NPT_String& GetContentEncoding() { return m_ContentEncoding; } - const NPT_String& GetTransferEncoding() { return m_TransferEncoding;} - bool ContentLengthIsKnown() { return m_ContentLengthIsKnown; } - -private: - // members - NPT_InputStreamReference m_InputStream; - NPT_LargeSize m_ContentLength; - NPT_String m_ContentType; - NPT_String m_ContentEncoding; - NPT_String m_TransferEncoding; - bool m_ContentLengthIsKnown; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpMessage -+---------------------------------------------------------------------*/ -class NPT_HttpMessage { -public: - // constructors and destructor - virtual ~NPT_HttpMessage(); - - // methods - const NPT_String& GetProtocol() const { - return m_Protocol; - } - NPT_Result SetProtocol(const char* protocol) { - m_Protocol = protocol; - return NPT_SUCCESS; - } - NPT_HttpHeaders& GetHeaders() { - return m_Headers; - } - const NPT_HttpHeaders& GetHeaders() const { - return m_Headers; - } - NPT_Result SetEntity(NPT_HttpEntity* entity); - NPT_HttpEntity* GetEntity() { - return m_Entity; - } - NPT_HttpEntity* GetEntity() const { - return m_Entity; - } - virtual NPT_Result ParseHeaders(NPT_BufferedInputStream& stream); - -protected: - // constructors - NPT_HttpMessage(const char* protocol); - - // members - NPT_String m_Protocol; - NPT_HttpHeaders m_Headers; - NPT_HttpEntity* m_Entity; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpRequest -+---------------------------------------------------------------------*/ -class NPT_HttpRequest : public NPT_HttpMessage { -public: - // class methods - static NPT_Result Parse(NPT_BufferedInputStream& stream, - const NPT_SocketAddress* endpoint, - NPT_HttpRequest*& request); - - // constructors and destructor - NPT_HttpRequest(const NPT_HttpUrl& url, - const char* method, - const char* protocol = NPT_HTTP_PROTOCOL_1_0); - NPT_HttpRequest(const char* url, - const char* method, - const char* protocol = NPT_HTTP_PROTOCOL_1_0); - virtual ~NPT_HttpRequest(); - - // methods - const NPT_HttpUrl& GetUrl() const { return m_Url; } - NPT_HttpUrl& GetUrl() { return m_Url; } - NPT_Result SetUrl(const char* url); - NPT_Result SetUrl(const NPT_HttpUrl& url); - const NPT_String& GetMethod() const { return m_Method; } - virtual NPT_Result Emit(NPT_OutputStream& stream, bool use_proxy=false) const; - -protected: - // members - NPT_HttpUrl m_Url; - NPT_String m_Method; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpResponse -+---------------------------------------------------------------------*/ -class NPT_HttpResponse : public NPT_HttpMessage { -public: - // class methods - static NPT_Result Parse(NPT_BufferedInputStream& stream, - NPT_HttpResponse*& response); - - // constructors and destructor - NPT_HttpResponse(NPT_HttpStatusCode status_code, - const char* reason_phrase, - const char* protocol = NPT_HTTP_PROTOCOL_1_0); - virtual ~NPT_HttpResponse(); - - // methods - NPT_Result SetStatus(NPT_HttpStatusCode status_code, - const char* reason_phrase, - const char* protocol = NULL); - NPT_Result SetProtocol(const char* protocol); - NPT_HttpStatusCode GetStatusCode() const { return m_StatusCode; } - const NPT_String& GetReasonPhrase() const { return m_ReasonPhrase; } - virtual NPT_Result Emit(NPT_OutputStream& stream) const; - -protected: - // members - NPT_HttpStatusCode m_StatusCode; - NPT_String m_ReasonPhrase; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpProxyAddress -+---------------------------------------------------------------------*/ -class NPT_HttpProxyAddress -{ -public: - NPT_HttpProxyAddress() : m_Port(NPT_HTTP_INVALID_PORT) {} - NPT_HttpProxyAddress(const char* hostname, NPT_UInt16 port) : - m_HostName(hostname), m_Port(port) {} - - const NPT_String& GetHostName() const { return m_HostName; } - void SetHostName(const char* hostname) { m_HostName = hostname; } - NPT_UInt16 GetPort() const { return m_Port; } - void SetPort(NPT_UInt16 port) { m_Port = port; } - -private: - NPT_String m_HostName; - NPT_UInt16 m_Port; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpProxySelector -+---------------------------------------------------------------------*/ -class NPT_HttpProxySelector -{ -public: - // class methods - static NPT_HttpProxySelector* GetDefault(); - static NPT_HttpProxySelector* GetSystemSelector(); - - // methods - virtual ~NPT_HttpProxySelector() {}; - virtual NPT_Result GetProxyForUrl(const NPT_HttpUrl& url, NPT_HttpProxyAddress& proxy) = 0; - -private: - // class members - static NPT_HttpProxySelector* m_SystemDefault; -}; - -class NPT_HttpRequestContext; - -/*---------------------------------------------------------------------- -| NPT_HttpClient -+---------------------------------------------------------------------*/ -class NPT_HttpClient { -public: - // types - struct Config { - Config() : m_ConnectionTimeout( NPT_HTTP_CLIENT_DEFAULT_CONNECTION_TIMEOUT), - m_IoTimeout( NPT_HTTP_CLIENT_DEFAULT_CONNECTION_TIMEOUT), - m_NameResolverTimeout(NPT_HTTP_CLIENT_DEFAULT_NAME_RESOLVER_TIMEOUT), - m_MaxRedirects( NPT_HTTP_CLIENT_DEFAULT_MAX_REDIRECTS), - m_UserAgent( NPT_CONFIG_HTTP_DEFAULT_USER_AGENT) {} - NPT_Timeout m_ConnectionTimeout; - NPT_Timeout m_IoTimeout; - NPT_Timeout m_NameResolverTimeout; - NPT_Cardinal m_MaxRedirects; - NPT_String m_UserAgent; - }; - - class Connection { - public: - virtual ~Connection() {} - virtual NPT_InputStreamReference& GetInputStream() = 0; - virtual NPT_OutputStreamReference& GetOutputStream() = 0; - virtual NPT_Result GetInfo(NPT_SocketInfo& info) = 0; - virtual bool SupportsPersistence() { return false; } - virtual bool IsRecycled() { return false; } - virtual NPT_Result Recycle() { delete this; return NPT_SUCCESS; } - virtual NPT_Result Abort() { return NPT_ERROR_NOT_IMPLEMENTED; } - }; - - class Connector { - public: - virtual ~Connector() {} - - virtual NPT_Result Connect(const NPT_HttpUrl& url, - NPT_HttpClient& client, - const NPT_HttpProxyAddress* proxy, - bool reuse, // whether we can reuse a connection or not - Connection*& connection) = 0; - - protected: - NPT_Result TrackConnection(NPT_HttpClient& client, - Connection* connection) { return client.TrackConnection(connection); } - Connector() {} // don't instantiate directly - }; - - // class methods - static NPT_Result WriteRequest(NPT_OutputStream& output_stream, - NPT_HttpRequest& request, - bool should_persist, - bool use_proxy = false); - static NPT_Result ReadResponse(NPT_InputStreamReference& input_stream, - bool should_persist, - bool expect_entity, - NPT_HttpResponse*& response, - NPT_Reference<Connection>* cref = NULL); - - /** - * @param connector Pointer to a connector instance, or NULL to use - * the default (TCP) connector. - * @param transfer_ownership Boolean flag. If true, the NPT_HttpClient object - * becomes the owner of the passed Connector and will delete it when it is - * itself deleted. If false, the caller keeps the ownership of the connector. - * This flag is ignored if the connector parameter is NULL. - */ - NPT_HttpClient(Connector* connector = NULL, bool transfer_ownership = true); - - virtual ~NPT_HttpClient(); - - // methods - NPT_Result SendRequest(NPT_HttpRequest& request, - NPT_HttpResponse*& response, - NPT_HttpRequestContext* context = NULL); - NPT_Result Abort(); - const Config& GetConfig() const { return m_Config; } - NPT_Result SetConfig(const Config& config); - NPT_Result SetProxy(const char* http_proxy_hostname, - NPT_UInt16 http_proxy_port, - const char* https_proxy_hostname = NULL, - NPT_UInt16 https_proxy_port = 0); - NPT_Result SetProxySelector(NPT_HttpProxySelector* selector); - NPT_Result SetConnector(Connector* connector); - NPT_Result SetTimeouts(NPT_Timeout connection_timeout, - NPT_Timeout io_timeout, - NPT_Timeout name_resolver_timeout); - NPT_Result SetUserAgent(const char* user_agent); - NPT_Result SetOptions(NPT_Flags options, bool on); - -protected: - // methods - NPT_Result TrackConnection(Connection* connection); - NPT_Result SendRequestOnce(NPT_HttpRequest& request, - NPT_HttpResponse*& response, - NPT_HttpRequestContext* context = NULL); - - // members - Config m_Config; - NPT_HttpProxySelector* m_ProxySelector; - bool m_ProxySelectorIsOwned; - Connector* m_Connector; - bool m_ConnectorIsOwned; - NPT_Mutex m_AbortLock; - bool m_Aborted; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpConnectionManager -+---------------------------------------------------------------------*/ -class NPT_HttpConnectionManager : public NPT_Thread, - public NPT_AutomaticCleaner::Singleton -{ -public: - // singleton management - static NPT_HttpConnectionManager* GetInstance(); - - class Connection : public NPT_HttpClient::Connection - { - public: - Connection(NPT_HttpConnectionManager& manager, - NPT_SocketReference& socket, - NPT_InputStreamReference input_stream, - NPT_OutputStreamReference output_stream); - virtual ~Connection(); - - // NPT_HttpClient::Connection methods - virtual NPT_InputStreamReference& GetInputStream() { return m_InputStream; } - virtual NPT_OutputStreamReference& GetOutputStream() { return m_OutputStream; } - virtual NPT_Result GetInfo(NPT_SocketInfo& info) { return m_Socket->GetInfo(info); } - virtual bool SupportsPersistence() { return true; } - virtual bool IsRecycled() { return m_IsRecycled; } - virtual NPT_Result Recycle(); - virtual NPT_Result Abort() { return m_Socket->Cancel(); } - - // members - NPT_HttpConnectionManager& m_Manager; - bool m_IsRecycled; - NPT_TimeStamp m_TimeStamp; - NPT_SocketReference m_Socket; - NPT_InputStreamReference m_InputStream; - NPT_OutputStreamReference m_OutputStream; - }; - - // destructor - ~NPT_HttpConnectionManager(); - - // methods - Connection* FindConnection(NPT_SocketAddress& address); - NPT_Result Recycle(Connection* connection); - NPT_Result Track(NPT_HttpClient* client, NPT_HttpClient::Connection* connection); - NPT_Result AbortConnections(NPT_HttpClient* client); - - // class methods - static NPT_Result Untrack(NPT_HttpClient::Connection* connection); - -private: - typedef NPT_List<NPT_HttpClient::Connection*> ConnectionList; - - // class members - static NPT_HttpConnectionManager* Instance; - - // constructor - NPT_HttpConnectionManager(); - - // NPT_Thread methods - void Run(); - - // methods - NPT_Result UntrackConnection(NPT_HttpClient::Connection* connection); - NPT_Result Cleanup(); - - // members - NPT_Mutex m_Lock; - NPT_Cardinal m_MaxConnections; - NPT_Cardinal m_MaxConnectionAge; - NPT_SharedVariable m_Aborted; - NPT_List<Connection*> m_Connections; - NPT_Map<NPT_HttpClient*, ConnectionList> m_ClientConnections; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpRequestContext -+---------------------------------------------------------------------*/ -class NPT_HttpRequestContext -{ -public: - // constructor - NPT_HttpRequestContext() {} - NPT_HttpRequestContext(const NPT_SocketAddress* local_address, - const NPT_SocketAddress* remote_address); - - // methods - const NPT_SocketAddress& GetLocalAddress() const { return m_LocalAddress; } - const NPT_SocketAddress& GetRemoteAddress() const { return m_RemoteAddress; } - void SetLocalAddress(const NPT_SocketAddress& address) { - m_LocalAddress = address; - } - void SetRemoteAddress(const NPT_SocketAddress& address) { - m_RemoteAddress = address; - } - -private: - // members - NPT_SocketAddress m_LocalAddress; - NPT_SocketAddress m_RemoteAddress; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpRequestHandler -+---------------------------------------------------------------------*/ -class NPT_HttpRequestHandler -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST(NPT_HttpRequestHandler) - - // destructor - virtual ~NPT_HttpRequestHandler() {} - - // methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response) = 0; - - /** - * Override this method if you want to write the body yourself. - * The default implementation will simply write out the entity's - * input stream. - */ - virtual NPT_Result SendResponseBody(const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - NPT_OutputStream& output); -}; - -/*---------------------------------------------------------------------- -| NPT_HttpStaticRequestHandler -+---------------------------------------------------------------------*/ -class NPT_HttpStaticRequestHandler : public NPT_HttpRequestHandler -{ -public: - // constructors - NPT_HttpStaticRequestHandler(const char* document, - const char* mime_type = "text/html", - bool copy = true); - NPT_HttpStaticRequestHandler(const void* data, - NPT_Size size, - const char* mime_type = "text/html", - bool copy = true); - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - -private: - NPT_String m_MimeType; - NPT_DataBuffer m_Buffer; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpFileRequestHandler_FileTypeMap -+---------------------------------------------------------------------*/ -typedef struct NPT_HttpFileRequestHandler_DefaultFileTypeMapEntry { - const char* extension; - const char* mime_type; -} NPT_HttpFileRequestHandler_FileTypeMapEntry; - -/*---------------------------------------------------------------------- -| NPT_HttpFileRequestHandler -+---------------------------------------------------------------------*/ -class NPT_HttpFileRequestHandler : public NPT_HttpRequestHandler -{ -public: - // constructors - NPT_HttpFileRequestHandler(const char* url_root, - const char* file_root, - bool auto_dir = false, - const char* auto_index = NULL); - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // class methods - static const char* GetDefaultContentType(const char* extension); - - // accessors - NPT_Map<NPT_String,NPT_String>& GetFileTypeMap() { return m_FileTypeMap; } - void SetDefaultMimeType(const char* mime_type) { - m_DefaultMimeType = mime_type; - } - void SetUseDefaultFileTypeMap(bool use_default) { - m_UseDefaultFileTypeMap = use_default; - } - - static NPT_Result SetupResponseBody(NPT_HttpResponse& response, - NPT_InputStreamReference& stream, - const NPT_String* range_spec = NULL); - -protected: - // methods - const char* GetContentType(const NPT_String& filename); - -private: - NPT_String m_UrlRoot; - NPT_String m_FileRoot; - NPT_Map<NPT_String, NPT_String> m_FileTypeMap; - NPT_String m_DefaultMimeType; - bool m_UseDefaultFileTypeMap; - bool m_AutoDir; - NPT_String m_AutoIndex; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpServer -+---------------------------------------------------------------------*/ -class NPT_HttpServer { -public: - // types - struct Config { - NPT_Timeout m_ConnectionTimeout; - NPT_Timeout m_IoTimeout; - NPT_IpAddress m_ListenAddress; - NPT_UInt16 m_ListenPort; - bool m_ReuseAddress; - }; - - // constructors and destructor - NPT_HttpServer(NPT_UInt16 listen_port = NPT_HTTP_DEFAULT_PORT, - bool reuse_address = true); - NPT_HttpServer(NPT_IpAddress listen_address, - NPT_UInt16 listen_port = NPT_HTTP_DEFAULT_PORT, - bool reuse_address = true); - virtual ~NPT_HttpServer(); - - // methods - NPT_Result SetConfig(const Config& config); - const Config& GetConfig() const { return m_Config; } - NPT_Result SetListenPort(NPT_UInt16 port, bool reuse_address = true); - NPT_Result SetTimeouts(NPT_Timeout connection_timeout, NPT_Timeout io_timeout); - NPT_Result SetServerHeader(const char* server_header); - NPT_Result Abort(); - NPT_Result WaitForNewClient(NPT_InputStreamReference& input, - NPT_OutputStreamReference& output, - NPT_HttpRequestContext* context, - NPT_Flags socket_flags = 0); - NPT_Result Loop(bool cancellable_sockets=true); - NPT_UInt16 GetPort() { return m_BoundPort; } - void Terminate(); - - /** - * Add a request handler. By default the ownership of the handler is NOT transfered to this object, - * so the caller is responsible for the lifetime management of the handler object. - */ - virtual NPT_Result AddRequestHandler(NPT_HttpRequestHandler* handler, - const char* path, - bool include_children = false, - bool transfer_ownership = false); - virtual NPT_HttpRequestHandler* FindRequestHandler(NPT_HttpRequest& request); - virtual NPT_List<NPT_HttpRequestHandler*> FindRequestHandlers(NPT_HttpRequest& request); - - /** - * Parse the request from a new client, form a response, and send it back. - */ - virtual NPT_Result RespondToClient(NPT_InputStreamReference& input, - NPT_OutputStreamReference& output, - const NPT_HttpRequestContext& context); - -protected: - // types - struct HandlerConfig { - HandlerConfig(NPT_HttpRequestHandler* handler, - const char* path, - bool include_children, - bool transfer_ownership = false); - ~HandlerConfig(); - - // methods - bool WillHandle(NPT_HttpRequest& request); - - // members - NPT_HttpRequestHandler* m_Handler; - NPT_String m_Path; - bool m_IncludeChildren; - bool m_HandlerIsOwned; - }; - - // methods - NPT_Result Bind(); - - // members - NPT_TcpServerSocket m_Socket; - NPT_UInt16 m_BoundPort; - Config m_Config; - NPT_List<HandlerConfig*> m_RequestHandlers; - NPT_String m_ServerHeader; - bool m_Run; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpResponder -+---------------------------------------------------------------------*/ -class NPT_HttpResponder { -public: - // types - struct Config { - NPT_Timeout m_IoTimeout; - }; - - // constructors and destructor - NPT_HttpResponder(NPT_InputStreamReference& input, - NPT_OutputStreamReference& output); - virtual ~NPT_HttpResponder(); - - // methods - NPT_Result SetConfig(const Config& config); - NPT_Result SetTimeout(NPT_Timeout io_timeout); - NPT_Result ParseRequest(NPT_HttpRequest*& request, - const NPT_SocketAddress* local_address = NULL); - NPT_Result SendResponseHeaders(NPT_HttpResponse& response); - -protected: - // members - Config m_Config; - NPT_BufferedInputStreamReference m_Input; - NPT_OutputStreamReference m_Output; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpChunkedInputStream -+---------------------------------------------------------------------*/ -class NPT_HttpChunkedInputStream : public NPT_InputStream -{ -public: - // constructors and destructor - NPT_HttpChunkedInputStream(NPT_BufferedInputStreamReference& stream); - virtual ~NPT_HttpChunkedInputStream(); - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - NPT_Result Seek(NPT_Position offset); - NPT_Result Tell(NPT_Position& offset); - NPT_Result GetSize(NPT_LargeSize& size); - NPT_Result GetAvailable(NPT_LargeSize& available); - -protected: - // members - NPT_BufferedInputStreamReference m_Source; - NPT_UInt32 m_CurrentChunkSize; - bool m_Eos; -}; - -/*---------------------------------------------------------------------- -| NPT_HttpChunkedOutputStream -+---------------------------------------------------------------------*/ -class NPT_HttpChunkedOutputStream : public NPT_OutputStream -{ -public: - // constructors and destructor - NPT_HttpChunkedOutputStream(NPT_OutputStream& stream); - virtual ~NPT_HttpChunkedOutputStream(); - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL); - NPT_Result Seek(NPT_Position /*offset*/) { return NPT_ERROR_NOT_SUPPORTED;} - NPT_Result Tell(NPT_Position& offset) { return m_Stream.Tell(offset); } - NPT_Result Flush() { return m_Stream.Flush(); } - -protected: - // members - NPT_OutputStream& m_Stream; -}; - -#endif // _NPT_HTTP_H_ - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptInterfaces.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptInterfaces.h deleted file mode 100644 index b0bb264402..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptInterfaces.h +++ /dev/null @@ -1,115 +0,0 @@ -/***************************************************************** -| -| Neptune - Interfaces -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_INTERFACES_H_ -#define _NPT_INTERFACES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptCommon.h" -#include "NptResults.h" -#include "NptConfig.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_NO_SUCH_INTERFACE = NPT_ERROR_BASE_INTERFACES - 0; - -/*---------------------------------------------------------------------- -| NPT_InterfaceId -+---------------------------------------------------------------------*/ -class NPT_InterfaceId -{ - public: - // methods - bool operator==(const NPT_InterfaceId& id) const { - return ((id.m_Id == m_Id) && (id.m_Version == m_Version)); - } - - // members - unsigned long m_Id; - unsigned long m_Version; -}; - -/*---------------------------------------------------------------------- -| NPT_Polymorphic -+---------------------------------------------------------------------*/ -class NPT_Polymorphic -{ -public: - // destructor - virtual ~NPT_Polymorphic() {} - - // methods - virtual NPT_Result GetInterface(const NPT_InterfaceId& id, - NPT_Interface*& iface) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Interruptible -+---------------------------------------------------------------------*/ -class NPT_Interruptible -{ -public: - // destructor - virtual ~NPT_Interruptible() {} - - // methods - virtual NPT_Result Interrupt() = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Configurable -+---------------------------------------------------------------------*/ -class NPT_Configurable -{ -public: - // destructor - virtual ~NPT_Configurable() {} - - // methods - virtual NPT_Result SetProperty(const char* /*name*/, - const char* /*value*/) { - return NPT_ERROR_NO_SUCH_PROPERTY; - } - virtual NPT_Result SetProperty(const char* /*name*/, - int /*value*/) { - return NPT_ERROR_NO_SUCH_PROPERTY; - } - virtual NPT_Result GetProperty(const char* /*name*/, - NPT_PropertyValue& /*value*/) { - return NPT_ERROR_NO_SUCH_PROPERTY; - } -}; - -#endif // _NPT_INTERFACES_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptList.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptList.h deleted file mode 100644 index e1712c5464..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptList.h +++ /dev/null @@ -1,705 +0,0 @@ -/***************************************************************** -| -| Neptune - Lists -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_LIST_H_ -#define _NPT_LIST_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptResults.h" -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptCommon.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_LIST_EMPTY = NPT_ERROR_BASE_LIST - 0; -const int NPT_ERROR_LIST_OPERATION_ABORTED = NPT_ERROR_BASE_LIST - 1; -const int NPT_ERROR_LIST_OPERATION_CONTINUE = NPT_ERROR_BASE_LIST - 2; - -/*---------------------------------------------------------------------- -| NPT_List -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_List -{ -protected: - class Item; - -public: - // types - typedef T Element; - - class Iterator { - public: - Iterator() : m_Item(NULL) {} - explicit Iterator(Item* item) : m_Item(item) {} - Iterator(const Iterator& copy) : m_Item(copy.m_Item) {} - T& operator*() const { return m_Item->m_Data; } - T* operator->() const { return &m_Item->m_Data;} - Iterator& operator++() { // prefix - m_Item = m_Item->m_Next; - return (*this); - } - Iterator operator++(int) { // postfix - Iterator saved_this = *this; - m_Item = m_Item->m_Next; - return saved_this; - } - Iterator& operator--() { // prefix - m_Item = m_Item->m_Prev; - return (*this); - } - Iterator operator--(int) { // postfix - Iterator saved_this = *this; - m_Item = m_Item->m_Prev; - return saved_this; - } - operator bool() const { - return m_Item != NULL; - } - bool operator==(const Iterator& other) const { - return m_Item == other.m_Item; - } - bool operator!=(const Iterator& other) const { - return m_Item != other.m_Item; - } - void operator=(const Iterator& other) { - m_Item = other.m_Item; - } - void operator=(Item* item) { - m_Item = item; - } - - private: - Item* m_Item; - - // friends - friend class NPT_List<T>; - }; - - // methods - NPT_List<T>(); - NPT_List<T>(const NPT_List<T>& list); - ~NPT_List<T>(); - NPT_Result Add(const T& data); - NPT_Result Insert(const Iterator where, const T& data); - NPT_Result Remove(const T& data, bool all=false); - NPT_Result Erase(const Iterator position); - NPT_Result PopHead(T& data); - bool Contains(const T& data) const; - NPT_Result Clear(); - NPT_Result Get(NPT_Ordinal index, T& data) const; - NPT_Result Get(NPT_Ordinal index, T*& data) const; - NPT_Cardinal GetItemCount() const { return m_ItemCount; } - Iterator GetFirstItem() const { return Iterator(m_Head); } - Iterator GetLastItem() const { return Iterator(m_Tail); } - Iterator GetItem(NPT_Ordinal index) const; - - // list manipulation - NPT_Result Add(NPT_List<T>& list); - NPT_Result Remove(const NPT_List<T>& list, bool all=false); - NPT_Result Cut(NPT_Cardinal keep, NPT_List<T>& cut); - - // item manipulation - NPT_Result Add(Item& item); - NPT_Result Detach(Item& item); - NPT_Result Insert(const Iterator where, Item& item); - - // list operations - // keep these template members defined here because MSV6 does not let - // us define them later - template <typename X> - NPT_Result Apply(const X& function) const - { - Item* item = m_Head; - while (item) { - function(item->m_Data); - item = item->m_Next; - } - - return NPT_SUCCESS; - } - - template <typename X, typename P> - NPT_Result ApplyUntil(const X& function, const P& predicate, bool* match = NULL) const - { - Item* item = m_Head; - while (item) { - NPT_Result return_value; - if (predicate(function(item->m_Data), return_value)) { - if (match) *match = true; - return return_value; - } - item = item->m_Next; - } - - if (match) *match = false; - return NPT_SUCCESS; - } - - template <typename P> - Iterator Find(const P& predicate, NPT_Ordinal n=0) const - { - Item* item = m_Head; - while (item) { - if (predicate(item->m_Data)) { - if (n == 0) { - return Iterator(item); - } - --n; - } - item = item->m_Next; - } - - return Iterator(NULL); - } - - // Merge sort algorithm - // http://en.wikipedia.org/wiki/Mergesort - template <typename X> - NPT_Result Sort(const X& function) - { - if (GetItemCount() <= 1) return NPT_SUCCESS; - - NPT_List<T> right; - NPT_CHECK(Cut(GetItemCount() >> 1, right)); - - // Sort ourselves again - Sort(function); - - // sort the right side - right.Sort(function); - - // merge the two back inline - if (function(m_Tail->m_Data, right.m_Head->m_Data) > 0) { - Merge(right, function); - } else { - // append right - right.m_Head->m_Prev = m_Tail; - if (m_Tail) m_Tail->m_Next = right.m_Head; - if (!m_Head) m_Head = right.m_Head; - m_Tail = right.m_Tail; - m_ItemCount += right.m_ItemCount; - - right.m_ItemCount = 0; - right.m_Head = right.m_Tail = NULL; - } - - return NPT_SUCCESS; - } - - template <typename X> - NPT_Result Merge(NPT_List<T>& other, const X& function) - { - Iterator left = GetFirstItem(); - Iterator right; - while (left && other.m_Head) { - if (function(*left, other.m_Head->m_Data) <= 0) { - ++left; - } else { - // remove head and insert it - Item* head = other.m_Head; - other.Detach(*head); - Insert(left, *head); - } - } - - // add what's left of other if any - if (other.m_Head) { - other.m_Head->m_Prev = m_Tail; - if (m_Tail) m_Tail->m_Next = other.m_Head; - m_Tail = other.m_Tail; - if (!m_Head) m_Head = other.m_Head; - other.m_Head = other.m_Tail = NULL; - } - m_ItemCount += other.m_ItemCount; - other.m_ItemCount = 0; - return NPT_SUCCESS; - } - - // operators - void operator=(const NPT_List<T>& other); - bool operator==(const NPT_List<T>& other) const; - bool operator!=(const NPT_List<T>& other) const; - -protected: - // types - class Item - { - public: - // methods - Item(const T& data) : m_Next(0), m_Prev(0), m_Data(data) {} - - // members - Item* m_Next; - Item* m_Prev; - T m_Data; - - // friends - //friend class NPT_List<T>; - //friend class NPT_List<T>::Iterator; - }; - - // members - NPT_Cardinal m_ItemCount; - Item* m_Head; - Item* m_Tail; -}; - -/*---------------------------------------------------------------------- -| NPT_List<T>::NPT_List -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_List<T>::NPT_List() : m_ItemCount(0), m_Head(0), m_Tail(0) -{ -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::NPT_List -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_List<T>::NPT_List(const NPT_List<T>& list) : m_ItemCount(0), m_Head(0), m_Tail(0) -{ - *this = list; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::~NPT_List<T> -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_List<T>::~NPT_List() -{ - Clear(); -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::operator= -+---------------------------------------------------------------------*/ -template <typename T> -void -NPT_List<T>::operator=(const NPT_List<T>& list) -{ - // cleanup - Clear(); - - // copy the new list - Item* item = list.m_Head; - while (item) { - Add(item->m_Data); - item = item->m_Next; - } -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::operator== -+---------------------------------------------------------------------*/ -template <typename T> -bool -NPT_List<T>::operator==(const NPT_List<T>& other) const -{ - // quick test - if (m_ItemCount != other.m_ItemCount) return false; - - // compare all elements one by one - Item* our_item = m_Head; - Item* their_item = other.m_Head; - while (our_item && their_item) { - if (our_item->m_Data != their_item->m_Data) return false; - our_item = our_item->m_Next; - their_item = their_item->m_Next; - } - - return our_item == NULL && their_item == NULL; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::operator!= -+---------------------------------------------------------------------*/ -template <typename T> -inline -bool -NPT_List<T>::operator!=(const NPT_List<T>& other) const -{ - return !(*this == other); -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Clear -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Clear() -{ - // delete all items - Item* item = m_Head; - while (item) { - Item* next = item->m_Next; - delete item; - item = next; - } - - m_ItemCount = 0; - m_Head = NULL; - m_Tail = NULL; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Add -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Add(Item& item) -{ - // add element at the tail - if (m_Tail) { - item.m_Prev = m_Tail; - item.m_Next = NULL; - m_Tail->m_Next = &item; - m_Tail = &item; - } else { - m_Head = &item; - m_Tail = &item; - item.m_Next = NULL; - item.m_Prev = NULL; - } - - // one more item in the list now - ++m_ItemCount; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Add -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Add(NPT_List<T>& list) -{ - // copy the new list - Item* item = list.m_Head; - while (item) { - Add(item->m_Data); - item = item->m_Next; - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Add -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Result -NPT_List<T>::Add(const T& data) -{ - return Add(*new Item(data)); -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::GetItem -+---------------------------------------------------------------------*/ -template <typename T> -typename NPT_List<T>::Iterator -NPT_List<T>::GetItem(NPT_Ordinal n) const -{ - Iterator result; - if (n >= m_ItemCount) return result; - - result = m_Head; - for (unsigned int i=0; i<n; i++) { - ++result; - } - - return result; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Insert -+---------------------------------------------------------------------*/ -template <typename T> -inline -NPT_Result -NPT_List<T>::Insert(Iterator where, const T&data) -{ - return Insert(where, *new Item(data)); -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Insert -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Insert(Iterator where, Item& item) -{ - // insert the item in the list - Item* position = where.m_Item; - if (position) { - // insert at position - item.m_Next = position; - item.m_Prev = position->m_Prev; - position->m_Prev = &item; - if (item.m_Prev) { - item.m_Prev->m_Next = &item; - } else { - // this is the new head - m_Head = &item; - } - - // one more item in the list now - ++m_ItemCount; - } else { - // insert at tail - return Add(item); - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Erase -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Erase(Iterator position) -{ - if (!position) return NPT_ERROR_NO_SUCH_ITEM; - Detach(*position.m_Item); - delete position.m_Item; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Remove -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Remove(const T& data, bool all) -{ - Item* item = m_Head; - NPT_Cardinal matches = 0; - - while (item) { - Item* next = item->m_Next; - if (item->m_Data == data) { - // we found a match - ++matches; - - // detach item - Detach(*item); - - // destroy the item - delete item; - - if (!all) return NPT_SUCCESS; - } - item = next; - } - - return matches?NPT_SUCCESS:NPT_ERROR_NO_SUCH_ITEM; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Remove -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Remove(const NPT_List<T>& list, bool all) -{ - Item* item = list.m_Head; - while (item) { - Remove(item->m_Data, all); - item = item->m_Next; - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Detach -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Detach(Item& item) -{ - // remove item - if (item.m_Prev) { - // item is not the head - if (item.m_Next) { - // item is not the tail - item.m_Next->m_Prev = item.m_Prev; - item.m_Prev->m_Next = item.m_Next; - } else { - // item is the tail - m_Tail = item.m_Prev; - m_Tail->m_Next = NULL; - } - } else { - // item is the head - m_Head = item.m_Next; - if (m_Head) { - // item is not the tail - m_Head->m_Prev = NULL; - } else { - // item is also the tail - m_Tail = NULL; - } - } - - // one less item in the list now - --m_ItemCount; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Get -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Get(NPT_Ordinal index, T& data) const -{ - T* data_pointer; - NPT_CHECK(Get(index, data_pointer)); - data = *data_pointer; - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Get -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Get(NPT_Ordinal index, T*& data) const -{ - Item* item = m_Head; - - if (index < m_ItemCount) { - while (index--) item = item->m_Next; - data = &item->m_Data; - return NPT_SUCCESS; - } else { - data = NULL; - return NPT_ERROR_NO_SUCH_ITEM; - } -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::PopHead -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::PopHead(T& data) -{ - // check that we have an element - if (m_Head == NULL) return NPT_ERROR_LIST_EMPTY; - - // copy the head item's data - data = m_Head->m_Data; - - // discard the head item - Item* head = m_Head; - m_Head = m_Head->m_Next; - if (m_Head) { - m_Head->m_Prev = NULL; - } else { - m_Tail = NULL; - } - delete head; - - // update the count - --m_ItemCount; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Contains -+---------------------------------------------------------------------*/ -template <typename T> -bool -NPT_List<T>::Contains(const T& data) const -{ - Item* item = m_Head; - while (item) { - if (item->m_Data == data) return true; - item = item->m_Next; - } - - return false; -} - -/*---------------------------------------------------------------------- -| NPT_List<T>::Cut -+---------------------------------------------------------------------*/ -template <typename T> -NPT_Result -NPT_List<T>::Cut(NPT_Cardinal keep, NPT_List<T>& cut) -{ - cut.Clear(); - - // shortcut - if (keep >= GetItemCount()) return NPT_SUCCESS; - - // update new counts first - cut.m_ItemCount = m_ItemCount-keep; - m_ItemCount = keep; - - // look for the cut-point item - Item* item = m_Head; - while (keep--) { item = item->m_Next;} - - // the cut list goes from the cut-point item to the tail - cut.m_Head = item; - cut.m_Tail = m_Tail; - - // update the portion of the list we keep - if (item == m_Head) m_Head = NULL; - m_Tail = item->m_Prev; - - // update the cut list - if (item->m_Prev) item->m_Prev->m_Next = NULL; - item->m_Prev = NULL; - - return NPT_SUCCESS; -} - -#endif // _NPT_LIST_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptLogging.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptLogging.h deleted file mode 100644 index 3168424a3b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptLogging.h +++ /dev/null @@ -1,520 +0,0 @@ -/***************************************************************** -| -| Neptune - Logging Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ -/** @file -* Header file for logging -*/ - -#ifndef _NPT_LOGGING_H_ -#define _NPT_LOGGING_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptTypes.h" -#include "NptTime.h" -#include "NptStrings.h" -#include "NptList.h" -#include "NptStreams.h" -#include "NptThreads.h" -#include "NptHttp.h" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_LogManager; - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -class NPT_LogRecord { -public: - const char* m_LoggerName; - int m_Level; - const char* m_Message; - NPT_TimeStamp m_TimeStamp; - const char* m_SourceFile; - unsigned int m_SourceLine; - const char* m_SourceFunction; - unsigned long m_ThreadId; -}; - -class NPT_LogHandler { -public: - typedef void(*CustomHandlerExternalFunction)(const NPT_LogRecord* record); - - // class methods - static NPT_Result SetCustomHandlerFunction(CustomHandlerExternalFunction function); - static NPT_Result Create(const char* logger_name, - const char* handler_name, - NPT_LogHandler*& handler); - - // methods - virtual ~NPT_LogHandler() {} - virtual void Log(const NPT_LogRecord& record) = 0; - virtual NPT_String ToString() { return ""; } -}; - -class NPT_Logger { -public: - // methods - NPT_Logger(const char* name, NPT_LogManager& manager); - ~NPT_Logger(); - void Log(int level, - const char* source_file, - unsigned int source_line, - const char* source_function, - const char* msg, - ...); - - NPT_Result AddHandler(NPT_LogHandler* handler, bool transfer_ownership = true); - NPT_Result DeleteHandlers(); - NPT_Result SetParent(NPT_Logger* parent); - const NPT_String& GetName() const { return m_Name; } - int GetLevel() const { return m_Level; } - bool GetForwardToParent() const { return m_ForwardToParent; } - NPT_List<NPT_LogHandler*>& GetHandlers() { return m_Handlers; } - -private: - // members - NPT_LogManager& m_Manager; - NPT_String m_Name; - int m_Level; - bool m_LevelIsInherited; - bool m_ForwardToParent; - NPT_Logger* m_Parent; - NPT_List<NPT_LogHandler*> m_Handlers; - NPT_List<NPT_LogHandler*> m_ExternalHandlers; - - // friends - friend class NPT_LogManager; -}; - -typedef struct { - NPT_Logger* logger; - const char* name; -} NPT_LoggerReference; - -class NPT_Log { -public: - // class methods - static int GetLogLevel(const char* name); - static const char* GetLogLevelName(int level); - static const char* GetLogLevelAnsiColor(int level); - static void FormatRecordToStream(const NPT_LogRecord& record, - NPT_OutputStream& stream, - bool use_colors, - NPT_Flags format_filter); -}; - -class NPT_LogConfigEntry { -public: - NPT_LogConfigEntry(const char* key, const char* value) : - m_Key(key), m_Value(value) {} - NPT_String m_Key; - NPT_String m_Value; -}; - -class NPT_LogManager { -public: - // class methods - static NPT_LogManager& GetDefault(); - static bool ConfigValueIsBooleanTrue(NPT_String& value); - static bool ConfigValueIsBooleanFalse(NPT_String& value); - static NPT_Logger* GetLogger(const char* name); - - // methods - NPT_LogManager(); - ~NPT_LogManager(); - NPT_Result Configure(const char* config_sources = NULL); - NPT_String* GetConfigValue(const char* prefix, const char* suffix); - NPT_List<NPT_Logger*>& GetLoggers() { return m_Loggers; } - NPT_List<NPT_LogConfigEntry>& GetConfig() { return m_Config; } - void SetEnabled(bool enabled) { m_Enabled = enabled; } - bool IsEnabled() { return m_Enabled; } - void Lock(); - void Unlock(); - -private: - // methods - NPT_Result SetConfigValue(const char* key, const char* value); - NPT_Result ParseConfig(const char* config, NPT_Size config_size); - NPT_Result ParseConfigSource(NPT_String& source); - NPT_Result ParseConfigFile(const char* filename); - bool HaveLoggerConfig(const char* name); - NPT_Logger* FindLogger(const char* name); - NPT_Result ConfigureLogger(NPT_Logger* logger); - - // members - NPT_Mutex m_Lock; - NPT_Thread::ThreadId m_LockOwner; - bool m_Enabled; - bool m_Configured; - NPT_List<NPT_LogConfigEntry> m_Config; - NPT_List<NPT_Logger*> m_Loggers; - NPT_Logger* m_Root; -}; - -const unsigned short NPT_HTTP_LOGGER_CONFIGURATOR_DEFAULT_PORT = 6378; -class NPT_HttpLoggerConfigurator : NPT_HttpRequestHandler, public NPT_Thread { -public: - // constructor and destructor - NPT_HttpLoggerConfigurator(NPT_UInt16 port = NPT_HTTP_LOGGER_CONFIGURATOR_DEFAULT_PORT, - bool detached = true); - virtual ~NPT_HttpLoggerConfigurator(); - - // NPT_Runnable (NPT_Thread) methods - virtual void Run(); - -private: - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // members - NPT_HttpServer* m_Server; -}; - -NPT_Result NPT_GetSystemLogConfig(NPT_String& config); - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define NPT_LOG_LEVEL_FATAL 700 -#define NPT_LOG_LEVEL_SEVERE 600 -#define NPT_LOG_LEVEL_WARNING 500 -#define NPT_LOG_LEVEL_INFO 400 -#define NPT_LOG_LEVEL_FINE 300 -#define NPT_LOG_LEVEL_FINER 200 -#define NPT_LOG_LEVEL_FINEST 100 - -#define NPT_LOG_LEVEL_OFF 32767 -#define NPT_LOG_LEVEL_ALL 0 - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#define NPT_LOG_GET_LOGGER(_logger) \ - if ((_logger).logger == NULL) { \ - (_logger).logger = NPT_LogManager::GetLogger((_logger).name); \ - } - -#if defined(NPT_CONFIG_ENABLE_LOGGING) -//TODO: volatile makes tons of errors for me -//#define NPT_DEFINE_LOGGER(_logger, _name) static volatile NPT_LoggerReference _logger = { NULL, (_name) }; -#define NPT_DEFINE_LOGGER(_logger, _name) static NPT_LoggerReference _logger = { NULL, (_name) }; - -#define NPT_LOG_X(_logger, _level, _argsx) \ -do { \ - NPT_LOG_GET_LOGGER((_logger)) \ - if ((_logger).logger && (_level) >= (_logger).logger->GetLevel()) { \ - (_logger).logger->Log _argsx; \ - } \ -} while(0) - -#define NPT_CHECK_LL(_logger, _level, _result) do { \ - NPT_Result _x = (_result); \ - if (_x != NPT_SUCCESS) { \ - NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"NPT_CHECK failed, result=%d (%s) [%s]", _x, NPT_ResultText(_x), #_result)); \ - return _x; \ - } \ -} while(0) - -#define NPT_CHECK_LABEL_LL(_logger, _level, _result, _label) do { \ - NPT_Result _x = (_result); \ - if (_x != NPT_SUCCESS) { \ - NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"NPT_CHECK failed, result=%d (%s) [%s]", _x, NPT_ResultText(_x), #_result)); \ - goto _label; \ - } \ -} while(0) -#define NPT_CHECK_POINTER_LL(_logger, _level, _p) do { \ - if ((_p) == NULL) { \ - NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"@@@ NULL pointer parameter")); \ - return NPT_ERROR_INVALID_PARAMETERS; \ - } \ -} while(0) -#define NPT_CHECK_POINTER_LABEL_LL(_logger, _level, _p, _label) do { \ - if ((_p) == NULL) { \ - NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),"@@@ NULL pointer parameter")); \ - goto _label; \ - } \ -} while(0) - -#else /* NPT_CONFIG_ENABLE_LOGGING */ - -#define NPT_DEFINE_LOGGER(_logger, _name) -#define NPT_LOG_X(_logger, _level, _argsx) -#define NPT_CHECK_LL(_logger, _level, _result) NPT_CHECK(_result) -#define NPT_CHECK_LABEL_LL(_logger, _level, _result, _label) NPT_CHECK_LABEL((_result), _label) -#define NPT_CHECK_POINTER_LL(_logger, _level, _p) NPT_CHECK_POINTER((_p)) -#define NPT_CHECK_POINTER_LABEL_LL(_logger, _level, _p, _label) NPT_CHECK_POINTER_LABEL((_p), _label) - -#endif /* NPT_CONFIG_ENABLE_LOGGING */ - -#define NPT_SET_LOCAL_LOGGER(_name) NPT_DEFINE_LOGGER(_NPT_LocalLogger, (_name)) -#define NPT_CHECK_L(_level, _result) NPT_CHECK_LL(_NPT_LocalLogger, (_level), (_result)) -#define NPT_CHECK_LABEL_L(_level, _result, _label) NPT_CHECK_LABEL_LL(_NPT_LocalLogger, (_level), NULL, (_result), _label) - -/* NOTE: the following are machine-generated, do not edit */ -#define NPT_LOG_LL(_logger,_level,_msg) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg))) -#define NPT_LOG(_level,_msg) NPT_LOG_LL((_NPT_LocalLogger),(_level),(_msg)) -#define NPT_LOG_L(_logger,_level,_msg) NPT_LOG_LL((_logger),(_level),(_msg)) -#define NPT_LOG_LL1(_logger,_level,_msg,_arg1) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1))) -#define NPT_LOG_1(_level,_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),(_level),(_msg),(_arg1)) -#define NPT_LOG_L1(_logger,_level,_msg,_arg1) NPT_LOG_LL1((_logger),(_level),(_msg),(_arg1)) -#define NPT_LOG_LL2(_logger,_level,_msg,_arg1,_arg2) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2))) -#define NPT_LOG_2(_level,_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2)) -#define NPT_LOG_L2(_logger,_level,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),(_level),(_msg),(_arg1),(_arg2)) -#define NPT_LOG_LL3(_logger,_level,_msg,_arg1,_arg2,_arg3) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3))) -#define NPT_LOG_3(_level,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_L3(_logger,_level,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_LL4(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4))) -#define NPT_LOG_4(_level,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_L4(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_LL5(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5))) -#define NPT_LOG_5(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_L5(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_LL6(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6))) -#define NPT_LOG_6(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_L6(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_LL7(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7))) -#define NPT_LOG_7(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_L7(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_LL8(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8))) -#define NPT_LOG_8(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_L8(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_LL9(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_X((_logger),(_level),((_level),__FILE__,__LINE__,(NPT_LocalFunctionName),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9))) -#define NPT_LOG_9(_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_L9(_logger,_level,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),(_level),(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) - -#define NPT_LOG_FATAL(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg)) -#define NPT_LOG_FATAL_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_FATAL,(_msg)) -#define NPT_LOG_FATAL_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1)) -#define NPT_LOG_FATAL_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1)) -#define NPT_LOG_FATAL_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FATAL_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FATAL_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FATAL_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FATAL_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FATAL_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FATAL_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FATAL_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FATAL_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FATAL_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FATAL_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FATAL_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FATAL_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FATAL_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FATAL_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FATAL_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_FATAL,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_SEVERE(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg)) -#define NPT_LOG_SEVERE_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_SEVERE,(_msg)) -#define NPT_LOG_SEVERE_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1)) -#define NPT_LOG_SEVERE_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1)) -#define NPT_LOG_SEVERE_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_SEVERE_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_SEVERE_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_SEVERE_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_SEVERE_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_SEVERE_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_SEVERE_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_SEVERE_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_SEVERE_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_SEVERE_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_SEVERE_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_SEVERE_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_SEVERE_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_SEVERE_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_SEVERE_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_SEVERE_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_SEVERE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_WARNING(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg)) -#define NPT_LOG_WARNING_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_WARNING,(_msg)) -#define NPT_LOG_WARNING_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1)) -#define NPT_LOG_WARNING_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1)) -#define NPT_LOG_WARNING_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_WARNING_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_WARNING_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_WARNING_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_WARNING_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_WARNING_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_WARNING_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_WARNING_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_WARNING_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_WARNING_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_WARNING_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_WARNING_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_WARNING_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_WARNING_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_WARNING_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_WARNING_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_WARNING,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_INFO(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg)) -#define NPT_LOG_INFO_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_INFO,(_msg)) -#define NPT_LOG_INFO_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1)) -#define NPT_LOG_INFO_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1)) -#define NPT_LOG_INFO_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_INFO_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_INFO_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_INFO_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_INFO_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_INFO_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_INFO_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_INFO_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_INFO_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_INFO_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_INFO_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_INFO_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_INFO_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_INFO_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_INFO_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_INFO_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_INFO,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINE(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg)) -#define NPT_LOG_FINE_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_FINE,(_msg)) -#define NPT_LOG_FINE_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1)) -#define NPT_LOG_FINE_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1)) -#define NPT_LOG_FINE_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINE_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINE_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINE_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINE_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINE_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINE_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINE_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINE_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINE_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINE_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINE_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINE_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINE_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINE_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINE_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_FINE,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINER(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg)) -#define NPT_LOG_FINER_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_FINER,(_msg)) -#define NPT_LOG_FINER_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1)) -#define NPT_LOG_FINER_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1)) -#define NPT_LOG_FINER_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINER_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINER_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINER_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINER_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINER_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINER_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINER_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINER_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINER_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINER_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINER_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINER_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINER_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINER_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINER_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_FINER,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINEST(_msg) NPT_LOG_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg)) -#define NPT_LOG_FINEST_L(_logger,_msg) NPT_LOG_LL((_logger),NPT_LOG_LEVEL_FINEST,(_msg)) -#define NPT_LOG_FINEST_1(_msg,_arg1) NPT_LOG_LL1((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1)) -#define NPT_LOG_FINEST_L1(_logger,_msg,_arg1) NPT_LOG_LL1((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1)) -#define NPT_LOG_FINEST_2(_msg,_arg1,_arg2) NPT_LOG_LL2((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINEST_L2(_logger,_msg,_arg1,_arg2) NPT_LOG_LL2((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2)) -#define NPT_LOG_FINEST_3(_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINEST_L3(_logger,_msg,_arg1,_arg2,_arg3) NPT_LOG_LL3((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3)) -#define NPT_LOG_FINEST_4(_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINEST_L4(_logger,_msg,_arg1,_arg2,_arg3,_arg4) NPT_LOG_LL4((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4)) -#define NPT_LOG_FINEST_5(_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINEST_L5(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5) NPT_LOG_LL5((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5)) -#define NPT_LOG_FINEST_6(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINEST_L6(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6) NPT_LOG_LL6((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6)) -#define NPT_LOG_FINEST_7(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINEST_L7(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7) NPT_LOG_LL7((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7)) -#define NPT_LOG_FINEST_8(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINEST_L8(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8) NPT_LOG_LL8((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8)) -#define NPT_LOG_FINEST_9(_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) -#define NPT_LOG_FINEST_L9(_logger,_msg,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9) NPT_LOG_LL9((_logger),NPT_LOG_LEVEL_FINEST,(_msg),(_arg1),(_arg2),(_arg3),(_arg4),(_arg5),(_arg6),(_arg7),(_arg8),(_arg9)) - -#define NPT_CHECK_FATAL(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_result)) -#define NPT_CHECK_FATAL_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_FATAL,(_result)) -#define NPT_CHECK_SEVERE(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_result)) -#define NPT_CHECK_SEVERE_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_SEVERE,(_result)) -#define NPT_CHECK_WARNING(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_result)) -#define NPT_CHECK_WARNING_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_WARNING,(_result)) -#define NPT_CHECK_INFO(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_result)) -#define NPT_CHECK_INFO_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_INFO,(_result)) -#define NPT_CHECK_FINE(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_result)) -#define NPT_CHECK_FINE_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_FINE,(_result)) -#define NPT_CHECK_FINER(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_result)) -#define NPT_CHECK_FINER_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_FINER,(_result)) -#define NPT_CHECK_FINEST(_result) NPT_CHECK_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_result)) -#define NPT_CHECK_FINEST_L(_logger,_result) NPT_CHECK_LL((_logger),NPT_LOG_LEVEL_FINEST,(_result)) - -#define NPT_CHECK_LABEL_FATAL(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_result),_label) -#define NPT_CHECK_LABEL_FATAL_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_FATAL,(_result),_label) -#define NPT_CHECK_LABEL_SEVERE(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_result),_label) -#define NPT_CHECK_LABEL_SEVERE_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_SEVERE,(_result),_label) -#define NPT_CHECK_LABEL_WARNING(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_result),_label) -#define NPT_CHECK_LABEL_WARNING_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_WARNING,(_result),_label) -#define NPT_CHECK_LABEL_INFO(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_result),_label) -#define NPT_CHECK_LABEL_INFO_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_INFO,(_result),_label) -#define NPT_CHECK_LABEL_FINE(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_result),_label) -#define NPT_CHECK_LABEL_FINE_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_FINE,(_result),_label) -#define NPT_CHECK_LABEL_FINER(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_result),_label) -#define NPT_CHECK_LABEL_FINER_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_FINER,(_result),_label) -#define NPT_CHECK_LABEL_FINEST(_result,_label) NPT_CHECK_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_result),_label) -#define NPT_CHECK_LABEL_FINEST_L(_logger,_result,_label) NPT_CHECK_LABEL_LL((_logger),NPT_LOG_LEVEL_FINEST,(_result),_label) - -#define NPT_CHECK_POINTER_FATAL(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_p)) -#define NPT_CHECK_POINTER_FATAL_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_FATAL,(_p)) -#define NPT_CHECK_POINTER_SEVERE(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_p)) -#define NPT_CHECK_POINTER_SEVERE_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_SEVERE,(_p)) -#define NPT_CHECK_POINTER_WARNING(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_p)) -#define NPT_CHECK_POINTER_WARNING_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_WARNING,(_p)) -#define NPT_CHECK_POINTER_INFO(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_p)) -#define NPT_CHECK_POINTER_INFO_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_INFO,(_p)) -#define NPT_CHECK_POINTER_FINE(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_p)) -#define NPT_CHECK_POINTER_FINE_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_FINE,(_p)) -#define NPT_CHECK_POINTER_FINER(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_p)) -#define NPT_CHECK_POINTER_FINER_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_FINER,(_p)) -#define NPT_CHECK_POINTER_FINEST(_p) NPT_CHECK_POINTER_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_p)) -#define NPT_CHECK_POINTER_FINEST_L(_logger,_p) NPT_CHECK_POINTER_LL(_logger,NPT_LOG_LEVEL_FINEST,(_p)) - -#define NPT_CHECK_POINTER_LABEL_FATAL(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FATAL,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FATAL_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_FATAL,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_SEVERE(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_SEVERE,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_SEVERE_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_SEVERE,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_WARNING(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_WARNING,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_WARNING_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_WARNING,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_INFO(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_INFO,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_INFO_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_INFO,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINE(_p, _label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINE,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINE_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_FINE,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINER(_p,_label) NPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINER,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINER_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_FINER,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINEST(_p,_label) NNPT_CHECK_POINTER_LABEL_LL((_NPT_LocalLogger),NPT_LOG_LEVEL_FINEST,(_p),_label) -#define NPT_CHECK_POINTER_LABEL_FINEST_L(_logger,_p,_label) NPT_CHECK_POINTER_LABEL_LL(_logger,NPT_LOG_LEVEL_FINEST,(_p),_label) - -#endif /* _NPT_LOGGING_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptMap.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptMap.h deleted file mode 100644 index fc12b8797b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptMap.h +++ /dev/null @@ -1,807 +0,0 @@ -/***************************************************************** -| -| Neptune - Maps -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_MAP_H_ -#define _NPT_MAP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptResults.h" -#include "NptList.h" -#include "NptHash.h" - -/*---------------------------------------------------------------------- -| NPT_Map -+---------------------------------------------------------------------*/ -template <typename K, typename V> -class NPT_Map -{ -public: - // types - class Entry { - public: - // constructor - Entry(const K& key, const V& value) : m_Key(key), m_Value(value) {} - Entry(const K& key) : m_Key(key) {} - - // accessors - const K& GetKey() const { return m_Key; } - const V& GetValue() const { return m_Value; } - - // operators - bool operator==(const Entry& other) const { - return m_Key == other.m_Key && m_Value == other.m_Value; - } - - protected: - // methods - void SetValue(const V& value) { m_Value = value; } - - // members - K m_Key; - V m_Value; - - // friends - friend class NPT_Map<K,V>; - }; - - // constructors - NPT_Map<K,V>() {} - NPT_Map<K,V>(const NPT_Map<K,V>& copy); - - // destructor - ~NPT_Map<K,V>(); - - // methods - NPT_Result Put(const K& key, const V& value); - NPT_Result Get(const K& key, V*& value) const; // WARNING: the second parameter is a POINTER on the value type!!! - bool HasKey(const K& key) const { return GetEntry(key) != NULL; } - bool HasValue(const V& value) const; - NPT_Result Erase(const K& key); - NPT_Cardinal GetEntryCount() const { return m_Entries.GetItemCount(); } - const NPT_List<Entry*>& GetEntries() const { return m_Entries; } - NPT_Result Clear(); - - // operators - V& operator[](const K& key); - const NPT_Map<K,V>& operator=(const NPT_Map<K,V>& copy); - bool operator==(const NPT_Map<K,V>& other) const; - bool operator!=(const NPT_Map<K,V>& other) const; - -private: - // types - typedef typename NPT_List<Entry*>::Iterator ListIterator; - - // methods - Entry* GetEntry(const K& key) const; - - // members - NPT_List<Entry*> m_Entries; -}; - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::NPT_Map<K,V> -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Map<K,V>::NPT_Map(const NPT_Map<K,V>& copy) -{ - *this = copy; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::~NPT_Map<K,V> -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Map<K,V>::~NPT_Map() -{ - // call Clear to ensure we delete all entry objects - Clear(); -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::Clear -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Result -NPT_Map<K,V>::Clear() -{ - m_Entries.Apply(NPT_ObjectDeleter<Entry>()); - m_Entries.Clear(); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::GetEntry -+---------------------------------------------------------------------*/ -template <typename K, typename V> -typename NPT_Map<K,V>::Entry* -NPT_Map<K,V>::GetEntry(const K& key) const -{ - typename NPT_List<Entry*>::Iterator entry = m_Entries.GetFirstItem(); - while (entry) { - if ((*entry)->GetKey() == key) { - return *entry; - } - ++entry; - } - - return NULL; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::Put -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Result -NPT_Map<K,V>::Put(const K& key, const V& value) -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // no existing entry for that key, create one - m_Entries.Add(new Entry(key, value)); - } else { - // replace the existing entry for that key - entry->SetValue(value); - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::Get -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Result -NPT_Map<K,V>::Get(const K& key, V*& value) const -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // no existing entry for that key - value = NULL; - return NPT_ERROR_NO_SUCH_ITEM; - } else { - // found an entry with that key - value = &entry->m_Value; - return NPT_SUCCESS; - } -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::HasValue -+---------------------------------------------------------------------*/ -template <typename K, typename V> -bool -NPT_Map<K,V>::HasValue(const V& value) const -{ - ListIterator entry = m_Entries.GetFirstItem(); - while (entry) { - if (value == (*entry)->m_Value) { - return true; - } - ++entry; - } - - return false; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::operator= -+---------------------------------------------------------------------*/ -template <typename K, typename V> -const NPT_Map<K,V>& -NPT_Map<K,V>::operator=(const NPT_Map<K,V>& copy) -{ - // do nothing if we're assigning to ourselves - if (this == ©) return copy; - - // destroy all entries - Clear(); - - // copy all entries one by one - ListIterator entry = copy.m_Entries.GetFirstItem(); - while (entry) { - m_Entries.Add(new Entry((*entry)->GetKey(), (*entry)->GetValue())); - ++entry; - } - - return *this; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::Erase -+---------------------------------------------------------------------*/ -template <typename K, typename V> -NPT_Result -NPT_Map<K,V>::Erase(const K& key) -{ - ListIterator entry = m_Entries.GetFirstItem(); - while (entry) { - if ((*entry)->GetKey() == key) { - delete *entry; // do this before removing the entry from the - // list, because Erase() will invalidate the - // iterator item - m_Entries.Erase(entry); - return NPT_SUCCESS; - } - ++entry; - } - - return NPT_ERROR_NO_SUCH_ITEM; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::operator== -+---------------------------------------------------------------------*/ -template <typename K, typename V> -bool -NPT_Map<K,V>::operator==(const NPT_Map<K,V>& other) const -{ - // quick test - if (m_Entries.GetItemCount() != other.m_Entries.GetItemCount()) return false; - - // compare all entries to all other entries - ListIterator entry = m_Entries.GetFirstItem(); - while (entry) { - V* value; - if (NPT_SUCCEEDED(other.Get((*entry)->m_Key, value))) { - // the other map has an entry for this key, check the value - if (!(*value == (*entry)->m_Value)) return false; - } else { - // the other map does not have an entry for this key - return false; - } - ++entry; - } - - return true; -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::operator!= -+---------------------------------------------------------------------*/ -template <typename K, typename V> -bool -NPT_Map<K,V>::operator!=(const NPT_Map<K,V>& other) const -{ - return !(*this == other); -} - -/*---------------------------------------------------------------------- -| NPT_Map<K,V>::operator[] -+---------------------------------------------------------------------*/ -template <typename K, typename V> -V& -NPT_Map<K,V>::operator[](const K& key) -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // create a new "default" entry for this key - entry = new Entry(key); - m_Entries.Add(entry); - } - - return entry->m_Value; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF = NPT_Hash<K> > -class NPT_HashMap -{ -public: - // types - class Entry { - public: - // constructor - Entry(NPT_UInt32 hash_value, const K& key, const V& value) : m_HashValue(hash_value), m_Key(key), m_Value(value) {} - Entry(NPT_UInt32 hash_value, const K& key) : m_HashValue(hash_value), m_Key(key) {} - - // accessors - const K& GetKey() const { return m_Key; } - const V& GetValue() const { return m_Value; } - NPT_UInt32 GetHashValue() const { return m_HashValue; } - - // operators - bool operator==(const Entry& other) const { - return m_HashValue == other.m_HashValue && m_Key == other.m_Key && m_Value == other.m_Value; - } - - protected: - // methods - void SetValue(const V& value) { m_Value = value; } - - // members - NPT_UInt32 m_HashValue; - K m_Key; - V m_Value; - - // friends - friend class NPT_HashMap<K,V,HF>; - }; - - class Iterator { - public: - Iterator() : m_Entry(NULL), m_Map(NULL) {} - Iterator(Entry** entry, const NPT_HashMap<K,V,HF>* map) : m_Entry(entry), m_Map(map) {} - Iterator(const Iterator& copy) : m_Entry(copy.m_Entry), m_Map(copy.m_Map) {} - const Entry& operator*() const { return **m_Entry; } - Iterator& operator++() { // prefix - if (m_Map && m_Entry) { - do { - ++m_Entry; - if (m_Entry >= &m_Map->m_Buckets[1<<m_Map->m_BucketCountLog]) { - m_Entry = NULL; - } else { - if (*m_Entry) break; - } - } while (m_Entry); - } - return (*this); - } - Iterator operator++(int) { // postfix - Iterator saved_this = *this; - ++(*this); - return saved_this; - } - operator bool() const { - return m_Entry != NULL; - } - bool operator==(const Iterator& other) const { - return m_Map == other.m_Map && m_Entry == other.m_Entry; - } - bool operator!=(const Iterator& other) const { - return !(*this == other); - } - void operator=(const Iterator& other) { - m_Entry = other.m_Entry; - m_Map = other.m_Map; - } - - private: - // friends - friend class NPT_HashMap<K,V,HF>; - - // members - Entry** m_Entry; - const NPT_HashMap<K,V,HF>* m_Map; - }; - - // constructors - NPT_HashMap<K,V,HF>(); - NPT_HashMap<K,V,HF>(const HF& hasher); - NPT_HashMap<K,V,HF>(const NPT_HashMap<K,V,HF>& copy); - - // destructor - ~NPT_HashMap<K,V,HF>(); - - // methods - NPT_Result Put(const K& key, const V& value); - NPT_Result Get(const K& key, V*& value) const; // WARNING: the second parameter is a POINTER on the value type!!! - bool HasKey(const K& key) const { return GetEntry(key) != NULL; } - bool HasValue(const V& value) const; - NPT_Result Erase(const K& key); - NPT_Cardinal GetEntryCount() const { return m_EntryCount; } - Iterator GetEntries() const; - NPT_Result Clear(); - - // list operations - // keep these template members defined here because MSV6 does not let - // us define them later - template <typename X> - NPT_Result Apply(const X& function) const - { - for (int i=0; i<(1<<m_BucketCountLog); i++) { - if (m_Buckets[i]) { - function(m_Buckets[i]); - } - } - return NPT_SUCCESS; - } - - // operators - V& operator[](const K& key); - const NPT_HashMap<K,V,HF>& operator=(const NPT_HashMap<K,V,HF>& copy); - bool operator==(const NPT_HashMap<K,V,HF>& other) const; - bool operator!=(const NPT_HashMap<K,V,HF>& other) const; - -private: - // methods - Entry* GetEntry(const K& key, NPT_UInt32* position=NULL) const; - NPT_Result AddEntry(Entry* entry); - void AllocateBuckets(unsigned int count_log); - void AdjustBuckets(NPT_Cardinal entry_count, bool allow_shrink=false); - - // members - HF m_Hasher; - Entry** m_Buckets; - NPT_Cardinal m_BucketCountLog; - NPT_Cardinal m_EntryCount; -}; - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V>::NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_HashMap<K,V,HF>::NPT_HashMap() : - m_Buckets(NULL), - m_EntryCount(0) -{ - AllocateBuckets(4); -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V>::NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_HashMap<K,V,HF>::NPT_HashMap(const HF& hasher) : - m_Hasher(hasher), - m_Buckets(NULL), - m_EntryCount(0) -{ - AllocateBuckets(4); -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V>::NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_HashMap<K,V,HF>::NPT_HashMap(const NPT_HashMap<K,V,HF>& copy) : - m_Buckets(NULL), - m_BucketCountLog(0), - m_EntryCount(0) -{ - *this = copy; -} - -/*---------------------------------------------------------------------- -| NPT_MapMap<K,V,HF>::NPT_HashMap -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_HashMap<K,V,HF>::~NPT_HashMap() -{ - for (int i=0; i<(1<<m_BucketCountLog); i++) { - delete m_Buckets[i]; - } - delete[] m_Buckets; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::AllocateBuckets -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -void -NPT_HashMap<K,V,HF>::AllocateBuckets(unsigned int count_log) -{ - m_Buckets = new Entry*[1<<count_log]; - m_BucketCountLog = count_log; - for (int i=0; i<(1<<count_log); i++) { - m_Buckets[i] = NULL; - } -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::AdjustBuckets -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -void -NPT_HashMap<K,V,HF>::AdjustBuckets(NPT_Cardinal entry_count, bool allow_shrink) -{ - Entry** buckets = NULL; - unsigned int bucket_count = 1<<m_BucketCountLog; - if (2*entry_count >= bucket_count) { - // we need to grow - buckets = m_Buckets; - AllocateBuckets(m_BucketCountLog+1); - } else if (allow_shrink && (5*entry_count < bucket_count) && m_BucketCountLog > 4) { - // we need to shrink - buckets = m_Buckets; - AllocateBuckets(m_BucketCountLog-1); - } - if (buckets) { - m_EntryCount = 0; - for (unsigned int i=0; i<bucket_count; i++) { - if (buckets[i]) AddEntry(buckets[i]); - } - delete[] buckets; - } -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::Clear -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::Clear() -{ - if (m_Buckets) { - for (int i=0; i<(1<<m_BucketCountLog); i++) { - delete m_Buckets[i]; - } - delete[] m_Buckets; - } - m_EntryCount = 0; - AllocateBuckets(4); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::GetEntries -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -typename NPT_HashMap<K,V,HF>::Iterator -NPT_HashMap<K,V,HF>::GetEntries() const -{ - for (int i=0; i<(1<<m_BucketCountLog); i++) { - if (m_Buckets[i]) { - return Iterator(&m_Buckets[i], this); - } - } - return Iterator(NULL, this); -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::GetEntry -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -typename NPT_HashMap<K,V,HF>::Entry* -NPT_HashMap<K,V,HF>::GetEntry(const K& key, NPT_UInt32* position) const -{ - NPT_UInt32 hash_value = m_Hasher(key); - NPT_UInt32 mask = (1<<m_BucketCountLog)-1; - NPT_UInt32 cursor = hash_value & mask; - while (m_Buckets[cursor]) { - Entry* entry = m_Buckets[cursor]; - if (entry->m_HashValue == hash_value && - entry->m_Key == key) { - if (position) *position = cursor; - return entry; - } - cursor = (cursor + 1) & mask; - } - - return NULL; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::AddEntry -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::AddEntry(Entry* entry) -{ - AdjustBuckets(m_EntryCount+1); - - NPT_UInt32 hash_value = entry->m_HashValue; - NPT_UInt32 mask = (1<<m_BucketCountLog)-1; - NPT_UInt32 cursor = hash_value & mask; - while (m_Buckets[cursor]) { - cursor = (cursor + 1) & mask; - } - m_Buckets[cursor] = entry; - ++m_EntryCount; - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::Put -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::Put(const K& key, const V& value) -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // no existing entry for that key, create one - return AddEntry(new Entry(m_Hasher(key), key, value)); - } else { - // replace the existing entry for that key - entry->SetValue(value); - } - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::Get -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::Get(const K& key, V*& value) const -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // no existing entry for that key - value = NULL; - return NPT_ERROR_NO_SUCH_ITEM; - } else { - // found an entry with that key - value = &entry->m_Value; - return NPT_SUCCESS; - } -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::HasValue -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -bool -NPT_HashMap<K,V,HF>::HasValue(const V& value) const -{ - for (int i=0; i<(1<<m_BucketCountLog); i++) { - if (m_Buckets[i] && m_Buckets[i]->m_Value == value) { - return true; - } - } - - return false; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::Erase -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -NPT_Result -NPT_HashMap<K,V,HF>::Erase(const K& key) -{ - NPT_UInt32 position; - Entry* entry = GetEntry(key, &position); - if (entry == NULL) { - return NPT_ERROR_NO_SUCH_ITEM; - } - - // mark the bucket as unoccupied - m_Buckets[position] = NULL; - - // look for buckets that need to be relocated: - // there should be no empty bucket between an entry's ideal hash bucket - // and its actual bucket. - NPT_UInt32 mask = (1<<m_BucketCountLog)-1; - for (NPT_UInt32 cursor = (position+1) & mask; m_Buckets[cursor]; cursor = (cursor + 1) & mask) { - NPT_UInt32 target = m_Buckets[cursor]->m_HashValue & mask; - // check if target is between position and cursor (modulo the bucket array size) - // | position.target.cursor | - // |....cursor position.target.| or |.target..cursor position...| - if ( (position <= cursor) ? - ((position < target) && (target <= cursor)) : - ((position < target) || (target <= cursor)) ) { - continue; - } - - // move the bucket back - m_Buckets[position] = m_Buckets[cursor]; - m_Buckets[cursor] = NULL; - position = cursor; - } - - // cleanup and adjust the counter and buckets - delete entry; - --m_EntryCount; - AdjustBuckets(m_EntryCount, true); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::operator= -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -const NPT_HashMap<K,V,HF>& -NPT_HashMap<K,V,HF>::operator=(const NPT_HashMap<K,V,HF>& copy) -{ - // do nothing if we're assigning to ourselves - if (this == ©) return copy; - - // destroy all entries - Clear(); - - // prepare to receive all the entries - AdjustBuckets(copy.m_EntryCount); - - // copy all entries - for (int i=0; i<1<<copy.m_BucketCountLog; i++) { - if (copy.m_Buckets[i]) { - AddEntry(new Entry(m_Hasher(copy.m_Buckets[i]->GetKey()), - copy.m_Buckets[i]->GetKey(), - copy.m_Buckets[i]->GetValue())); - } - } - - return *this; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::operator== -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -bool -NPT_HashMap<K,V,HF>::operator==(const NPT_HashMap<K,V,HF>& other) const -{ - // quick check - if (m_EntryCount != other.m_EntryCount) return false; - - // compare all entries to all other entries - for (int i=0; i<(1<<m_BucketCountLog); i++) { - Entry* entry = m_Buckets[i]; - if (entry == NULL) continue; - Entry* other_entry = other.GetEntry(entry->m_Key); - if (other_entry == NULL || !(other_entry->m_Value == entry->m_Value)) { - return false; - } - } - - return true; -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V,HF>::operator!= -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -bool -NPT_HashMap<K,V,HF>::operator!=(const NPT_HashMap<K,V,HF>& other) const -{ - return !(*this == other); -} - -/*---------------------------------------------------------------------- -| NPT_HashMap<K,V>::operator[] -+---------------------------------------------------------------------*/ -template <typename K, typename V, typename HF> -V& -NPT_HashMap<K,V,HF>::operator[](const K& key) -{ - Entry* entry = GetEntry(key); - if (entry == NULL) { - // create a new "default" entry for this key - entry = new Entry(m_Hasher(key), key); - AddEntry(entry); - } - - return entry->m_Value; -} - -/*---------------------------------------------------------------------- -| NPT_MapEntryValueDeleter -+---------------------------------------------------------------------*/ -template <class T> -class NPT_MapEntryValueDeleter { -public: - void operator()(T* entry) const { - delete entry->GetValue(); - } -}; - -#endif // _NPT_MAP_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptMessaging.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptMessaging.h deleted file mode 100644 index 3e61919f56..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptMessaging.h +++ /dev/null @@ -1,230 +0,0 @@ -/***************************************************************** -| -| Neptune - Messaging System -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_MESSAGING_H_ -#define _NPT_MESSAGING_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConstants.h" -#include "NptTypes.h" -#include "NptResults.h" -#include "NptList.h" -#include "NptThreads.h" -#include "NptDynamicCast.h" - -/*---------------------------------------------------------------------- -| forward references -+---------------------------------------------------------------------*/ -class NPT_Message; - -/*---------------------------------------------------------------------- -| NPT_MessageHandler -+---------------------------------------------------------------------*/ -class NPT_MessageHandler -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST(NPT_MessageHandler) - - // methods - virtual ~NPT_MessageHandler() {} - - // default message handler - virtual void OnMessage(NPT_Message*) {} - - // this method is a central point of handling for received messages. - // it can be overloaded by subclasses that wish to process all - // incoming messages - virtual NPT_Result HandleMessage(NPT_Message* message); -}; - -/*---------------------------------------------------------------------- -| NPT_MessageHandlerProxy -+---------------------------------------------------------------------*/ -class NPT_MessageHandlerProxy : public NPT_MessageHandler -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST_D(NPT_MessageHandlerProxy, NPT_MessageHandler) - - /** - * Create a proxy for a message handler. - * All calls to HandleMessage() and OnMessage() on the proxy - * are automatically forwarded to the handler. - * This class is useful in cases where a handler is passed - * asynchronously (for example in a message queue) and one wishes - * to guarantee right away that no more calls to the handler will be - * made (because, for example, the handler needs to be deleted). - * - * The proxy object keeps a pointer to the handler, but does not own it. - */ - NPT_MessageHandlerProxy(NPT_MessageHandler* handler); - - // destructor - virtual ~NPT_MessageHandlerProxy(); - - // NPT_MessageHandler methods - virtual void OnMessage(NPT_Message*); - virtual NPT_Result HandleMessage(NPT_Message* message); - - /** - * Detach the proxy from the handler implementation. - * After this call returns, calls will no longer be - * forwarded to the handler object. It is then safe, for example, - * to delete the handler. - */ - void DetachHandler(); - - /** - * Increment the reference count - */ - void AddReference(); - - /** - * Decrement the reference count and delete if 0 - */ - void Release(); - -private: - // members - NPT_MessageHandler* m_Handler; - NPT_Cardinal m_ReferenceCount; - NPT_Mutex m_Lock; -}; - -/*---------------------------------------------------------------------- -| NPT_Messsage -+---------------------------------------------------------------------*/ -class NPT_Message -{ -public: - // types - typedef const char* Type; - - // static members - static Type const MessageType; - - // methods - virtual ~NPT_Message() {} - virtual Type GetType() { return MessageType; } - virtual NPT_Result Dispatch(NPT_MessageHandler* handler) { - return DefaultDeliver(handler); - } - // this method should really be called 'Deliver', but this would - // cause a problem when subclasses overload it - virtual NPT_Result DefaultDeliver(NPT_MessageHandler* handler) { - handler->OnMessage(this); - return NPT_SUCCESS; - } -}; - -/*---------------------------------------------------------------------- -| NPT_TerminateMesssage -+---------------------------------------------------------------------*/ -class NPT_TerminateMessage : public NPT_Message -{ -public: - // methods - NPT_Result Dispatch(NPT_MessageHandler* /*handler*/) { - return NPT_ERROR_TERMINATED; - } -}; - -/*---------------------------------------------------------------------- -| NPT_MessageQueue -+---------------------------------------------------------------------*/ -class NPT_MessageQueue -{ -public: - // methods - virtual ~NPT_MessageQueue() {} - virtual NPT_Result PumpMessage(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result QueueMessage(NPT_Message* message, - NPT_MessageHandler* handler) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_MessageReceiver -+---------------------------------------------------------------------*/ -class NPT_MessageReceiver -{ -public: - // methods - NPT_MessageReceiver() : m_Queue(NULL), m_Handler(NULL) {} - NPT_MessageReceiver(NPT_MessageHandler* handler) : - m_Queue(NULL), m_Handler(handler) {} - NPT_MessageReceiver(NPT_MessageQueue* queue) : - m_Queue(queue), m_Handler(NULL) {} - NPT_MessageReceiver(NPT_MessageHandler* handler, - NPT_MessageQueue* queue) : - m_Queue(queue), m_Handler(handler) {} - virtual ~NPT_MessageReceiver() {} - NPT_Result SetQueue(NPT_MessageQueue* queue) { - m_Queue = queue; - return NPT_SUCCESS; - } - NPT_Result SetHandler(NPT_MessageHandler* handler) { - m_Handler = handler; - return NPT_SUCCESS; - } - virtual NPT_Result PostMessage(NPT_Message* message) { - if (m_Queue) { - return m_Queue->QueueMessage(message, m_Handler); - } else { - return NPT_FAILURE; - } - } - -protected: - // members - NPT_MessageQueue* m_Queue; - NPT_MessageHandler* m_Handler; -}; - -/*---------------------------------------------------------------------- -| NPT_MessageBroadcaster -+---------------------------------------------------------------------*/ -class NPT_MessageBroadcaster -{ -public: - // methods - NPT_MessageBroadcaster(NPT_Message* message) : m_Message(message) {} - NPT_Result operator()(NPT_MessageReceiver*& receiver) const { - receiver->PostMessage(m_Message); - return NPT_SUCCESS; - } - -private: - // members - NPT_Message* m_Message; -}; - -#endif // _NPT_MESSAGING_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptNetwork.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptNetwork.h deleted file mode 100644 index 6486f0353a..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptNetwork.h +++ /dev/null @@ -1,250 +0,0 @@ -/***************************************************************** -| -| Neptune - Network -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_NETWORK_H_ -#define _NPT_NETWORK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptStrings.h" -#include "NptList.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const unsigned int NPT_NETWORK_MAX_MAC_ADDRESS_LENGTH = 8; - -/*---------------------------------------------------------------------- -| flags -+---------------------------------------------------------------------*/ -#define NPT_NETWORK_INTERFACE_FLAG_LOOPBACK 0x01 -#define NPT_NETWORK_INTERFACE_FLAG_PROMISCUOUS 0x02 -#define NPT_NETWORK_INTERFACE_FLAG_BROADCAST 0x04 -#define NPT_NETWORK_INTERFACE_FLAG_MULTICAST 0x08 -#define NPT_NETWORK_INTERFACE_FLAG_POINT_TO_POINT 0x10 - -/*---------------------------------------------------------------------- -| workarounds -+---------------------------------------------------------------------*/ -#if defined(_WIN32) -#if defined(SetPort) -#undef SetPort -#endif -#endif - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef unsigned int NPT_IpPort; - -/*---------------------------------------------------------------------- -| NPT_IpAddress -+---------------------------------------------------------------------*/ -class NPT_IpAddress -{ -public: - // class members - static const NPT_IpAddress Any; - - // constructors and destructor - NPT_IpAddress(); - NPT_IpAddress(unsigned long address); - NPT_IpAddress(unsigned char a, unsigned char b, unsigned char c, unsigned char d); - - // methods - NPT_Result ResolveName(const char* name, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - NPT_Result Parse(const char* name); - NPT_Result Set(unsigned long address); - NPT_Result Set(const unsigned char bytes[4]); - const unsigned char* AsBytes() const; - unsigned long AsLong() const; - NPT_String ToString() const; - - // operators - bool operator==(const NPT_IpAddress& other) const; - - // FIXME: temporary - NPT_String m_HostName; - -private: - // members - unsigned char m_Address[4]; -}; - -/*---------------------------------------------------------------------- -| NPT_MacAddress -+---------------------------------------------------------------------*/ -class NPT_MacAddress -{ -public: - // typedef enum - typedef enum { - TYPE_UNKNOWN, - TYPE_LOOPBACK, - TYPE_ETHERNET, - TYPE_PPP, - TYPE_IEEE_802_11 - } Type; - - // constructors and destructor - NPT_MacAddress() : m_Type(TYPE_UNKNOWN), m_Length(0) {} - NPT_MacAddress(Type type, - const unsigned char* addr, - unsigned int length); - - // methods - void SetAddress(Type type, const unsigned char* addr, - unsigned int length); - Type GetType() const { return m_Type; } - const unsigned char* GetAddress() const { return m_Address; } - unsigned int GetLength() const { return m_Length; } - NPT_String ToString() const; - -private: - // members - Type m_Type; - unsigned char m_Address[NPT_NETWORK_MAX_MAC_ADDRESS_LENGTH]; - unsigned int m_Length; -}; - -/*---------------------------------------------------------------------- -| NPT_NetworkInterfaceAddress -+---------------------------------------------------------------------*/ -class NPT_NetworkInterfaceAddress -{ -public: - // constructors and destructor - NPT_NetworkInterfaceAddress(const NPT_IpAddress& primary, - const NPT_IpAddress& broadcast, - const NPT_IpAddress& destination, - const NPT_IpAddress& netmask) : - m_PrimaryAddress(primary), - m_BroadcastAddress(broadcast), - m_DestinationAddress(destination), - m_NetMask(netmask) {} - - // methods - const NPT_IpAddress& GetPrimaryAddress() const { - return m_PrimaryAddress; - } - const NPT_IpAddress& GetBroadcastAddress() const { - return m_BroadcastAddress; - } - const NPT_IpAddress& GetDestinationAddress() const { - return m_DestinationAddress; - } - const NPT_IpAddress& GetNetMask() const { - return m_NetMask; - } - - bool IsAddressInNetwork(const NPT_IpAddress& address) { - if (m_PrimaryAddress.AsLong() == address.AsLong()) return true; - if (m_NetMask.AsLong() == 0) return false; - return (m_PrimaryAddress.AsLong() & m_NetMask.AsLong()) == (address.AsLong() & m_NetMask.AsLong()); - } - -private: - // members - NPT_IpAddress m_PrimaryAddress; - NPT_IpAddress m_BroadcastAddress; - NPT_IpAddress m_DestinationAddress; - NPT_IpAddress m_NetMask; -}; - -/*---------------------------------------------------------------------- -| NPT_NetworkInterface -+---------------------------------------------------------------------*/ -class NPT_NetworkInterface -{ -public: - // class methods - static NPT_Result GetNetworkInterfaces(NPT_List<NPT_NetworkInterface*>& interfaces); - - // constructors and destructor - NPT_NetworkInterface(const char* name, - const NPT_MacAddress& mac, - NPT_Flags flags); - NPT_NetworkInterface(const char* name, - NPT_Flags flags); - ~NPT_NetworkInterface() {} - - // methods - NPT_Result AddAddress(const NPT_NetworkInterfaceAddress& address); - const NPT_String& GetName() const { - return m_Name; - } - const NPT_MacAddress& GetMacAddress() const { - return m_MacAddress; - } - void SetMacAddress(NPT_MacAddress::Type type, - const unsigned char* addr, - unsigned int length) { - m_MacAddress.SetAddress(type, addr, length); - } - NPT_Flags GetFlags() const { return m_Flags; } - const NPT_List<NPT_NetworkInterfaceAddress>& GetAddresses() const { - return m_Addresses; - } - - bool IsAddressInNetwork(const NPT_IpAddress& address) { - NPT_List<NPT_NetworkInterfaceAddress>::Iterator iter = m_Addresses.GetFirstItem(); - while (iter) { - if ((*iter).IsAddressInNetwork(address)) return true; - ++iter; - } - return false; - } - -private: - // members - NPT_String m_Name; - NPT_MacAddress m_MacAddress; - NPT_Flags m_Flags; - NPT_List<NPT_NetworkInterfaceAddress> m_Addresses; -}; - -/*---------------------------------------------------------------------- -| NPT_NetworkNameResolver -+---------------------------------------------------------------------*/ -class NPT_NetworkNameResolver -{ -public: - // class methods - static NPT_Result Resolve(const char* name, - NPT_List<NPT_IpAddress>& addresses, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); -}; - -#endif // _NPT_NETWORK_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptQueue.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptQueue.h deleted file mode 100644 index ecfe1a92fd..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptQueue.h +++ /dev/null @@ -1,94 +0,0 @@ -/***************************************************************** -| -| Neptune - Queue -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_QUEUE_H_ -#define _NPT_QUEUE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" - -/*---------------------------------------------------------------------- -| NPT_QueueItem -+---------------------------------------------------------------------*/ -class NPT_QueueItem; - -/*---------------------------------------------------------------------- -| NPT_GenericQueue -+---------------------------------------------------------------------*/ -class NPT_GenericQueue -{ - public: - // class methods - static NPT_GenericQueue* CreateInstance(NPT_Cardinal max_items = 0); - - // methods - virtual ~NPT_GenericQueue() {} - virtual NPT_Result Push(NPT_QueueItem* item, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result Pop(NPT_QueueItem*& item, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result Peek(NPT_QueueItem*& item, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - protected: - // methods - NPT_GenericQueue() {} -}; - -/*---------------------------------------------------------------------- -| NPT_Queue -+---------------------------------------------------------------------*/ -template <class T> -class NPT_Queue -{ - public: - // methods - NPT_Queue(NPT_Cardinal max_items = 0) : - m_Delegate(NPT_GenericQueue::CreateInstance(max_items)) {} - virtual ~NPT_Queue<T>() { delete m_Delegate; } - virtual NPT_Result Push(T* item, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->Push(reinterpret_cast<NPT_QueueItem*>(item), timeout); - } - virtual NPT_Result Pop(T*& item, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->Pop(reinterpret_cast<NPT_QueueItem*&>(item), timeout); - } - virtual NPT_Result Peek(T*& item, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->Peek(reinterpret_cast<NPT_QueueItem*&>(item), timeout); - } - - protected: - // members - NPT_GenericQueue* m_Delegate; -}; - -#endif // _NPT_QUEUE_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptReferences.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptReferences.h deleted file mode 100644 index c8e1f5ad42..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptReferences.h +++ /dev/null @@ -1,173 +0,0 @@ -/***************************************************************** -| -| Neptune - References -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_REFERENCES_H_ -#define _NPT_REFERENCES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConstants.h" -#include "NptThreads.h" - -/*---------------------------------------------------------------------- -| NPT_Reference -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_Reference -{ -public: - // constructors and destructor - NPT_Reference() : m_Object(NULL), m_Counter(NULL), m_Mutex(NULL), m_ThreadSafe(true) {} - explicit NPT_Reference(T* object, bool thread_safe = true) : - m_Object(object), - m_Counter(object?new NPT_Cardinal(1):NULL), - m_Mutex((object && thread_safe)?new NPT_Mutex():NULL), - m_ThreadSafe(thread_safe) {} - - NPT_Reference(const NPT_Reference<T>& ref) : - m_Object(ref.m_Object), m_Counter(ref.m_Counter), m_Mutex(ref.m_Mutex), m_ThreadSafe(ref.m_ThreadSafe) { - if (m_Mutex) m_Mutex->Lock(); - if (m_Counter) ++(*m_Counter); - if (m_Mutex) m_Mutex->Unlock(); - } - - // this methods should be private, but this causes a problem on some - // compilers, because we need this function in order to implement - // the cast operator operator NPT_Reference<U>() below, which would - // have to be marked as a friend, and friend declarations with the - // same class name confuses some compilers - NPT_Reference(T* object, NPT_Cardinal* counter, NPT_Mutex* mutex, bool thread_safe) : - m_Object(object), m_Counter(counter), m_Mutex(mutex), m_ThreadSafe(thread_safe) { - if (m_Mutex) m_Mutex->Lock(); - if (m_Counter) ++(*m_Counter); - if (m_Mutex) m_Mutex->Unlock(); - } - - ~NPT_Reference() { - Release(); - } - - // overloaded operators - NPT_Reference<T>& operator=(const NPT_Reference<T>& ref) { - if (this != &ref) { - Release(); - m_Object = ref.m_Object; - m_Counter = ref.m_Counter; - m_Mutex = ref.m_Mutex; - m_ThreadSafe = ref.m_ThreadSafe; - - if (m_Mutex) m_Mutex->Lock(); - if (m_Counter) ++(*m_Counter); - if (m_Mutex) m_Mutex->Unlock(); - } - return *this; - } - NPT_Reference<T>& operator=(T* object) { - Release(); - m_Object = object; - m_Counter = object?new NPT_Cardinal(1):NULL; - m_Mutex = (object && m_ThreadSafe)?new NPT_Mutex():NULL; - return *this; - } - T& operator*() const { return *m_Object; } - T* operator->() const { return m_Object; } - - bool operator==(const NPT_Reference<T>& ref) const { - return m_Object == ref.m_Object; - } - bool operator!=(const NPT_Reference<T>& ref) const { - return m_Object != ref.m_Object; - } - - // overloaded cast operators - template <typename U> operator NPT_Reference<U>() { - return NPT_Reference<U>(m_Object, m_Counter, m_Mutex, m_ThreadSafe); - } - - // methods - /** - * Returns the naked pointer value. - */ - T* AsPointer() const { return m_Object; } - - /** - * Returns the reference counter value. - */ - NPT_Cardinal GetCounter() const { return *m_Counter; } - - /** - * Returns whether this references a NULL object. - */ - bool IsNull() const { return m_Object == NULL; } - - /** - * Detach the reference from the shared object. - * The reference count is decremented, but the object is not deleted if the - * reference count becomes 0. - * After the method returns, this reference does not point to any shared object. - */ - void Detach() { - Release(true); - } - -private: - // methods - void Release(bool detach_only = false) { - bool last_reference = false; - if (m_Mutex) m_Mutex->Lock(); - - if (m_Counter && --(*m_Counter) == 0) { - delete m_Counter; - if (!detach_only) delete m_Object; - last_reference = true; - } - - m_Counter = NULL; - m_Object = NULL; - - if (m_Mutex) { - NPT_Mutex* mutex = m_Mutex; - m_Mutex = NULL; - mutex->Unlock(); - if (last_reference) delete mutex; - } - - } - - // members - T* m_Object; - NPT_Cardinal* m_Counter; - NPT_Mutex* m_Mutex; - bool m_ThreadSafe; -}; - -#endif // _NPT_REFERENCES_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptResults.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptResults.h deleted file mode 100644 index 88025f7b9d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptResults.h +++ /dev/null @@ -1,163 +0,0 @@ -/***************************************************************** -| -| Neptune - Result Codes -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_RESULTS_H_ -#define _NPT_RESULTS_H_ - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#if defined(NPT_DEBUG) -#include "NptDebug.h" -#define NPT_CHECK(_x) \ -do { \ - NPT_Result _result = (_x); \ - if (_result != NPT_SUCCESS) { \ - NPT_Debug("%s(%d): @@@ NPT_CHECK failed, result=%d (%s)\n", __FILE__, __LINE__, _result, NPT_ResultText(_result)); \ - return _result; \ - } \ -} while(0) -#define NPT_CHECK_POINTER(_p) \ -do { \ - if ((_p) == NULL) { \ - NPT_Debug("%s(%d): @@@ NULL pointer parameter\n", __FILE__, __LINE__); \ - return NPT_ERROR_INVALID_PARAMETERS; \ - } \ -} while(0) -#define NPT_CHECK_LABEL(_x, label) \ -do { \ - NPT_Result _result = (_x); \ - if (_result != NPT_SUCCESS) { \ - NPT_Debug("%s(%d): @@@ NPT_CHECK failed, result=%d (%s)\n", __FILE__, __LINE__, _result, NPT_ResultText(_result)); \ - goto label; \ - } \ -} while(0) -#define NPT_CHECK_POINTER_LABEL(_p, label) \ -do { \ - if (_p == NULL) { \ - NPT_Debug("%s(%d): @@@ NULL pointer parameter\n", __FILE__, __LINE__); \ - goto label; \ - } \ -} while(0) -#else -#define NPT_CHECK(_x) \ -do { \ - NPT_Result _result = (_x); \ - if (_result != NPT_SUCCESS) { \ - return _result; \ - } \ -} while(0) -#define NPT_CHECK_POINTER(_p) \ -do { \ - if ((_p) == NULL) return NPT_ERROR_INVALID_PARAMETERS; \ -} while(0) -#define NPT_CHECK_LABEL(_x, label) \ -do { \ - NPT_Result _result = (_x); \ - if (_result != NPT_SUCCESS) { \ - goto label; \ - } \ -} while(0) -#define NPT_CHECK_POINTER_LABEL(_p, label) \ -do { \ - if ((_p) == NULL) { \ - goto label; \ - } \ -} while(0) -#endif - -#define NPT_FAILED(result) ((result) != NPT_SUCCESS) -#define NPT_SUCCEEDED(result) ((result) == NPT_SUCCESS) - -/*---------------------------------------------------------------------- -| result codes -+---------------------------------------------------------------------*/ -/** Result indicating that the operation or call succeeded */ -#define NPT_SUCCESS 0 - -/** Result indicating an unspecififed failure condition */ -#define NPT_FAILURE (-1) - -#if !defined(NPT_ERROR_BASE) -#define NPT_ERROR_BASE -20000 -#endif - -// error bases -#define NPT_ERROR_BASE_GENERAL (NPT_ERROR_BASE-0) -#define NPT_ERROR_BASE_LIST (NPT_ERROR_BASE-100) -#define NPT_ERROR_BASE_FILE (NPT_ERROR_BASE-200) -#define NPT_ERROR_BASE_IO (NPT_ERROR_BASE-300) -#define NPT_ERROR_BASE_SOCKET (NPT_ERROR_BASE-400) -#define NPT_ERROR_BASE_INTERFACES (NPT_ERROR_BASE-500) -#define NPT_ERROR_BASE_XML (NPT_ERROR_BASE-600) -#define NPT_ERROR_BASE_UNIX (NPT_ERROR_BASE-700) -#define NPT_ERROR_BASE_HTTP (NPT_ERROR_BASE-800) -#define NPT_ERROR_BASE_THREADS (NPT_ERROR_BASE-900) -#define NPT_ERROR_BASE_SERIAL_PORT (NPT_ERROR_BASE-1000) -#define NPT_ERROR_BASE_TLS (NPT_ERROR_BASE-1100) - -// general errors -#define NPT_ERROR_INVALID_PARAMETERS (NPT_ERROR_BASE_GENERAL - 0) -#define NPT_ERROR_PERMISSION_DENIED (NPT_ERROR_BASE_GENERAL - 1) -#define NPT_ERROR_OUT_OF_MEMORY (NPT_ERROR_BASE_GENERAL - 2) -#define NPT_ERROR_NO_SUCH_NAME (NPT_ERROR_BASE_GENERAL - 3) -#define NPT_ERROR_NO_SUCH_PROPERTY (NPT_ERROR_BASE_GENERAL - 4) -#define NPT_ERROR_NO_SUCH_ITEM (NPT_ERROR_BASE_GENERAL - 5) -#define NPT_ERROR_NO_SUCH_CLASS (NPT_ERROR_BASE_GENERAL - 6) -#define NPT_ERROR_OVERFLOW (NPT_ERROR_BASE_GENERAL - 7) -#define NPT_ERROR_INTERNAL (NPT_ERROR_BASE_GENERAL - 8) -#define NPT_ERROR_INVALID_STATE (NPT_ERROR_BASE_GENERAL - 9) -#define NPT_ERROR_INVALID_FORMAT (NPT_ERROR_BASE_GENERAL - 10) -#define NPT_ERROR_INVALID_SYNTAX (NPT_ERROR_BASE_GENERAL - 11) -#define NPT_ERROR_NOT_IMPLEMENTED (NPT_ERROR_BASE_GENERAL - 12) -#define NPT_ERROR_NOT_SUPPORTED (NPT_ERROR_BASE_GENERAL - 13) -#define NPT_ERROR_TIMEOUT (NPT_ERROR_BASE_GENERAL - 14) -#define NPT_ERROR_WOULD_BLOCK (NPT_ERROR_BASE_GENERAL - 15) -#define NPT_ERROR_TERMINATED (NPT_ERROR_BASE_GENERAL - 16) -#define NPT_ERROR_OUT_OF_RANGE (NPT_ERROR_BASE_GENERAL - 17) -#define NPT_ERROR_OUT_OF_RESOURCES (NPT_ERROR_BASE_GENERAL - 18) -#define NPT_ERROR_NOT_ENOUGH_SPACE (NPT_ERROR_BASE_GENERAL - 19) -#define NPT_ERROR_INTERRUPTED (NPT_ERROR_BASE_GENERAL - 20) -#define NPT_ERROR_CANCELLED (NPT_ERROR_BASE_GENERAL - 21) - -/* standard error codes */ -/* these are special codes to convey an errno */ -/* the error code is (SHI_ERROR_BASE_ERRNO - errno) */ -/* where errno is the positive integer from errno.h */ -#define NPT_ERROR_BASE_ERRNO (NPT_ERROR_BASE-2000) -#define NPT_ERROR_ERRNO(e) (NPT_ERROR_BASE_ERRNO - (e)) - -/*---------------------------------------------------------------------- -| functions -+---------------------------------------------------------------------*/ -const char* NPT_ResultText(int result); - -#endif // _NPT_RESULTS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptRingBuffer.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptRingBuffer.h deleted file mode 100644 index 990b4a6c6e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptRingBuffer.h +++ /dev/null @@ -1,84 +0,0 @@ -/***************************************************************** -| -| Neptune - Ring Buffer -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_RING_BUFFER_H_ -#define _NPT_RING_BUFFER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptReferences.h" - -/*---------------------------------------------------------------------- -| NPT_RingBuffer -+---------------------------------------------------------------------*/ -class NPT_RingBuffer -{ - public: - // methods - NPT_RingBuffer(NPT_Size size); - NPT_RingBuffer(void* buffer, NPT_Size size); - virtual ~NPT_RingBuffer(); - NPT_Size GetSpace() const; - NPT_Size GetContiguousSpace() const; - NPT_Result Write(const void* buffer, NPT_Size byte_count); - NPT_Size GetAvailable() const; - NPT_Size GetContiguousAvailable() const; - NPT_Result Read(void* buffer, NPT_Size byte_count); - unsigned char ReadByte(); - unsigned char PeekByte(NPT_Position offset); - NPT_Result MoveIn(NPT_Position offset); - NPT_Result MoveOut(NPT_Position offset); - NPT_Result Flush(); - NPT_Result Close(); - bool IsClosed() { return m_Closed; } - - // accessors - unsigned char* GetWritePointer() { return m_In; } - unsigned char* GetReadPointer() { return m_Out;} - - private: - // members - struct { - unsigned char* start; - unsigned char* end; - } m_Data; - unsigned char* m_In; - unsigned char* m_Out; -// NPT_Size m_Size; - bool m_BufferIsLocal; - bool m_Closed; -}; - -typedef NPT_Reference<NPT_RingBuffer> NPT_RingBufferReference; - -#endif // _NPT_RING_BUFFER_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSelectableMessageQueue.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSelectableMessageQueue.h deleted file mode 100644 index 23dd499153..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSelectableMessageQueue.h +++ /dev/null @@ -1,68 +0,0 @@ -/***************************************************************** -| -| Neptune - Selectable Message Queue -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SELECTABLE_MESSAGE_QUEUE_H_ -#define _NPT_SELECTABLE_MESSAGE_QUEUE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptMessaging.h" -#include "NptSimpleMessageQueue.h" - -/*---------------------------------------------------------------------- -| NPT_SelectableMessageQueue -+---------------------------------------------------------------------*/ -class NPT_SelectableMessageQueue : public NPT_SimpleMessageQueue -{ -public: - // methods - NPT_SelectableMessageQueue(); - virtual ~NPT_SelectableMessageQueue(); - - // NPT_MessageQueue methods - virtual NPT_Result PumpMessage(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - virtual NPT_Result QueueMessage(NPT_Message* message, - NPT_MessageHandler* handler); - - // methods - int GetEventFd() { return m_Pipe[0]; } - -private: - // methods - NPT_Result FlushEvent(); - - // members - int m_Pipe[2]; -}; - - -#endif /* _NPT_SELECTABLE_MESSAGE_QUEUE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSerialPort.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSerialPort.h deleted file mode 100644 index 1e23a3d37f..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSerialPort.h +++ /dev/null @@ -1,119 +0,0 @@ -/***************************************************************** -| -| Neptune - Serial Ports -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SERIAL_PORT_H_ -#define _NPT_SERIAL_PORT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptStreams.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_NO_SUCH_SERIAL_PORT = NPT_ERROR_BASE_SERIAL_PORT - 0; -const int NPT_ERROR_SERIAL_PORT_NOT_OPEN = NPT_ERROR_BASE_SERIAL_PORT - 1; -const int NPT_ERROR_SERIAL_PORT_ALREADY_OPEN = NPT_ERROR_BASE_SERIAL_PORT - 2; -const int NPT_ERROR_SERIAL_PORT_BUSY = NPT_ERROR_BASE_SERIAL_PORT - 3; - -typedef enum { - NPT_SERIAL_PORT_PARITY_NONE, - NPT_SERIAL_PORT_PARITY_EVEN, - NPT_SERIAL_PORT_PARITY_ODD, - NPT_SERIAL_PORT_PARITY_MARK -} NPT_SerialPortParity; - -typedef enum { - NPT_SERIAL_PORT_STOP_BITS_1, - NPT_SERIAL_PORT_STOP_BITS_1_5, - NPT_SERIAL_PORT_STOP_BITS_2 -} NPT_SerialPortStopBits; - -typedef enum { - NPT_SERIAL_PORT_FLOW_CONTROL_NONE, - NPT_SERIAL_PORT_FLOW_CONTROL_HARDWARE, - NPT_SERIAL_PORT_FLOW_CONTROL_XON_XOFF -} NPT_SerialPortFlowControl; - -/*---------------------------------------------------------------------- -| NPT_SerialPortInterface -+---------------------------------------------------------------------*/ -class NPT_SerialPortInterface -{ -public: - // constructors and destructor - virtual ~NPT_SerialPortInterface() {} - - // methods - virtual NPT_Result Open(unsigned int speed, - NPT_SerialPortStopBits stop_bits, - NPT_SerialPortFlowControl flow_control, - NPT_SerialPortParity parity) = 0; - virtual NPT_Result Close() = 0; - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream) = 0; - virtual NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_SerialPort -+---------------------------------------------------------------------*/ -class NPT_SerialPort : public NPT_SerialPortInterface -{ -public: - // constructors and destructor - NPT_SerialPort(const char* name); - ~NPT_SerialPort() { delete m_Delegate; } - - // NPT_SerialPortInterface methods - NPT_Result Open(unsigned int speed, - NPT_SerialPortStopBits stop_bits = NPT_SERIAL_PORT_STOP_BITS_1, - NPT_SerialPortFlowControl flow_control = NPT_SERIAL_PORT_FLOW_CONTROL_NONE, - NPT_SerialPortParity parity = NPT_SERIAL_PORT_PARITY_NONE) { - return m_Delegate->Open(speed, stop_bits, flow_control, parity); - } - NPT_Result Close() { - return m_Delegate->Close(); - } - NPT_Result GetInputStream(NPT_InputStreamReference& stream) { - return m_Delegate->GetInputStream(stream); - } - NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) { - return m_Delegate->GetOutputStream(stream); - } - -protected: - // members - NPT_SerialPortInterface* m_Delegate; -}; - -#endif // _NPT_SERIAL_PORT_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSimpleMessageQueue.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSimpleMessageQueue.h deleted file mode 100644 index 158b6ff029..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSimpleMessageQueue.h +++ /dev/null @@ -1,68 +0,0 @@ -/***************************************************************** -| -| Neptune - Simple Message Queue -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SIMPLE_MESSAGE_QUEUE_H_ -#define _NPT_SIMPLE_MESSAGE_QUEUE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptThreads.h" -#include "NptMessaging.h" -#include "NptQueue.h" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_SimpleMessageCapsule; - -/*---------------------------------------------------------------------- -| NPT_SimpleMessageQueue -+---------------------------------------------------------------------*/ -class NPT_SimpleMessageQueue : public NPT_MessageQueue -{ - public: - // members - NPT_SimpleMessageQueue(); - virtual ~NPT_SimpleMessageQueue(); - - // NPT_MessageQueue methods - virtual NPT_Result QueueMessage(NPT_Message* message, - NPT_MessageHandler* handler); - virtual NPT_Result PumpMessage(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - - private: - // members - NPT_Queue<NPT_SimpleMessageCapsule> m_Queue; -}; - -#endif // _NPT_SIMPLE_MESSAGE_QUEUE_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSockets.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSockets.h deleted file mode 100644 index 789939a534..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSockets.h +++ /dev/null @@ -1,335 +0,0 @@ -/***************************************************************** -| -| Neptune - Network Sockets -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SOCKETS_H_ -#define _NPT_SOCKETS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptStreams.h" -#include "NptStrings.h" -#include "NptDataBuffer.h" -#include "NptNetwork.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_CONNECTION_RESET = NPT_ERROR_BASE_SOCKET - 0; -const int NPT_ERROR_CONNECTION_ABORTED = NPT_ERROR_BASE_SOCKET - 1; -const int NPT_ERROR_CONNECTION_REFUSED = NPT_ERROR_BASE_SOCKET - 2; -const int NPT_ERROR_CONNECTION_FAILED = NPT_ERROR_BASE_SOCKET - 3; -const int NPT_ERROR_HOST_UNKNOWN = NPT_ERROR_BASE_SOCKET - 4; -const int NPT_ERROR_SOCKET_FAILED = NPT_ERROR_BASE_SOCKET - 5; -const int NPT_ERROR_GETSOCKOPT_FAILED = NPT_ERROR_BASE_SOCKET - 6; -const int NPT_ERROR_SETSOCKOPT_FAILED = NPT_ERROR_BASE_SOCKET - 7; -const int NPT_ERROR_SOCKET_CONTROL_FAILED = NPT_ERROR_BASE_SOCKET - 8; -const int NPT_ERROR_BIND_FAILED = NPT_ERROR_BASE_SOCKET - 9; -const int NPT_ERROR_LISTEN_FAILED = NPT_ERROR_BASE_SOCKET - 10; -const int NPT_ERROR_ACCEPT_FAILED = NPT_ERROR_BASE_SOCKET - 11; -const int NPT_ERROR_ADDRESS_IN_USE = NPT_ERROR_BASE_SOCKET - 12; -const int NPT_ERROR_NETWORK_DOWN = NPT_ERROR_BASE_SOCKET - 13; -const int NPT_ERROR_NETWORK_UNREACHABLE = NPT_ERROR_BASE_SOCKET - 14; -const int NPT_ERROR_NOT_CONNECTED = NPT_ERROR_BASE_SOCKET - 15; - -const unsigned int NPT_SOCKET_FLAG_CANCELLABLE = 1; // make the socket cancellable - -/*---------------------------------------------------------------------- -| forward references -+---------------------------------------------------------------------*/ -class NPT_Socket; - -/*---------------------------------------------------------------------- -| NPT_SocketAddress -+---------------------------------------------------------------------*/ -class NPT_SocketAddress -{ -public: - // constructors and destructor - NPT_SocketAddress() : m_Port(0) {} - NPT_SocketAddress(const NPT_IpAddress& address, NPT_IpPort port) : - m_IpAddress(address), - m_Port(port) {} - - // methods - NPT_Result SetIpAddress(const NPT_IpAddress& address) { - m_IpAddress = address; - return NPT_SUCCESS; - } - const NPT_IpAddress& GetIpAddress() const { - return m_IpAddress; - } - NPT_Result SetPort(NPT_IpPort port) { - m_Port = port; - return NPT_SUCCESS; - } - NPT_IpPort GetPort() const { - return m_Port; - } - NPT_String ToString() const; - - // operators - bool operator==(const NPT_SocketAddress& other) const; - -private: - // members - NPT_IpAddress m_IpAddress; - NPT_IpPort m_Port; -}; - -/*---------------------------------------------------------------------- -| NPT_SocketInfo -+---------------------------------------------------------------------*/ -typedef struct { - NPT_SocketAddress local_address; - NPT_SocketAddress remote_address; -} NPT_SocketInfo; - -/*---------------------------------------------------------------------- -| NPT_SocketInterface -+---------------------------------------------------------------------*/ -class NPT_SocketInterface -{ - public: - virtual ~NPT_SocketInterface() {} - - // interface methods - virtual NPT_Result Bind(const NPT_SocketAddress& address, bool reuse_address = true) = 0; - virtual NPT_Result Connect(const NPT_SocketAddress& address, NPT_Timeout timeout) = 0; - virtual NPT_Result WaitForConnection(NPT_Timeout timeout) = 0; - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream) = 0; - virtual NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) = 0; - virtual NPT_Result GetInfo(NPT_SocketInfo& info) = 0; - virtual NPT_Result SetReadTimeout(NPT_Timeout timeout) = 0; - virtual NPT_Result SetWriteTimeout(NPT_Timeout timeout) = 0; - virtual NPT_Result Cancel(bool shutdown=true) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_UdpSocketInterface -+---------------------------------------------------------------------*/ -class NPT_UdpSocketInterface -{ - public: - virtual ~NPT_UdpSocketInterface() {} - - // methods - virtual NPT_Result Send(const NPT_DataBuffer& packet, - const NPT_SocketAddress* address = NULL) = 0; - virtual NPT_Result Receive(NPT_DataBuffer& packet, - NPT_SocketAddress* address = NULL) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_UdpMulticastSocketInterface -+---------------------------------------------------------------------*/ -class NPT_UdpMulticastSocketInterface -{ - public: - virtual ~NPT_UdpMulticastSocketInterface() {} - - // methods - virtual NPT_Result JoinGroup(const NPT_IpAddress& group, - const NPT_IpAddress& iface) = 0; - virtual NPT_Result LeaveGroup(const NPT_IpAddress& group, - const NPT_IpAddress& iface) = 0; - virtual NPT_Result SetTimeToLive(unsigned char ttl) = 0; - virtual NPT_Result SetInterface(const NPT_IpAddress& iface) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_TcpServerSocketInterface -+---------------------------------------------------------------------*/ -class NPT_TcpServerSocketInterface -{ - public: - virtual ~NPT_TcpServerSocketInterface() {} - - // interface methods - virtual NPT_Result Listen(unsigned int max_clients) = 0; - virtual NPT_Result WaitForNewClient(NPT_Socket*& client, - NPT_Timeout timeout, - NPT_Flags flags) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Socket -+---------------------------------------------------------------------*/ -class NPT_Socket : public NPT_SocketInterface -{ -public: - // constructor and destructor - explicit NPT_Socket(NPT_SocketInterface* delegate) : m_SocketDelegate(delegate) {} - virtual ~NPT_Socket(); - - // delegate NPT_SocketInterface methods - NPT_Result Bind(const NPT_SocketAddress& address, bool reuse_address = true) { - return m_SocketDelegate->Bind(address, reuse_address); - } - NPT_Result Connect(const NPT_SocketAddress& address, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_SocketDelegate->Connect(address, timeout); - } - NPT_Result WaitForConnection(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_SocketDelegate->WaitForConnection(timeout); - } - NPT_Result GetInputStream(NPT_InputStreamReference& stream) { - return m_SocketDelegate->GetInputStream(stream); - } - NPT_Result GetOutputStream(NPT_OutputStreamReference& stream) { - return m_SocketDelegate->GetOutputStream(stream); - } - NPT_Result GetInfo(NPT_SocketInfo& info) { - return m_SocketDelegate->GetInfo(info); - } - NPT_Result SetReadTimeout(NPT_Timeout timeout) { - return m_SocketDelegate->SetReadTimeout(timeout); - } - NPT_Result SetWriteTimeout(NPT_Timeout timeout) { - return m_SocketDelegate->SetWriteTimeout(timeout); - } - NPT_Result Cancel(bool shutdown=true) { - return m_SocketDelegate->Cancel(shutdown); - } - -protected: - // constructor - NPT_Socket() {} - - // members - NPT_SocketInterface* m_SocketDelegate; -}; - -typedef NPT_Reference<NPT_Socket> NPT_SocketReference; - -/*---------------------------------------------------------------------- -| NPT_UdpSocket -+---------------------------------------------------------------------*/ -class NPT_UdpSocket : public NPT_Socket, - public NPT_UdpSocketInterface -{ - public: - // constructor and destructor - NPT_UdpSocket(NPT_Flags flags=NPT_SOCKET_FLAG_CANCELLABLE); - virtual ~NPT_UdpSocket(); - - // delegate NPT_UdpSocketInterface methods - NPT_Result Send(const NPT_DataBuffer& packet, - const NPT_SocketAddress* address = NULL) { - return m_UdpSocketDelegate->Send(packet, address); - } - NPT_Result Receive(NPT_DataBuffer& packet, - NPT_SocketAddress* address = NULL) { - return m_UdpSocketDelegate->Receive(packet, address); - } - -protected: - // constructor - NPT_UdpSocket(NPT_UdpSocketInterface* delegate); - - // members - NPT_UdpSocketInterface* m_UdpSocketDelegate; -}; - -/*---------------------------------------------------------------------- -| NPT_UdpMulticastSocket -+---------------------------------------------------------------------*/ -class NPT_UdpMulticastSocket : public NPT_UdpSocket, - public NPT_UdpMulticastSocketInterface -{ -public: - // constructor and destructor - NPT_UdpMulticastSocket(NPT_Flags flags=NPT_SOCKET_FLAG_CANCELLABLE); - virtual ~NPT_UdpMulticastSocket(); - - // delegate NPT_UdpMulticastSocketInterface methods - NPT_Result JoinGroup(const NPT_IpAddress& group, - const NPT_IpAddress& iface = - NPT_IpAddress::Any) { - return m_UdpMulticastSocketDelegate->JoinGroup(group, iface); - } - NPT_Result LeaveGroup(const NPT_IpAddress& group, - const NPT_IpAddress& iface = - NPT_IpAddress::Any) { - return m_UdpMulticastSocketDelegate->LeaveGroup(group, iface); - } - NPT_Result SetTimeToLive(unsigned char ttl) { - return m_UdpMulticastSocketDelegate->SetTimeToLive(ttl); - } - NPT_Result SetInterface(const NPT_IpAddress& iface) { - return m_UdpMulticastSocketDelegate->SetInterface(iface); - } - -protected: - // members - NPT_UdpMulticastSocketInterface* m_UdpMulticastSocketDelegate; -}; - -/*---------------------------------------------------------------------- -| NPT_TcpClientSocket -+---------------------------------------------------------------------*/ -class NPT_TcpClientSocket : public NPT_Socket -{ -public: - // constructors and destructor - NPT_TcpClientSocket(NPT_Flags flags=NPT_SOCKET_FLAG_CANCELLABLE); - virtual ~NPT_TcpClientSocket(); -}; - -/*---------------------------------------------------------------------- -| NPT_TcpServerSocket -+---------------------------------------------------------------------*/ -class NPT_TcpServerSocket : public NPT_Socket, - public NPT_TcpServerSocketInterface -{ -public: - // constructors and destructor - NPT_TcpServerSocket(NPT_Flags flags=NPT_SOCKET_FLAG_CANCELLABLE); - virtual ~NPT_TcpServerSocket(); - - // delegate NPT_TcpServerSocketInterface methods - NPT_Result Listen(unsigned int max_clients) { - return m_TcpServerSocketDelegate->Listen(max_clients); - } - NPT_Result WaitForNewClient(NPT_Socket*& client, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE, - NPT_Flags flags = 0) { - return m_TcpServerSocketDelegate->WaitForNewClient(client, timeout, flags); - } - -protected: - // members - NPT_TcpServerSocketInterface* m_TcpServerSocketDelegate; -}; - -#endif // _NPT_SOCKETS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptStack.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptStack.h deleted file mode 100644 index 50788050aa..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptStack.h +++ /dev/null @@ -1,74 +0,0 @@ -/***************************************************************** -| -| Neptune - Stack -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| -****************************************************************/ - -#ifndef _NPT_STACK_H_ -#define _NPT_STACK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptResults.h" -#include "NptTypes.h" -#include "NptList.h" - -/*---------------------------------------------------------------------- -| NPT_Stack -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_Stack : public NPT_List<T> -{ -public: - // methods - NPT_Result Push(const T& value) { - // NOTE: we must use the this-> accessor here because the standard - // requires it when the member to look up is in a parent template - return this->Add(value); - } - - NPT_Result Peek(T& value) { - // NOTE: we must use the this-> accessor here because the standard - // requires it when the member to look up is in a parent template - if (this->m_ItemCount == 0) return NPT_ERROR_NO_SUCH_ITEM; - value = this->m_Tail->m_Data; - return NPT_SUCCESS; - } - - NPT_Result Pop(T& value) { - // NOTE: we must use the this-> accessor here because the standard - // requires it when the member to look up is in a parent template - if (this->m_ItemCount == 0) return NPT_ERROR_NO_SUCH_ITEM; - typename NPT_List<T>::Iterator tail = this->GetLastItem(); - value = *tail; - return this->Erase(tail); - } -}; - -#endif // _NPT_STACK_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptStreams.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptStreams.h deleted file mode 100644 index 6cdab10fcb..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptStreams.h +++ /dev/null @@ -1,321 +0,0 @@ -/***************************************************************** -| -| Neptune - Byte Streams -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_STREAMS_H_ -#define _NPT_STREAMS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptReferences.h" -#include "NptConstants.h" -#include "NptResults.h" -#include "NptDataBuffer.h" -#include "NptStrings.h" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_String; - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_READ_FAILED = NPT_ERROR_BASE_IO - 0; -const int NPT_ERROR_WRITE_FAILED = NPT_ERROR_BASE_IO - 1; -const int NPT_ERROR_EOS = NPT_ERROR_BASE_IO - 2; - -/*---------------------------------------------------------------------- -| NPT_InputStream -+---------------------------------------------------------------------*/ -class NPT_InputStream -{ - public: - // constructor and destructor - virtual ~NPT_InputStream() {}; - - // methods - virtual NPT_Result Load(NPT_DataBuffer& buffer, NPT_Size max_read = 0); - virtual NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL) = 0; - virtual NPT_Result ReadFully(void* buffer, - NPT_Size bytes_to_read); - virtual NPT_Result Seek(NPT_Position offset) = 0; - virtual NPT_Result Skip(NPT_Size offset); - virtual NPT_Result Tell(NPT_Position& offset) = 0; - virtual NPT_Result GetSize(NPT_LargeSize& size) = 0; - virtual NPT_Result GetAvailable(NPT_LargeSize& available) = 0; - - // data access methods - NPT_Result ReadUI64(NPT_UInt64& value); - NPT_Result ReadUI32(NPT_UInt32& value); - NPT_Result ReadUI24(NPT_UInt32& value); - NPT_Result ReadUI16(NPT_UInt16& value); - NPT_Result ReadUI08(NPT_UInt8& value); -}; - -typedef NPT_Reference<NPT_InputStream> NPT_InputStreamReference; - -/*---------------------------------------------------------------------- -| NPT_OutputStream -+---------------------------------------------------------------------*/ -class NPT_OutputStream -{ -public: - // constructor and destructor - virtual ~NPT_OutputStream() {}; - - // methods - virtual NPT_Result Write(const void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL) = 0; - virtual NPT_Result WriteFully(const void* buffer, - NPT_Size bytes_to_write); - virtual NPT_Result WriteString(const char* string_buffer); - virtual NPT_Result WriteLine(const char* line_buffer); - virtual NPT_Result Seek(NPT_Position offset) = 0; - virtual NPT_Result Tell(NPT_Position& offset) = 0; - virtual NPT_Result Flush() { return NPT_SUCCESS; } - - // data access methods - NPT_Result WriteUI64(NPT_UInt64 value); - NPT_Result WriteUI32(NPT_UInt32 value); - NPT_Result WriteUI24(NPT_UInt32 value); - NPT_Result WriteUI16(NPT_UInt16 value); - NPT_Result WriteUI08(NPT_UInt8 value); -}; - -typedef NPT_Reference<NPT_OutputStream> NPT_OutputStreamReference; - -/*---------------------------------------------------------------------- -| NPT_StreamToStreamCopy -+---------------------------------------------------------------------*/ -NPT_Result NPT_StreamToStreamCopy(NPT_InputStream& from, - NPT_OutputStream& to, - NPT_Position offset = 0, - NPT_LargeSize size = 0, /* 0 means the entire stream */ - NPT_LargeSize* bytes_written = NULL); - -/*---------------------------------------------------------------------- -| NPT_DelegatingInputStream -| -| Use this class as a base class if you need to inherit both from -| NPT_InputStream and NPT_OutputStream which share the Seek and Tell -| method. In this case, you override the base-specific version of -| those methods, InputSeek, InputTell, instead of the Seek and Tell -| methods. -+---------------------------------------------------------------------*/ -class NPT_DelegatingInputStream : public NPT_InputStream -{ -public: - // NPT_InputStream methods - NPT_Result Seek(NPT_Position offset) { - return InputSeek(offset); - } - NPT_Result Tell(NPT_Position& offset) { - return InputTell(offset); - } - -private: - // methods - virtual NPT_Result InputSeek(NPT_Position offset) = 0; - virtual NPT_Result InputTell(NPT_Position& offset) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_DelegatingOutputStream -| -| Use this class as a base class if you need to inherit both from -| NPT_InputStream and NPT_OutputStream which share the Seek and Tell -| method. In this case, you override the base-specific version of -| those methods, OutputSeek and OutputTell, instead of the Seek and -| Tell methods. -+---------------------------------------------------------------------*/ -class NPT_DelegatingOutputStream : public NPT_OutputStream -{ -public: - // NPT_OutputStream methods - NPT_Result Seek(NPT_Position offset) { - return OutputSeek(offset); - } - NPT_Result Tell(NPT_Position& offset) { - return OutputTell(offset); - } - -private: - // methods - virtual NPT_Result OutputSeek(NPT_Position offset) = 0; - virtual NPT_Result OutputTell(NPT_Position& offset) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_MemoryStream -+---------------------------------------------------------------------*/ -class NPT_MemoryStream : - public NPT_DelegatingInputStream, - public NPT_DelegatingOutputStream -{ -public: - // constructor and destructor - NPT_MemoryStream(NPT_Size initial_capacity = 0); - NPT_MemoryStream(const void* data, NPT_Size size); - virtual ~NPT_MemoryStream() {} - - // accessors - const NPT_DataBuffer& GetBuffer() const { return m_Buffer; } - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - NPT_Result GetSize(NPT_LargeSize& size) { - size = m_Buffer.GetDataSize(); - return NPT_SUCCESS; - } - NPT_Result GetAvailable(NPT_LargeSize& available) { - available = (NPT_LargeSize)m_Buffer.GetDataSize()-m_ReadOffset; - return NPT_SUCCESS; - } - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL); - - // methods delegated to m_Buffer - const NPT_Byte* GetData() const { return m_Buffer.GetData(); } - NPT_Byte* UseData() { return m_Buffer.UseData(); } - NPT_Size GetDataSize() const { return m_Buffer.GetDataSize(); } - NPT_Size GetBufferSize() const { return m_Buffer.GetBufferSize();} - - // methods - NPT_Result SetDataSize(NPT_Size size); - -private: - // NPT_DelegatingInputStream methods - NPT_Result InputSeek(NPT_Position offset); - NPT_Result InputTell(NPT_Position& offset) { - offset = m_ReadOffset; - return NPT_SUCCESS; - } - - // NPT_DelegatingOutputStream methods - NPT_Result OutputSeek(NPT_Position offset); - NPT_Result OutputTell(NPT_Position& offset) { - offset = m_WriteOffset; - return NPT_SUCCESS; - } - -protected: - // members - NPT_DataBuffer m_Buffer; - NPT_Size m_ReadOffset; - NPT_Size m_WriteOffset; -}; - -typedef NPT_Reference<NPT_MemoryStream> NPT_MemoryStreamReference; - -/*---------------------------------------------------------------------- -| NPT_StringOutputStream -+---------------------------------------------------------------------*/ -class NPT_StringOutputStream : public NPT_OutputStream -{ -public: - // methods - NPT_StringOutputStream(NPT_Size size = 4096); - NPT_StringOutputStream(NPT_String* storage); - virtual ~NPT_StringOutputStream() ; - - const NPT_String& GetString() const { return *m_String; } - NPT_Result Reset() { if (m_String) m_String->SetLength(0); return NPT_SUCCESS; } - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, NPT_Size bytes_to_write, NPT_Size* bytes_written = NULL); - - NPT_Result Seek(NPT_Position /*offset*/) { return NPT_ERROR_NOT_SUPPORTED; } - NPT_Result Tell(NPT_Position& offset) { offset = m_String->GetLength(); return NPT_SUCCESS; } - -protected: - NPT_String* m_String; - bool m_StringIsOwned; -}; - -typedef NPT_Reference<NPT_StringOutputStream> NPT_StringOutputStreamReference; - -/*---------------------------------------------------------------------- -| NPT_SubInputStream -+---------------------------------------------------------------------*/ -class NPT_SubInputStream : public NPT_InputStream -{ -public: - // constructor and destructor - NPT_SubInputStream(NPT_InputStreamReference& source, - NPT_Position start, - NPT_LargeSize size); - - // methods - virtual NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - virtual NPT_Result Seek(NPT_Position offset); - virtual NPT_Result Tell(NPT_Position& offset); - virtual NPT_Result GetSize(NPT_LargeSize& size); - virtual NPT_Result GetAvailable(NPT_LargeSize& available); - -private: - NPT_InputStreamReference m_Source; - NPT_Position m_Position; - NPT_Position m_Start; - NPT_LargeSize m_Size; -}; - -/*---------------------------------------------------------------------- -| NPT_NullOutputStream -+---------------------------------------------------------------------*/ -class NPT_NullOutputStream : public NPT_OutputStream -{ -public: - // methods - NPT_NullOutputStream() {} - virtual ~NPT_NullOutputStream() {} - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, NPT_Size bytes_to_write, NPT_Size* bytes_written = NULL); - - NPT_Result Seek(NPT_Position /*offset*/) { return NPT_ERROR_NOT_SUPPORTED; } - NPT_Result Tell(NPT_Position& /*offset*/) { return NPT_ERROR_NOT_SUPPORTED; } -}; - -typedef NPT_Reference<NPT_NullOutputStream> NPT_NullOutputStreamReference; - -#endif // _NPT_STREAMS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptStrings.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptStrings.h deleted file mode 100644 index c445b33af1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptStrings.h +++ /dev/null @@ -1,358 +0,0 @@ -/***************************************************************** -| -| Neptune - String Objects -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_STRINGS_H_ -#define _NPT_STRINGS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#if defined(NPT_CONFIG_HAVE_NEW_H) -#include <new> -#endif -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptList.h" -#include "NptArray.h" -#include "NptDebug.h" -#include "NptHash.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_STRING_SEARCH_FAILED = -1; - -/*---------------------------------------------------------------------- -| NPT_String -+---------------------------------------------------------------------*/ -class NPT_String -{ -public: - // factories - static NPT_String FromInteger(NPT_Int64 value); - static NPT_String FromIntegerU(NPT_UInt64 value); - static NPT_String Format(const char* format, ...); - - // constructors - NPT_String(const NPT_String& str); - NPT_String(const char* str); - NPT_String(const char* str, NPT_Size length); - NPT_String(char c, NPT_Cardinal repeat = 1); - NPT_String() : m_Chars(NULL) {} - ~NPT_String() { if (m_Chars) GetBuffer()->Destroy(); } - - // string info and manipulations - bool IsEmpty() const { return m_Chars == NULL || GetBuffer()->GetLength() == 0; } - NPT_Size GetLength() const { return m_Chars ? GetBuffer()->GetLength() : 0; } - NPT_Size GetCapacity() const { return m_Chars ? GetBuffer()->GetAllocated() : 0; } - NPT_Result SetLength(NPT_Size length, bool pad = false); - void Assign(const char* chars, NPT_Size size); - void Append(const char* chars, NPT_Size size); - void Append(const char* s) { Append(s, StringLength(s)); } - int Compare(const char* s, bool ignore_case = false) const; - static int Compare(const char* s1, const char* s2, bool ignore_case = false); - int CompareN(const char* s, NPT_Size count, bool ignore_case = false) const; - static int CompareN(const char* s1, const char* s2, NPT_Size count, bool ignore_case = false); - - // substrings - NPT_String SubString(NPT_Ordinal first, NPT_Size length) const; - NPT_String SubString(NPT_Ordinal first) const { - return SubString(first, GetLength()); - } - NPT_String Left(NPT_Size length) const { - return SubString(0, length); - } - NPT_String Right(NPT_Size length) const { - return length >= GetLength() ? - *this : - SubString(GetLength()-length, length); - } - NPT_List<NPT_String> Split(const char* separator) const; - NPT_Array<NPT_String> SplitAny(const char* separator) const; - static NPT_String Join(NPT_List<NPT_String>& args, const char* separator); - - // buffer management - void Reserve(NPT_Size length); - - // hashing - NPT_UInt32 GetHash32() const; - NPT_UInt64 GetHash64() const; - - // conversions - NPT_String ToLowercase() const; - NPT_String ToUppercase() const; - NPT_Result ToInteger(int& value, bool relaxed = true) const; - NPT_Result ToInteger(unsigned int& value, bool relaxed = true) const; - NPT_Result ToInteger(long& value, bool relaxed = true) const; - NPT_Result ToInteger(unsigned long& value, bool relaxed = true) const; - NPT_Result ToInteger32(NPT_Int32& value, bool relaxed = true) const; - NPT_Result ToInteger32(NPT_UInt32& value, bool relaxed = true) const; - NPT_Result ToInteger64(NPT_Int64& value, bool relaxed = true) const; - NPT_Result ToInteger64(NPT_UInt64& value, bool relaxed = true) const; - NPT_Result ToFloat(float& value, bool relaxed = true) const; - - // processing - void MakeLowercase(); - void MakeUppercase(); - const NPT_String& Replace(char a, char b); - const NPT_String& Replace(char a, const char* b); - - // search - int Find(char c, NPT_Ordinal start = 0, bool ignore_case = false) const; - int Find(const char* s, NPT_Ordinal start = 0, bool ignore_case = false) const; - int FindAny(const char* s, NPT_Ordinal start, bool ignore_case = false) const; - int ReverseFind(char c, NPT_Ordinal start = 0, bool ignore_case = false) const; - int ReverseFind(const char* s, NPT_Ordinal start = 0, bool ignore_case = false) const; - bool StartsWith(const char* s, bool ignore_case = false) const; - bool EndsWith(const char* s, bool ignore_case = false) const; - - // editing - const NPT_String& Insert(const char* s, NPT_Ordinal where = 0); - const NPT_String& Erase(NPT_Ordinal start, NPT_Cardinal count = 1); - const NPT_String& Replace(const char* before, const char* after); - // void Replace(NPT_Ordinal start, NPT_Cardinal count, const char* s); - const NPT_String& TrimLeft(); - const NPT_String& TrimLeft(char c); - const NPT_String& TrimLeft(const char* chars); - const NPT_String& TrimRight(); - const NPT_String& TrimRight(char c); - const NPT_String& TrimRight(const char* chars); - const NPT_String& Trim(); - const NPT_String& Trim(char c); - const NPT_String& Trim(const char* chars); - - // type casting - operator char*() const { return m_Chars ? m_Chars: &EmptyString; } - operator const char* () const { return m_Chars ? m_Chars: &EmptyString; } - const char* GetChars() const { return m_Chars ? m_Chars: &EmptyString; } - char* UseChars() { return m_Chars ? m_Chars: &EmptyString; } - - // operator overloading - NPT_String& operator=(const char* str); - NPT_String& operator=(const NPT_String& str); - NPT_String& operator=(char c); - const NPT_String& operator+=(const NPT_String& s) { - Append(s.GetChars(), s.GetLength()); - return *this; - } - const NPT_String& operator+=(const char* s) { - Append(s); - return *this; - } - const NPT_String& operator+=(char c) { - Append(&c, 1); - return *this; - } - char operator[](int index) const { - NPT_ASSERT((unsigned int)index < GetLength()); - return GetChars()[index]; - } - char& operator[](int index) { - NPT_ASSERT((unsigned int)index < GetLength()); - return UseChars()[index]; - } - - // friend operators - friend NPT_String operator+(const NPT_String& s1, const NPT_String& s2) { - return s1+s2.GetChars(); - } - friend NPT_String operator+(const NPT_String& s1, const char* s2); - friend NPT_String operator+(const char* s1, const NPT_String& s2); - friend NPT_String operator+(const NPT_String& s, char c); - friend NPT_String operator+(char c, const NPT_String& s); - -protected: - // inner classes - class Buffer { - public: - // class methods - static Buffer* Allocate(NPT_Size allocated, NPT_Size length) { - void* mem = ::operator new(sizeof(Buffer)+allocated+1); - return new(mem) Buffer(allocated, length); - } - static char* Create(NPT_Size allocated, NPT_Size length=0) { - Buffer* shared = Allocate(allocated, length); - return shared->GetChars(); - } - static char* Create(const char* copy) { - NPT_Size length = StringLength(copy); - Buffer* shared = Allocate(length, length); - CopyString(shared->GetChars(), copy); - return shared->GetChars(); - } - static char* Create(const char* copy, NPT_Size length) { - Buffer* shared = Allocate(length, length); - CopyBuffer(shared->GetChars(), copy, length); - shared->GetChars()[length] = '\0'; - return shared->GetChars(); - } - static char* Create(char c, NPT_Cardinal repeat) { - Buffer* shared = Allocate(repeat, repeat); - char* s = shared->GetChars(); - while (repeat--) { - *s++ = c; - } - *s = '\0'; - return shared->GetChars(); - } - - // methods - char* GetChars() { - // return a pointer to the first char - return reinterpret_cast<char*>(this+1); - } - NPT_Size GetLength() const { return m_Length; } - void SetLength(NPT_Size length) { m_Length = length; } - NPT_Size GetAllocated() const { return m_Allocated; } - void Destroy() { ::operator delete((void*)this); } - - private: - // methods - Buffer(NPT_Size allocated, NPT_Size length = 0) : - m_Length(length), - m_Allocated(allocated) {} - - // members - NPT_Cardinal m_Length; - NPT_Cardinal m_Allocated; - // the actual string data follows - - }; - - // members - char* m_Chars; - -private: - // friends - friend class Buffer; - - // static members - static char EmptyString; - - // methods - Buffer* GetBuffer() const { - return reinterpret_cast<Buffer*>(m_Chars)-1; - } - void Reset() { - if (m_Chars != NULL) { - delete GetBuffer(); - m_Chars = NULL; - } - } - char* PrepareToWrite(NPT_Size length); - void PrepareToAppend(NPT_Size length, NPT_Size allocate); - - // static methods - static void CopyString(char* dst, const char* src) { - while ((*dst++ = *src++)){} - } - - static void CopyBuffer(char* dst, const char* src, NPT_Size size) { - while (size--) *dst++ = *src++; - } - - static NPT_Size StringLength(const char* str) { - NPT_Size length = 0; - while (*str++) length++; - return length; - } -}; - -/*---------------------------------------------------------------------- -| external operators -+---------------------------------------------------------------------*/ -inline bool operator==(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) == 0; -} -inline bool operator==(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) == 0; -} -inline bool operator==(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) == 0; -} -inline bool operator!=(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) != 0; -} -inline bool operator!=(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) != 0; -} -inline bool operator!=(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) != 0; -} -inline bool operator<(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) < 0; -} -inline bool operator<(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) < 0; -} -inline bool operator<(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) > 0; -} -inline bool operator>(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) > 0; -} -inline bool operator>(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) > 0; -} -inline bool operator>(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) < 0; -} -inline bool operator<=(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) <= 0; -} -inline bool operator<=(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) <= 0; -} -inline bool operator<=(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) >= 0; -} -inline bool operator>=(const NPT_String& s1, const NPT_String& s2) { - return s1.Compare(s2) >= 0; -} -inline bool operator>=(const NPT_String& s1, const char* s2) { - return s1.Compare(s2) >= 0; -} -inline bool operator>=(const char* s1, const NPT_String& s2) { - return s2.Compare(s1) <= 0; -} - -/*---------------------------------------------------------------------- -| hashing -+---------------------------------------------------------------------*/ -template <> -struct NPT_Hash<NPT_String> -{ - NPT_UInt32 operator()(const NPT_String& s) const { return s.GetHash32(); } -}; - - -#endif // _NPT_STRINGS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSystem.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSystem.h deleted file mode 100644 index 224a058335..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptSystem.h +++ /dev/null @@ -1,63 +0,0 @@ -/***************************************************************** -| -| Neptune - System -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_SYSTEM_H_ -#define _NPT_SYSTEM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptTime.h" - -/*---------------------------------------------------------------------- -| NPT_System -+---------------------------------------------------------------------*/ -class NPT_System -{ -public: - // methods - static NPT_Result GetProcessId(NPT_UInt32& id); - static NPT_Result GetMachineName(NPT_String& name); - static NPT_Result GetCurrentTimeStamp(NPT_TimeStamp& now); - static NPT_Result Sleep(const NPT_TimeInterval& duration); - static NPT_Result SleepUntil(const NPT_TimeStamp& when); - static NPT_Result SetRandomSeed(unsigned int seed); - static NPT_UInt32 GetRandomInteger(); - -protected: - // constructor - NPT_System() {} -}; - -NPT_Result NPT_GetSystemMachineName(NPT_String& name); - -#endif // _NPT_SYSTEM_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptThreads.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptThreads.h deleted file mode 100644 index 9a7455f44b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptThreads.h +++ /dev/null @@ -1,318 +0,0 @@ -/***************************************************************** -| -| Neptune - Threads -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_THREADS_H_ -#define _NPT_THREADS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptConstants.h" -#include "NptInterfaces.h" - -/*---------------------------------------------------------------------- -| error codes -+---------------------------------------------------------------------*/ -const int NPT_ERROR_CALLBACK_HANDLER_SHUTDOWN = NPT_ERROR_BASE_THREADS-0; -const int NPT_ERROR_CALLBACK_NOTHING_PENDING = NPT_ERROR_BASE_THREADS-1; - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_THREAD_PRIORITY_MIN = -15; -const int NPT_THREAD_PRIORITY_IDLE = -15; -const int NPT_THREAD_PRIORITY_LOWEST = -2; -const int NPT_THREAD_PRIORITY_BELOW_NORMAL = -1; -const int NPT_THREAD_PRIORITY_NORMAL = 0; -const int NPT_THREAD_PRIORITY_ABOVE_NORMAL = 1; -const int NPT_THREAD_PRIORITY_HIGHEST = 2; -const int NPT_THREAD_PRIORITY_TIME_CRITICAL = 15; -const int NPT_THREAD_PRIORITY_MAX = 15; - -/*---------------------------------------------------------------------- -| NPT_MutexInterface -+---------------------------------------------------------------------*/ -class NPT_MutexInterface -{ - public: - // methods - virtual ~NPT_MutexInterface() {} - virtual NPT_Result Lock() = 0; - virtual NPT_Result Unlock() = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Mutex -+---------------------------------------------------------------------*/ -class NPT_Mutex : public NPT_MutexInterface -{ - public: - // methods - NPT_Mutex(); - ~NPT_Mutex() { delete m_Delegate; } - NPT_Result Lock() { return m_Delegate->Lock(); } - NPT_Result Unlock() { return m_Delegate->Unlock(); } - - private: - // members - NPT_MutexInterface* m_Delegate; -}; - -/*---------------------------------------------------------------------- -| NPT_AutoLock -+---------------------------------------------------------------------*/ -class NPT_AutoLock -{ - public: - // methods - NPT_AutoLock(NPT_Mutex &mutex) : m_Mutex(mutex) { - m_Mutex.Lock(); - } - ~NPT_AutoLock() { - m_Mutex.Unlock(); - } - - private: - // members - NPT_Mutex& m_Mutex; -}; - -/*---------------------------------------------------------------------- -| NPT_Lock -+---------------------------------------------------------------------*/ -template <typename T> -class NPT_Lock : public T, - public NPT_Mutex -{ -}; - -/*---------------------------------------------------------------------- -| NPT_SingletonLock -+---------------------------------------------------------------------*/ -class NPT_SingletonLock -{ -public: - static NPT_Mutex& GetInstance() { - return Instance; - } - -private: - static NPT_Mutex Instance; -}; - -/*---------------------------------------------------------------------- -| NPT_SharedVariableInterface -+---------------------------------------------------------------------*/ -class NPT_SharedVariableInterface -{ - public: - // methods - virtual ~NPT_SharedVariableInterface() {} - virtual void SetValue(int value)= 0; - virtual int GetValue() = 0; - virtual NPT_Result WaitUntilEquals(int value, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result WaitWhileEquals(int value, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_SharedVariable -+---------------------------------------------------------------------*/ -class NPT_SharedVariable : public NPT_SharedVariableInterface -{ - public: - // methods - NPT_SharedVariable(int value = 0); - ~NPT_SharedVariable() { delete m_Delegate; } - void SetValue(int value) { - m_Delegate->SetValue(value); - } - int GetValue() { - return m_Delegate->GetValue(); - } - NPT_Result WaitUntilEquals(int value, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->WaitUntilEquals(value, timeout); - } - NPT_Result WaitWhileEquals(int value, NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->WaitWhileEquals(value, timeout); - } - - private: - // members - NPT_SharedVariableInterface* m_Delegate; -}; - -/*---------------------------------------------------------------------- -| NPT_AtomicVariableInterface -+---------------------------------------------------------------------*/ -class NPT_AtomicVariableInterface -{ - public: - // methods - virtual ~NPT_AtomicVariableInterface() {} - virtual int Increment() = 0; - virtual int Decrement() = 0; - virtual int GetValue() = 0; - virtual void SetValue(int value) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_AtomicVariable -+---------------------------------------------------------------------*/ -class NPT_AtomicVariable : public NPT_AtomicVariableInterface -{ - public: - // methods - NPT_AtomicVariable(int value = 0); - ~NPT_AtomicVariable() { delete m_Delegate; } - int Increment() { return m_Delegate->Increment();} - int Decrement() { return m_Delegate->Decrement();} - void SetValue(int value) { m_Delegate->SetValue(value); } - int GetValue() { return m_Delegate->GetValue(); } - - private: - // members - NPT_AtomicVariableInterface* m_Delegate; -}; - -/*---------------------------------------------------------------------- -| NPT_Runnable -+---------------------------------------------------------------------*/ -class NPT_Runnable -{ -public: - virtual ~NPT_Runnable() {} - virtual void Run() = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_ThreadInterface -+---------------------------------------------------------------------*/ -class NPT_ThreadInterface: public NPT_Runnable, public NPT_Interruptible -{ - public: - // methods - virtual ~NPT_ThreadInterface() {} - virtual NPT_Result Start() = 0; - virtual NPT_Result Wait(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) = 0; - virtual NPT_Result SetPriority(int /*priority*/) { return NPT_SUCCESS; } - virtual NPT_Result GetPriority(int& priority) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_Thread -+---------------------------------------------------------------------*/ -class NPT_Thread : public NPT_ThreadInterface -{ - public: - // types - typedef unsigned long ThreadId; - - // class methods - static ThreadId GetCurrentThreadId(); - static NPT_Result SetCurrentThreadPriority(int priority); - static NPT_Result GetCurrentThreadPriority(int& priority); - - // methods - explicit NPT_Thread(bool detached = false); - explicit NPT_Thread(NPT_Runnable& target, bool detached = false); - ~NPT_Thread() { delete m_Delegate; } - - // NPT_ThreadInterface methods - NPT_Result Start() { - return m_Delegate->Start(); - } - NPT_Result Wait(NPT_Timeout timeout = NPT_TIMEOUT_INFINITE) { - return m_Delegate->Wait(timeout); - } - NPT_Result SetPriority(int priority) { - return m_Delegate->SetPriority(priority); - } - NPT_Result GetPriority(int& priority) { - return m_Delegate->GetPriority(priority); - } - - // NPT_Runnable methods - virtual void Run() {} - - // NPT_Interruptible methods - virtual NPT_Result Interrupt() { return m_Delegate->Interrupt(); } - - private: - // members - NPT_ThreadInterface* m_Delegate; -}; - - -/*---------------------------------------------------------------------- -| NPT_ThreadCallbackReceiver -+---------------------------------------------------------------------*/ -class NPT_ThreadCallbackReceiver -{ -public: - virtual ~NPT_ThreadCallbackReceiver() {} - virtual void OnCallback(void* args) = 0; -}; - -/*---------------------------------------------------------------------- -| NPT_ThreadCallbackSlot -+---------------------------------------------------------------------*/ -class NPT_ThreadCallbackSlot -{ -public: - // types - class NotificationHelper { - public: - virtual ~NotificationHelper() {}; - virtual void Notify(void) = 0; - }; - - // constructor - NPT_ThreadCallbackSlot(); - - // methods - NPT_Result ReceiveCallback(NPT_ThreadCallbackReceiver& receiver, NPT_Timeout timeout = 0); - NPT_Result SendCallback(void* args); - NPT_Result SetNotificationHelper(NotificationHelper* helper); - NPT_Result Shutdown(); - -protected: - // members - volatile void* m_CallbackArgs; - volatile bool m_Shutdown; - NPT_SharedVariable m_Pending; - NPT_SharedVariable m_Ack; - NPT_Mutex m_ReadLock; - NPT_Mutex m_WriteLock; - NotificationHelper* m_NotificationHelper; -}; - -#endif // _NPT_THREADS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTime.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTime.h deleted file mode 100644 index ae02a48c3d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTime.h +++ /dev/null @@ -1,156 +0,0 @@ -/***************************************************************** -| -| Neptune - Time -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_TIME_H_ -#define _NPT_TIME_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptStrings.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define NPT_DATETIME_YEAR_MIN 1901 -#define NPT_DATETIME_YEAR_MAX 2262 - -/*---------------------------------------------------------------------- -| NPT_TimeStamp -+---------------------------------------------------------------------*/ -class NPT_TimeStamp -{ - public: - // methods - NPT_TimeStamp(const NPT_TimeStamp& timestamp); - NPT_TimeStamp() : m_NanoSeconds(0) {} - NPT_TimeStamp(NPT_Int64 nanoseconds) : m_NanoSeconds(nanoseconds) {} - NPT_TimeStamp(double seconds); - NPT_TimeStamp& operator+=(const NPT_TimeStamp& time_stamp); - NPT_TimeStamp& operator-=(const NPT_TimeStamp& time_stamp); - bool operator==(const NPT_TimeStamp& t) const { return m_NanoSeconds == t.m_NanoSeconds; } - bool operator!=(const NPT_TimeStamp& t) const { return m_NanoSeconds != t.m_NanoSeconds; } - bool operator> (const NPT_TimeStamp& t) const { return m_NanoSeconds > t.m_NanoSeconds; } - bool operator< (const NPT_TimeStamp& t) const { return m_NanoSeconds < t.m_NanoSeconds; } - bool operator>=(const NPT_TimeStamp& t) const { return m_NanoSeconds >= t.m_NanoSeconds; } - bool operator<=(const NPT_TimeStamp& t) const { return m_NanoSeconds <= t.m_NanoSeconds; } - - // accessors - void SetNanos(NPT_Int64 nanoseconds) { m_NanoSeconds = nanoseconds; } - void SetMicros(NPT_Int64 micros) { m_NanoSeconds = micros * 1000; } - void SetMillis(NPT_Int64 millis) { m_NanoSeconds = millis * 1000000; } - void SetSeconds(NPT_Int64 seconds) { m_NanoSeconds = seconds * 1000000000; } - - // conversion - operator double() const { return (double)m_NanoSeconds/1E9; } - void FromNanos(NPT_Int64 nanoseconds) { m_NanoSeconds = nanoseconds; } - NPT_Int64 ToNanos() const { return m_NanoSeconds; } - NPT_Int64 ToMicros() const { return m_NanoSeconds/1000; } - NPT_Int64 ToMillis() const { return m_NanoSeconds/1000000; } - NPT_Int64 ToSeconds() const { return m_NanoSeconds/1000000000; } - -private: - // members - NPT_Int64 m_NanoSeconds; -}; - -/*---------------------------------------------------------------------- -| operator+ -+---------------------------------------------------------------------*/ -inline -NPT_TimeStamp -operator+(const NPT_TimeStamp& t1, const NPT_TimeStamp& t2) -{ - NPT_TimeStamp t = t1; - return t += t2; -} - -/*---------------------------------------------------------------------- -| operator- -+---------------------------------------------------------------------*/ -inline -NPT_TimeStamp -operator-(const NPT_TimeStamp& t1, const NPT_TimeStamp& t2) -{ - NPT_TimeStamp t = t1; - return t -= t2; -} - -/*---------------------------------------------------------------------- -| NPT_TimeInterval -+---------------------------------------------------------------------*/ -typedef NPT_TimeStamp NPT_TimeInterval; - -/*---------------------------------------------------------------------- -| NPT_DateTime -+---------------------------------------------------------------------*/ -class NPT_DateTime { -public: - // types - enum Format { - FORMAT_ANSI, - FORMAT_W3C, - FORMAT_RFC_1123, // RFC 822 updated by RFC 1123 - FORMAT_RFC_1036 // RFC 850 updated by RFC 1036 - }; - - enum FormatFlags { - FLAG_EMIT_FRACTION = 1, - FLAG_EXTENDED_PRECISION = 2 - }; - - // class methods - NPT_Int32 GetLocalTimeZone(); - - // constructors - NPT_DateTime(); - NPT_DateTime(const NPT_TimeStamp& timestamp, bool local=false); - - // methods - NPT_Result ChangeTimeZone(NPT_Int32 timezone); - NPT_Result FromTimeStamp(const NPT_TimeStamp& timestamp, bool local=false); - NPT_Result ToTimeStamp(NPT_TimeStamp& timestamp) const; - NPT_Result FromString(const char* date, Format format = FORMAT_ANSI); - NPT_String ToString(Format format = FORMAT_ANSI, NPT_Flags flags=0) const; - - // members - NPT_Int32 m_Year; // year - NPT_Int32 m_Month; // month of the year (1-12) - NPT_Int32 m_Day; // day of the month (1-31) - NPT_Int32 m_Hours; // hours (0-23) - NPT_Int32 m_Minutes; // minutes (0-59) - NPT_Int32 m_Seconds; // seconds (0-59) - NPT_Int32 m_NanoSeconds; // nanoseconds (0-999999999) - NPT_Int32 m_TimeZone; // minutes offset from GMT -}; - -#endif // _NPT_TIME_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTls.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTls.h deleted file mode 100644 index 4a392fdcc7..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTls.h +++ /dev/null @@ -1,306 +0,0 @@ -/***************************************************************** -| -| Neptune - TLS/SSL Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_TLS_H_ -#define _NPT_TLS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptStreams.h" -#include "NptTime.h" -#include "NptHttp.h" - -/*---------------------------------------------------------------------- -| error codes -+---------------------------------------------------------------------*/ -const NPT_Result NPT_ERROR_INVALID_PASSWORD = (NPT_ERROR_BASE_TLS-1); -const NPT_Result NPT_ERROR_TLS_INVALID_HANDSHAKE = (NPT_ERROR_BASE_TLS-2); -const NPT_Result NPT_ERROR_TLS_INVALID_PROTOCOL_MESSAGE = (NPT_ERROR_BASE_TLS-3); -const NPT_Result NPT_ERROR_TLS_INVALID_HMAC = (NPT_ERROR_BASE_TLS-4); -const NPT_Result NPT_ERROR_TLS_INVALID_VERSION = (NPT_ERROR_BASE_TLS-5); -const NPT_Result NPT_ERROR_TLS_INVALID_SESSION = (NPT_ERROR_BASE_TLS-6); -const NPT_Result NPT_ERROR_TLS_NO_CIPHER = (NPT_ERROR_BASE_TLS-7); -const NPT_Result NPT_ERROR_TLS_BAD_CERTIFICATE = (NPT_ERROR_BASE_TLS-8); -const NPT_Result NPT_ERROR_TLS_INVALID_KEY = (NPT_ERROR_BASE_TLS-9); -const NPT_Result NPT_ERROR_TLS_NO_CLIENT_RENEGOTIATION = (NPT_ERROR_BASE_TLS-10); -const NPT_Result NPT_ERROR_TLS_INVALID_FINISHED_MESSAGE = (NPT_ERROR_BASE_TLS-11); -const NPT_Result NPT_ERROR_TLS_NO_CERTIFICATE_DEFINED = (NPT_ERROR_BASE_TLS-12); -const NPT_Result NPT_ERROR_TLS_ALERT_HANDSHAKE_FAILED = (NPT_ERROR_BASE_TLS-13); -const NPT_Result NPT_ERROR_TLS_ALERT_BAD_CERTIFICATE = (NPT_ERROR_BASE_TLS-14); -const NPT_Result NPT_ERROR_TLS_ALERT_INVALID_VERSION = (NPT_ERROR_BASE_TLS-15); -const NPT_Result NPT_ERROR_TLS_ALERT_BAD_RECORD_MAC = (NPT_ERROR_BASE_TLS-16); -const NPT_Result NPT_ERROR_TLS_ALERT_DECODE_ERROR = (NPT_ERROR_BASE_TLS-17); -const NPT_Result NPT_ERROR_TLS_ALERT_DECRYPT_ERROR = (NPT_ERROR_BASE_TLS-18); -const NPT_Result NPT_ERROR_TLS_ALERT_ILLEGAL_PARAMETER = (NPT_ERROR_BASE_TLS-19); -const NPT_Result NPT_ERROR_TLS_ALERT_UNEXPECTED_MESSAGE = (NPT_ERROR_BASE_TLS-20); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_FAILURE = (NPT_ERROR_BASE_TLS-21); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_NO_TRUST_ANCHOR = (NPT_ERROR_BASE_TLS-22); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_BAD_SIGNATURE = (NPT_ERROR_BASE_TLS-23); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_NOT_YET_VALID = (NPT_ERROR_BASE_TLS-24); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_EXPIRED = (NPT_ERROR_BASE_TLS-25); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_SELF_SIGNED = (NPT_ERROR_BASE_TLS-26); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_INVALID_CHAIN = (NPT_ERROR_BASE_TLS-27); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_UNSUPPORTED_DIGEST = (NPT_ERROR_BASE_TLS-28); -const NPT_Result NPT_ERROR_TLS_CERTIFICATE_INVALID_PRIVATE_KEY = (NPT_ERROR_BASE_TLS-29); -const NPT_Result NPT_ERROR_TLS_DNS_NAME_MISMATCH = (NPT_ERROR_BASE_TLS-30); - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const unsigned int NPT_TLS_NULL_WITH_NULL_NULL = 0x00; -const unsigned int NPT_TLS_RSA_WITH_RC4_128_MD5 = 0x04; -const unsigned int NPT_TLS_RSA_WITH_RC4_128_SHA = 0x05; -const unsigned int NPT_TLS_RSA_WITH_AES_128_CBC_SHA = 0x2F; -const unsigned int NPT_TLS_RSA_WITH_AES_256_CBC_SHA = 0x35; - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_TlsContextImpl; -class NPT_TlsSessionImpl; - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef enum { - NPT_TLS_KEY_FORMAT_RSA_PRIVATE, - NPT_TLS_KEY_FORMAT_PKCS8, - NPT_TLS_KEY_FORMAT_PKCS12 -} NPT_TlsKeyFormat; - -struct NPT_TlsTrustAnchorData { - const unsigned char* cert_data; - unsigned int cert_size; -}; - -/*---------------------------------------------------------------------- -| NPT_Tls -+---------------------------------------------------------------------*/ -class NPT_Tls -{ -public: - static const NPT_TlsTrustAnchorData* GetDefaultTrustAnchors(NPT_Ordinal indx=0); - static bool MatchDnsNames(const char* hostname, - const NPT_List<NPT_String>& dns_names); - static bool MatchDnsName(const char* hostname, const char* dns_name); - -private: - NPT_Tls() {}; // don't instantiate -}; - -/*---------------------------------------------------------------------- -| NPT_TlsContext -+---------------------------------------------------------------------*/ -class NPT_TlsContext : public NPT_AutomaticCleaner::Singleton -{ -public: - enum { - OPTION_VERIFY_LATER = 1, - OPTION_REQUIRE_CLIENT_CERTIFICATE = 2, - OPTION_ADD_DEFAULT_TRUST_ANCHORS = 4, - OPTION_NO_SESSION_CACHE = 8 - }; - NPT_TlsContext(NPT_Flags options=0); - ~NPT_TlsContext(); - - // methods - NPT_Result LoadKey(NPT_TlsKeyFormat key_format, - const unsigned char* key_data, - NPT_Size key_data_size, - const char* password); - - NPT_Result SelfSignCertificate(const char* common_name, - const char* organization, - const char* organizational_name); - - /** - * Add one trust anchor - */ - NPT_Result AddTrustAnchor(const unsigned char* ta_data, - NPT_Size ta_data_size); - /** - * Add one or more trust anchors, from a list - * @param anchors Array of trust anchor data - * @param anchor_count Number of anchors in the array, or 0 if the array - * is terminated by a 'sentinel' (an anchor data with the field cert_data set - * to NULL and the field cert_size set to 0). - */ - NPT_Result AddTrustAnchors(const NPT_TlsTrustAnchorData* anchors, - NPT_Cardinal anchor_count = 0); - -protected: - NPT_TlsContextImpl* m_Impl; - - // friends - friend class NPT_TlsSession; - friend class NPT_TlsClientSession; - friend class NPT_TlsServerSession; -}; - -/*---------------------------------------------------------------------- -| NPT_TlsCertificateInfo -+---------------------------------------------------------------------*/ -struct NPT_TlsCertificateInfo -{ - struct _subject { - NPT_String common_name; - NPT_String organization; - NPT_String organizational_name; - } subject; - struct _issuer { - NPT_String common_name; - NPT_String organization; - NPT_String organizational_name; - } issuer; - struct _fingerprint { - unsigned char sha1[20]; - unsigned char md5[16]; - } fingerprint; - NPT_DateTime issue_date; - NPT_DateTime expiration_date; - NPT_List<NPT_String> alternate_names; -}; - -/*---------------------------------------------------------------------- -| NPT_TlsSession -+---------------------------------------------------------------------*/ -class NPT_TlsSession -{ -public: - virtual ~NPT_TlsSession(); - virtual NPT_Result Handshake(); - virtual NPT_Result GetHandshakeStatus(); - virtual NPT_Result GetPeerCertificateInfo(NPT_TlsCertificateInfo& info, NPT_Ordinal position=0); - virtual NPT_Result VerifyPeerCertificate(); - virtual NPT_Result VerifyDnsNameMatch(const char* hostname); - virtual NPT_Result GetSessionId(NPT_DataBuffer& session_id); - virtual NPT_UInt32 GetCipherSuiteId(); - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream); - virtual NPT_Result GetOutputStream(NPT_OutputStreamReference& stream); - -protected: - NPT_TlsSession(NPT_TlsContext& context, - NPT_TlsSessionImpl* impl); - - NPT_TlsContext& m_Context; - NPT_Reference<NPT_TlsSessionImpl> m_Impl; - NPT_InputStreamReference m_InputStream; - NPT_OutputStreamReference m_OutputStream; -}; - -/*---------------------------------------------------------------------- -| NPT_TlsClientSession -+---------------------------------------------------------------------*/ -class NPT_TlsClientSession : public NPT_TlsSession -{ -public: - NPT_TlsClientSession(NPT_TlsContext& context, - NPT_InputStreamReference& input, - NPT_OutputStreamReference& output); -}; - -/*---------------------------------------------------------------------- -| NPT_TlsServerSession -+---------------------------------------------------------------------*/ -class NPT_TlsServerSession : public NPT_TlsSession -{ -public: - NPT_TlsServerSession(NPT_TlsContext& context, - NPT_InputStreamReference& input, - NPT_OutputStreamReference& output); -}; - -/*---------------------------------------------------------------------- -| NPT_HttpTlsConnector -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_ENABLE_TLS) -class NPT_HttpTlsConnector : public NPT_HttpClient::Connector -{ -public: - enum { - OPTION_ACCEPT_SELF_SIGNED_CERTS = 1, - OPTION_ACCEPT_HOSTNAME_MISMATCH = 2 - }; - NPT_HttpTlsConnector(NPT_Flags options = 0); - NPT_HttpTlsConnector(NPT_TlsContext& tls_context, NPT_Flags options = 0); - virtual ~NPT_HttpTlsConnector() {} - NPT_TlsContext& GetTlsContext() { return m_TlsContext; } - - virtual NPT_Result VerifyPeer(NPT_TlsClientSession& session, - const char* hostname); - - // NPT_HttpClient::Connector methods - virtual NPT_Result Connect(const NPT_HttpUrl& url, - NPT_HttpClient& client, - const NPT_HttpProxyAddress* proxy, - bool reuse, - NPT_HttpClient::Connection*& connection); - -private: - // class methods - static NPT_TlsContext& GetDefaultTlsContext(); - - // class members - static NPT_TlsContext* DefaultTlsContext; - - // members - NPT_TlsContext& m_TlsContext; - NPT_Flags m_Options; -}; -#else -class NPT_HttpTlsConnector : public NPT_HttpClient::Connector -{ -public: - virtual ~NPT_HttpTlsConnector() {} - virtual NPT_Result Connect(const NPT_HttpUrl& url, - NPT_HttpClient& client, - const NPT_HttpProxyAddress* proxy, - bool reuse, - NPT_HttpClient::Connection*& connection); -}; -#endif - -/*---------------------------------------------------------------------- -| Trust Anchors -+-----------------------------------------------------------------*/ -/** - * Arrays of trust anchors (each array element is of type NPT_TlsTrustAnchorData - * and the last element is a terminator element: the cert_data field is NULL - * and the cert_size field is 0 - */ -#if defined(NPT_CONFIG_ENABLE_TLS) -#include "NptTlsDefaultTrustAnchorsBase.h" -#include "NptTlsDefaultTrustAnchorsExtended.h" -#endif - -#endif // _NPT_TLS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsBase.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsBase.h deleted file mode 100644 index 170cdb2934..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsBase.h +++ /dev/null @@ -1,583 +0,0 @@ -/***************************************************************** -| -| Neptune - Trust Anchors -| -| This file is automatically generated by a script, do not edit! -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - - /* This file is automatically generated by GenTrustAnchorsTables.py, do not edit */ - -#include "NptTls.h" - -extern const NPT_TlsTrustAnchorData NptTlsDefaultTrustAnchorsBase[137]; - -/* Verisign/RSA Secure Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0000_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0000_Data[]; - -/* GTE CyberTrust Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0001_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0001_Data[]; - -/* GTE CyberTrust Global Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0002_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0002_Data[]; - -/* Thawte Personal Basic CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0003_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0003_Data[]; - -/* Thawte Personal Premium CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0004_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0004_Data[]; - -/* Thawte Personal Freemail CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0005_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0005_Data[]; - -/* Thawte Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0006_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0006_Data[]; - -/* Thawte Premium Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0007_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0007_Data[]; - -/* Equifax Secure CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0008_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0008_Data[]; - -/* Digital Signature Trust Co. Global CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0009_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0009_Data[]; - -/* Digital Signature Trust Co. Global CA 3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0010_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0010_Data[]; - -/* Digital Signature Trust Co. Global CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0011_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0011_Data[]; - -/* Digital Signature Trust Co. Global CA 4 */ -extern const unsigned int NptTlsTrustAnchor_Base_0012_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0012_Data[]; - -/* Verisign Class 1 Public Primary Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0013_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0013_Data[]; - -/* Verisign Class 2 Public Primary Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0014_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0014_Data[]; - -/* Verisign Class 3 Public Primary Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0015_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0015_Data[]; - -/* Verisign Class 1 Public Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0016_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0016_Data[]; - -/* Verisign Class 2 Public Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0017_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0017_Data[]; - -/* Verisign Class 3 Public Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0018_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0018_Data[]; - -/* Verisign Class 4 Public Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0019_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0019_Data[]; - -/* GlobalSign Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0020_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0020_Data[]; - -/* GlobalSign Root CA - R2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0021_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0021_Data[]; - -/* ValiCert Class 1 VA */ -extern const unsigned int NptTlsTrustAnchor_Base_0022_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0022_Data[]; - -/* ValiCert Class 2 VA */ -extern const unsigned int NptTlsTrustAnchor_Base_0023_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0023_Data[]; - -/* RSA Root Certificate 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0024_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0024_Data[]; - -/* Verisign Class 1 Public Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0025_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0025_Data[]; - -/* Verisign Class 2 Public Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0026_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0026_Data[]; - -/* Verisign Class 3 Public Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0027_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0027_Data[]; - -/* Verisign Class 4 Public Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0028_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0028_Data[]; - -/* Entrust.net Secure Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0029_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0029_Data[]; - -/* Entrust.net Secure Personal CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0030_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0030_Data[]; - -/* Entrust.net Premium 2048 Secure Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0031_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0031_Data[]; - -/* Baltimore CyberTrust Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0032_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0032_Data[]; - -/* Equifax Secure Global eBusiness CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0033_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0033_Data[]; - -/* Equifax Secure eBusiness CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0034_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0034_Data[]; - -/* Equifax Secure eBusiness CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0035_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0035_Data[]; - -/* Visa International Global Root 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0036_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0036_Data[]; - -/* AddTrust Low-Value Services Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0037_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0037_Data[]; - -/* AddTrust External Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0038_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0038_Data[]; - -/* AddTrust Public Services Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0039_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0039_Data[]; - -/* AddTrust Qualified Certificates Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0040_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0040_Data[]; - -/* Verisign Time Stamping Authority CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0041_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0041_Data[]; - -/* Thawte Time Stamping CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0042_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0042_Data[]; - -/* Entrust.net Global Secure Server CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0043_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0043_Data[]; - -/* Entrust.net Global Secure Personal CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0044_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0044_Data[]; - -/* Entrust Root Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0045_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0045_Data[]; - -/* AOL Time Warner Root Certification Authority 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0046_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0046_Data[]; - -/* AOL Time Warner Root Certification Authority 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0047_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0047_Data[]; - -/* beTRUSTed Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0048_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0048_Data[]; - -/* beTRUSTed Root CA-Baltimore Implementation */ -extern const unsigned int NptTlsTrustAnchor_Base_0049_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0049_Data[]; - -/* beTRUSTed Root CA - Entrust Implementation */ -extern const unsigned int NptTlsTrustAnchor_Base_0050_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0050_Data[]; - -/* beTRUSTed Root CA - RSA Implementation */ -extern const unsigned int NptTlsTrustAnchor_Base_0051_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0051_Data[]; - -/* RSA Security 2048 v3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0052_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0052_Data[]; - -/* RSA Security 1024 v3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0053_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0053_Data[]; - -/* GeoTrust Global CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0054_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0054_Data[]; - -/* GeoTrust Global CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0055_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0055_Data[]; - -/* GeoTrust Universal CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0056_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0056_Data[]; - -/* GeoTrust Universal CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0057_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0057_Data[]; - -/* UTN-USER First-Network Applications */ -extern const unsigned int NptTlsTrustAnchor_Base_0058_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0058_Data[]; - -/* America Online Root Certification Authority 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0059_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0059_Data[]; - -/* America Online Root Certification Authority 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0060_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0060_Data[]; - -/* Visa eCommerce Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0061_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0061_Data[]; - -/* TC TrustCenter, Germany, Class 2 CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0062_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0062_Data[]; - -/* TC TrustCenter, Germany, Class 3 CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0063_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0063_Data[]; - -/* Certum Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0064_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0064_Data[]; - -/* Comodo AAA Services root */ -extern const unsigned int NptTlsTrustAnchor_Base_0065_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0065_Data[]; - -/* Comodo Secure Services root */ -extern const unsigned int NptTlsTrustAnchor_Base_0066_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0066_Data[]; - -/* Comodo Trusted Services root */ -extern const unsigned int NptTlsTrustAnchor_Base_0067_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0067_Data[]; - -/* IPS Chained CAs root */ -extern const unsigned int NptTlsTrustAnchor_Base_0068_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0068_Data[]; - -/* IPS CLASE1 root */ -extern const unsigned int NptTlsTrustAnchor_Base_0069_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0069_Data[]; - -/* IPS CLASE3 root */ -extern const unsigned int NptTlsTrustAnchor_Base_0070_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0070_Data[]; - -/* IPS CLASEA1 root */ -extern const unsigned int NptTlsTrustAnchor_Base_0071_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0071_Data[]; - -/* IPS CLASEA3 root */ -extern const unsigned int NptTlsTrustAnchor_Base_0072_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0072_Data[]; - -/* IPS Servidores root */ -extern const unsigned int NptTlsTrustAnchor_Base_0073_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0073_Data[]; - -/* IPS Timestamping root */ -extern const unsigned int NptTlsTrustAnchor_Base_0074_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0074_Data[]; - -/* QuoVadis Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0075_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0075_Data[]; - -/* QuoVadis Root CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0076_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0076_Data[]; - -/* QuoVadis Root CA 3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0077_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0077_Data[]; - -/* Security Communication Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0078_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0078_Data[]; - -/* Sonera Class 1 Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0079_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0079_Data[]; - -/* Sonera Class 2 Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0080_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0080_Data[]; - -/* Staat der Nederlanden Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0081_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0081_Data[]; - -/* TDC Internet Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0082_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0082_Data[]; - -/* TDC OCES Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0083_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0083_Data[]; - -/* UTN DATACorp SGC Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0084_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0084_Data[]; - -/* UTN USERFirst Email Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0085_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0085_Data[]; - -/* UTN USERFirst Hardware Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0086_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0086_Data[]; - -/* UTN USERFirst Object Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0087_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0087_Data[]; - -/* Camerfirma Chambers of Commerce Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0088_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0088_Data[]; - -/* Camerfirma Global Chambersign Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0089_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0089_Data[]; - -/* NetLock Qualified (Class QA) Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0090_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0090_Data[]; - -/* NetLock Notary (Class A) Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0091_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0091_Data[]; - -/* NetLock Business (Class B) Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0092_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0092_Data[]; - -/* NetLock Express (Class C) Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0093_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0093_Data[]; - -/* XRamp Global CA Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0094_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0094_Data[]; - -/* Go Daddy Class 2 CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0095_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0095_Data[]; - -/* Starfield Class 2 CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0096_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0096_Data[]; - -/* StartCom Ltd. */ -extern const unsigned int NptTlsTrustAnchor_Base_0097_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0097_Data[]; - -/* StartCom Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0098_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0098_Data[]; - -/* Firmaprofesional Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0099_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0099_Data[]; - -/* Wells Fargo Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0100_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0100_Data[]; - -/* Swisscom Root CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0101_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0101_Data[]; - -/* DigiCert Assured ID Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0102_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0102_Data[]; - -/* DigiCert Global Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0103_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0103_Data[]; - -/* DigiCert High Assurance EV Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0104_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0104_Data[]; - -/* Certplus Class 2 Primary CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0105_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0105_Data[]; - -/* DST Root CA X3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0106_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0106_Data[]; - -/* DST ACES CA X6 */ -extern const unsigned int NptTlsTrustAnchor_Base_0107_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0107_Data[]; - -/* SwissSign Platinum CA - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0108_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0108_Data[]; - -/* SwissSign Gold CA - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0109_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0109_Data[]; - -/* SwissSign Silver CA - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0110_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0110_Data[]; - -/* GeoTrust Primary Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0111_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0111_Data[]; - -/* thawte Primary Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0112_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0112_Data[]; - -/* VeriSign Class 3 Public Primary Certification Authority - G5 */ -extern const unsigned int NptTlsTrustAnchor_Base_0113_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0113_Data[]; - -/* SecureTrust CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0114_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0114_Data[]; - -/* Secure Global CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0115_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0115_Data[]; - -/* COMODO Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0116_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0116_Data[]; - -/* DigiNotar Root CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0117_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0117_Data[]; - -/* Network Solutions Certificate Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0118_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0118_Data[]; - -/* WellsSecure Public Root Certificate Authority */ -extern const unsigned int NptTlsTrustAnchor_Base_0119_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0119_Data[]; - -/* IGC/A */ -extern const unsigned int NptTlsTrustAnchor_Base_0120_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0120_Data[]; - -/* Security Communication EV RootCA1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0121_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0121_Data[]; - -/* TC TrustCenter Class 2 CA II */ -extern const unsigned int NptTlsTrustAnchor_Base_0122_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0122_Data[]; - -/* TC TrustCenter Class 3 CA II */ -extern const unsigned int NptTlsTrustAnchor_Base_0123_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0123_Data[]; - -/* TC TrustCenter Universal CA I */ -extern const unsigned int NptTlsTrustAnchor_Base_0124_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0124_Data[]; - -/* Deutsche Telekom Root CA 2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0125_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0125_Data[]; - -/* ComSign CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0126_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0126_Data[]; - -/* ComSign Secured CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0127_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0127_Data[]; - -/* Cybertrust Global Root */ -extern const unsigned int NptTlsTrustAnchor_Base_0128_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0128_Data[]; - -/* Buypass Class 2 CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0129_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0129_Data[]; - -/* Buypass Class 3 CA 1 */ -extern const unsigned int NptTlsTrustAnchor_Base_0130_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0130_Data[]; - -/* certSIGN ROOT CA */ -extern const unsigned int NptTlsTrustAnchor_Base_0131_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0131_Data[]; - -/* ApplicationCA - Japanese Government */ -extern const unsigned int NptTlsTrustAnchor_Base_0132_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0132_Data[]; - -/* GeoTrust Primary Certification Authority - G3 */ -extern const unsigned int NptTlsTrustAnchor_Base_0133_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0133_Data[]; - -/* thawte Primary Root CA - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0134_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0134_Data[]; - -/* GeoTrust Primary Certification Authority - G2 */ -extern const unsigned int NptTlsTrustAnchor_Base_0135_Size; -extern const unsigned char NptTlsTrustAnchor_Base_0135_Data[]; - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsExtended.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsExtended.h deleted file mode 100644 index 005a6f0750..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTlsDefaultTrustAnchorsExtended.h +++ /dev/null @@ -1,91 +0,0 @@ -/***************************************************************** -| -| Neptune - Trust Anchors -| -| This file is automatically generated by a script, do not edit! -| -| Copyright (c) 2002-2010, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - - /* This file is automatically generated by GenTrustAnchorsTables.py, do not edit */ - -#include "NptTls.h" - -extern const NPT_TlsTrustAnchorData NptTlsDefaultTrustAnchorsExtended[14]; - -/* ABAecom (sub., Am. Bankers Assn.) Root CA */ -extern const unsigned int NptTlsTrustAnchor_Extended_0000_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0000_Data[]; - -/* Taiwan GRCA */ -extern const unsigned int NptTlsTrustAnchor_Extended_0001_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0001_Data[]; - -/* TURKTRUST Certificate Services Provider Root 1 */ -extern const unsigned int NptTlsTrustAnchor_Extended_0002_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0002_Data[]; - -/* TURKTRUST Certificate Services Provider Root 2 */ -extern const unsigned int NptTlsTrustAnchor_Extended_0003_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0003_Data[]; - -/* OISTE WISeKey Global Root GA CA */ -extern const unsigned int NptTlsTrustAnchor_Extended_0004_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0004_Data[]; - -/* S-TRUST Authentication and Encryption Root CA 2005 PN */ -extern const unsigned int NptTlsTrustAnchor_Extended_0005_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0005_Data[]; - -/* Microsec e-Szigno Root CA */ -extern const unsigned int NptTlsTrustAnchor_Extended_0006_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0006_Data[]; - -/* Certigna */ -extern const unsigned int NptTlsTrustAnchor_Extended_0007_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0007_Data[]; - -/* AC Ra\xC3\xADz Certic\xC3\xA1mara S.A. */ -extern const unsigned int NptTlsTrustAnchor_Extended_0008_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0008_Data[]; - -/* ePKI Root Certification Authority */ -extern const unsigned int NptTlsTrustAnchor_Extended_0009_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0009_Data[]; - -/* TUBITAK UEKAE Kok Sertifika Hizmet Saglayicisi - Surum 3 */ -extern const unsigned int NptTlsTrustAnchor_Extended_0010_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0010_Data[]; - -/* CNNIC ROOT */ -extern const unsigned int NptTlsTrustAnchor_Extended_0011_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0011_Data[]; - -/* EBG Elektronik Sertifika Hizmet Saglayicisi */ -extern const unsigned int NptTlsTrustAnchor_Extended_0012_Size; -extern const unsigned char NptTlsTrustAnchor_Extended_0012_Data[]; - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTypes.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTypes.h deleted file mode 100644 index 4c82174a8a..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptTypes.h +++ /dev/null @@ -1,149 +0,0 @@ -/***************************************************************** -| -| Neptune - Types -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_TYPES_H_ -#define _NPT_TYPES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" - -/*---------------------------------------------------------------------- -| sized types (this assumes that ints are 32 bits) -+---------------------------------------------------------------------*/ -typedef NPT_CONFIG_INT64_TYPE NPT_Int64; -typedef unsigned NPT_CONFIG_INT64_TYPE NPT_UInt64; -typedef unsigned int NPT_UInt32; -typedef int NPT_Int32; -typedef unsigned short NPT_UInt16; -typedef short NPT_Int16; -typedef unsigned char NPT_UInt8; -typedef char NPT_Int8; -typedef float NPT_Float; - -/*---------------------------------------------------------------------- -| named types -+---------------------------------------------------------------------*/ -typedef int NPT_Result; -typedef unsigned int NPT_Cardinal; -typedef unsigned int NPT_Ordinal; -typedef NPT_UInt32 NPT_Size; -typedef NPT_UInt64 NPT_LargeSize; -typedef NPT_Int32 NPT_Offset; -typedef NPT_UInt64 NPT_Position; -typedef NPT_Int32 NPT_Timeout; -typedef void NPT_Interface; -typedef NPT_UInt8 NPT_Byte; -typedef NPT_UInt32 NPT_Flags; -typedef void* NPT_Any; -typedef const void* NPT_AnyConst; - -/*---------------------------------------------------------------------- -| limits -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_HAVE_LIMITS_H) -#include <limits.h> -#endif - -#if !defined(NPT_INT_MIN) -#if defined(NPT_CONFIG_HAVE_INT_MIN) -#define NPT_INT_MIN INT_MIN -#endif -#endif - -#if !defined(NPT_INT_MAX) -#if defined(NPT_CONFIG_HAVE_INT_MAX) -#define NPT_INT_MAX INT_MAX -#endif -#endif - -#if !defined(NPT_UINT_MAX) -#if defined(NPT_CONFIG_HAVE_UINT_MAX) -#define NPT_UINT_MAX UINT_MAX -#endif -#endif - -#if !defined(NPT_LONG_MIN) -#if defined(NPT_CONFIG_HAVE_LONG_MIN) -#define NPT_LONG_MIN LONG_MIN -#endif -#endif - -#if !defined(NPT_LONG_MAX) -#if defined(NPT_CONFIG_HAVE_LONG_MAX) -#define NPT_LONG_MAX LONG_MAX -#endif -#endif - -#if !defined(NPT_ULONG_MAX) -#if defined(NPT_CONFIG_HAVE_ULONG_MAX) -#define NPT_ULONG_MAX ULONG_MAX -#endif -#endif - -#if !defined(NPT_INT32_MAX) -#define NPT_INT32_MAX 0x7FFFFFFF -#endif - -#if !defined(NPT_INT32_MIN) -#define NPT_INT32_MIN (-NPT_INT32_MAX - 1) -#endif - -#if !defined(NPT_UINT32_MAX) -#define NPT_UINT32_MAX 0xFFFFFFFF -#endif - -#if !defined(NPT_INT64_MAX) -#if defined(NPT_CONFIG_HAVE_LLONG_MAX) -#define NPT_INT64_MAX LLONG_MAX -#else -#define NPT_INT64_MAX 0x7FFFFFFFFFFFFFFFLL -#endif -#endif - -#if !defined(NPT_INT64_MIN) -#if defined(NPT_CONFIG_HAVE_LLONG_MIN) -#define NPT_INT64_MIN LLONG_MIN -#else -#define NPT_INT64_MIN (-NPT_INT64_MAX - 1LL) -#endif -#endif - -#if !defined(NPT_UINT64_MAX) -#if defined(NPT_CONFIG_HAVE_ULLONG_MAX) -#define NPT_UINT64_MAX ULLONG_MAX -#else -#define NPT_UINT64_MAX 0xFFFFFFFFFFFFFFFFULL -#endif -#endif - -#endif // _NPT_TYPES_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptUri.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptUri.h deleted file mode 100644 index 8ef46cb1f5..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptUri.h +++ /dev/null @@ -1,320 +0,0 @@ -/***************************************************************** -| -| Neptune - URI -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_URI_H_ -#define _NPT_URI_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStrings.h" -#include "NptList.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const NPT_UInt16 NPT_URL_INVALID_PORT = 0; -const NPT_UInt16 NPT_URL_DEFAULT_HTTP_PORT = 80; -const NPT_UInt16 NPT_URL_DEFAULT_HTTPS_PORT = 443; - -/*---------------------------------------------------------------------- -| NPT_Uri -+---------------------------------------------------------------------*/ -class NPT_Uri { -public: - // types - typedef enum { - SCHEME_ID_UNKNOWN, - SCHEME_ID_HTTP, - SCHEME_ID_HTTPS - } SchemeId; - - // constants. use as a parameter to Encode() - static const char* const PathCharsToEncode; - static const char* const QueryCharsToEncode; - static const char* const FragmentCharsToEncode; - static const char* const UnsafeCharsToEncode; - - // class methods - static NPT_String PercentEncode(const char* str, const char* chars, bool encode_percents=true); - static NPT_String PercentDecode(const char* str); - static SchemeId ParseScheme(const NPT_String& scheme); - - // methods - NPT_Uri() : m_SchemeId(SCHEME_ID_UNKNOWN) {} - virtual ~NPT_Uri() {} - const NPT_String& GetScheme() const { - return m_Scheme; - } - void SetScheme(const char* scheme); - NPT_Result SetSchemeFromUri(const char* uri); - SchemeId GetSchemeId() const { - return m_SchemeId; - } - -protected: - // members - NPT_String m_Scheme; - SchemeId m_SchemeId; -}; - -/*---------------------------------------------------------------------- -| NPT_UrlQuery -+---------------------------------------------------------------------*/ -class NPT_UrlQuery -{ -public: - // class methods - static NPT_String UrlEncode(const char* str, bool encode_percents=true); - static NPT_String UrlDecode(const char* str); - - // types - struct Field { - Field(const char* name, const char* value, bool encoded); - NPT_String m_Name; - NPT_String m_Value; - }; - - // constructor - NPT_UrlQuery() {} - NPT_UrlQuery(const char* query); - - // accessors - NPT_List<Field>& GetFields() { return m_Fields; } - - // methods - NPT_Result Parse(const char* query); - NPT_Result SetField(const char* name, const char* value, bool encoded=false); - NPT_Result AddField(const char* name, const char* value, bool encoded=false); - const char* GetField(const char* name); - NPT_String ToString(); - -private: - // members - NPT_List<Field> m_Fields; -}; - -/*---------------------------------------------------------------------- -| NPT_Url -+---------------------------------------------------------------------*/ -class NPT_Url : public NPT_Uri { -public: - /** - * Default constructor. This does not construct a valid URL, but an - * uninitialized one that can later be initialized to a valid URL by - * parsing or setting some of its fields. - */ - NPT_Url(); - - /** - * Construct a URL by parsing an input string in its fully encoded form. - * If an error occurs during parsing (such as an invalid syntax), the - * URL will be in an invalid state (a call to IsValid() will return false). - * - * @param url The URL string in its encoded form - * @param default_port The default port number, or 0 if not specified - */ - NPT_Url(const char* url, NPT_UInt16 default_port = 0); - - /** - * Construct a URL from its components. When constructing a URL from - * components, the components are assumed to be passed in their non-encoded - * form, and will thus be encoded automatically. - * - * @param scheme The URL scheme - * @param port The port number - * @param path The path - * @param query The query, if any, or NULL - * @param fragment The fragment, if any, or NULL - */ - NPT_Url(const char* scheme, - const char* host, - NPT_UInt16 port, - const char* path, - const char* query = NULL, - const char* fragment = NULL); - - /** - * Parse a URL from its fully encoded form. - * - * @param url The URL string in its encoded form - * @param default port The defautl port number, or 0 if not specified - */ - NPT_Result Parse(const char* url, NPT_UInt16 default_port = 0); - - /** - * Parse just the path plus optional query and fragment from a fully encoded form. - * - * @param path_plus The URL path plus optional query and fragment - */ - NPT_Result ParsePathPlus(const char* path_plus); - - /** - * Returns the host part of the URL, in its encoded form - */ - const NPT_String& GetHost() const { return m_Host; } - - /** - * Returns the port number of the URL. - */ - NPT_UInt16 GetPort() const { return m_Port; } - - /** - * Returns the path part of the URL, in its encoded form - */ - const NPT_String& GetPath() const { return m_Path; } - - /** - * Returns the path part of the URL, in its encoded or decoded form - */ - NPT_String GetPath(bool decoded) const { return decoded?NPT_Uri::PercentDecode(m_Path):m_Path;} - - /** - * Returns the query part of the URL, in its encoded form - */ - const NPT_String& GetQuery() const { return m_Query; } - - /** - * Returns the fragment part of the URL, in its encoded form - */ - const NPT_String& GetFragment() const { return m_Fragment; } - - /** - * Returns whether the URL is valid or not. Invalid URLs are uninitialized or - * not fully initialized URLs. - * - * @return true if the URL is valid, false if it is not. - */ - virtual bool IsValid() const; - - /** - * Resets a URL to an uninitialized state. - */ - void Reset(); - - /** - * Returns whether the URL has a query part or not. - * - * @return true if the URL has a query part, false if it does not. - */ - bool HasQuery() const { return m_HasQuery; } - - /** - * Returns whether the URL has a fragment part or not. - * - * @return true if the URL has a fragment part, false if it does not. - */ - bool HasFragment() const { return m_HasFragment; } - - /** - * Sets the host part of the URL. - * - * @param host The host part of the URL - */ - NPT_Result SetHost(const char* host); - - /** - * Sets the port number of the URL. - * - * @param port The port number of the URL - */ - NPT_Result SetPort(NPT_UInt16 port); - - /** - * Sets the path part of the URL. - * - * @param path The path part of the URL - * @param encoded Boolean flag indicating whether the path parameter is - * already encoded or not. If it is not already encoded, it will be - * automatically encoded. - */ - NPT_Result SetPath(const char* path, bool encoded=false); - - /** - * Sets the query part of the URL. - * - * @param query The query part of the URL - * @param encoded Boolean flag indicating whether the query parameter is - * already encoded or not. If it is not already encoded, it will be - * automatically encoded. - */ - NPT_Result SetQuery(const char* query, bool encoded=false); - - /** - * Sets the fragment part of the URL. - * - * @param query The fragment part of the URL - * @param encoded Boolean flag indicating whether the fragment parameter is - * already encoded or not. If it is not already encoded, it will be - * automatically encoded. - */ - NPT_Result SetFragment(const char* fragment, bool encoded=false); - - /** - * Return the string representation of the URL in a way that can be used in - * an HTTP request (i.e just the portion of the URL starting with the path) - * - * @param with_fragment Boolean flag specifiying whether the fragment part of - * the URL should be included in the returned string or not. - */ - virtual NPT_String ToRequestString(bool with_fragment = false) const; - - /** - * Return the string representation of the URL. - * - * @param default_port default port number for the scheme. If the port number of - * the URL is not equal to the default port, then port number is explicitely - * included in the string representation of the URL. - * @param with_fragment Boolean flag specifiying whether the fragment part of - * the URL should be included in the returned string or not. - */ - virtual NPT_String ToStringWithDefaultPort(NPT_UInt16 default_port, bool with_fragment = true) const; - - /** - * Return the string representation of the URL. - * - * @param with_fragment Boolean flag specifiying whether the fragment part of - * the URL should be included in the returned string or not. - */ - virtual NPT_String ToString(bool with_fragment = true) const; - -protected: - // members - NPT_String m_Host; - NPT_UInt16 m_Port; - NPT_String m_Path; - bool m_HasQuery; - NPT_String m_Query; - bool m_HasFragment; - NPT_String m_Fragment; -}; - -#endif // _NPT_URI_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptUtils.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptUtils.h deleted file mode 100644 index 3a06d497f4..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptUtils.h +++ /dev/null @@ -1,228 +0,0 @@ -/***************************************************************** -| -| Neptune Utils -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_UTILS_H_ -#define _NPT_UTILS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptTypes.h" -#include "NptStrings.h" -#include "NptMap.h" -#include "NptDataBuffer.h" -#include "NptHash.h" - -#if defined (NPT_CONFIG_HAVE_STDIO_H) -#include <stdio.h> -#endif - -#if defined (NPT_CONFIG_HAVE_STRING_H) -#include <string.h> -#endif - -#if defined(NPT_CONFIG_HAVE_STDARG_H) -#include <stdarg.h> -#endif - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#define NPT_ARRAY_SIZE(_a) (sizeof(_a)/sizeof((_a)[0])) - -/*---------------------------------------------------------------------- -| byte I/O -+---------------------------------------------------------------------*/ -extern void NPT_BytesFromInt64Be(unsigned char* buffer, NPT_UInt64 value); -extern void NPT_BytesFromInt32Be(unsigned char* buffer, NPT_UInt32 value); -extern void NPT_BytesFromInt24Be(unsigned char* buffer, NPT_UInt32 value); -extern void NPT_BytesFromInt16Be(unsigned char* buffer, NPT_UInt16 value); -extern NPT_UInt64 NPT_BytesToInt64Be(const unsigned char* buffer); -extern NPT_UInt32 NPT_BytesToInt32Be(const unsigned char* buffer); -extern NPT_UInt32 NPT_BytesToInt24Be(const unsigned char* buffer); -extern NPT_UInt16 NPT_BytesToInt16Be(const unsigned char* buffer); - -extern void NPT_BytesFromInt64Le(unsigned char* buffer, NPT_UInt64 value); -extern void NPT_BytesFromInt32Le(unsigned char* buffer, NPT_UInt32 value); -extern void NPT_BytesFromInt24Le(unsigned char* buffer, NPT_UInt32 value); -extern void NPT_BytesFromInt16Le(unsigned char* buffer, NPT_UInt16 value); -extern NPT_UInt64 NPT_BytesToInt64Le(const unsigned char* buffer); -extern NPT_UInt32 NPT_BytesToInt32Le(const unsigned char* buffer); -extern NPT_UInt32 NPT_BytesToInt24Le(const unsigned char* buffer); -extern NPT_UInt16 NPT_BytesToInt16Le(const unsigned char* buffer); - -/*---------------------------------------------------------------------- -| conversion utilities -+---------------------------------------------------------------------*/ -extern NPT_Result -NPT_ParseFloat(const char* str, float& result, bool relaxed = true); - -extern NPT_Result -NPT_ParseInteger(const char* str, long& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger(const char* str, unsigned long& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger(const char* str, int& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger(const char* str, unsigned int& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger32(const char* str, NPT_Int32& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger32(const char* str, NPT_UInt32& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger64(const char* str, NPT_Int64& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -extern NPT_Result -NPT_ParseInteger64(const char* str, NPT_UInt64& result, bool relaxed = true, NPT_Cardinal* chars_used = 0); - -/*---------------------------------------------------------------------- -| formatting -+---------------------------------------------------------------------*/ -void -NPT_FormatOutput(void (*function)(void* parameter, const char* message), - void* function_parameter, - const char* format, - va_list args); - -void NPT_ByteToHex(NPT_Byte b, char* buffer, bool uppercase=false); -NPT_Result NPT_HexToByte(const char* buffer, NPT_Byte& b); -NPT_Result NPT_HexToBytes(const char* hex, NPT_DataBuffer& bytes); -NPT_String NPT_HexString(const unsigned char* data, - NPT_Size data_size, - const char* separator = NULL, - bool uppercase=false); -char NPT_NibbleToHex(unsigned int nibble, bool uppercase = true); -int NPT_HexToNibble(char hex); - -/*---------------------------------------------------------------------- -| parsing -+---------------------------------------------------------------------*/ -NPT_Result -NPT_ParseMimeParameters(const char* encoded, - NPT_Map<NPT_String, NPT_String>& parameters); - -/*---------------------------------------------------------------------- -| environment variables -+---------------------------------------------------------------------*/ -class NPT_Environment { -public: - static NPT_Result Get(const char* name, NPT_String& value); - static NPT_Result Set(const char* name, const char* value); -}; -// compat for older APIs -#define NPT_GetEnvironment(_x,_y) NPT_Environment::Get(_x,_y) - -/*---------------------------------------------------------------------- -| string utils -+---------------------------------------------------------------------*/ -#if defined (NPT_CONFIG_HAVE_STDIO_H) -#include <stdio.h> -#endif - -#if defined (NPT_CONFIG_HAVE_STRING_H) -#include <string.h> -#endif - -#if defined (NPT_CONFIG_HAVE_SNPRINTF) -#define NPT_FormatString NPT_snprintf -#else -int NPT_FormatString(char* str, NPT_Size size, const char* format, ...); -#endif - -#if defined(NPT_CONFIG_HAVE_VSNPRINTF) -#define NPT_FormatStringVN(s,c,f,a) NPT_vsnprintf(s,c,f,a) -#else -extern int NPT_FormatStringVN(char *buffer, size_t count, const char *format, va_list argptr); -#endif - -#if defined(NPT_CONFIG_HAVE_MEMCPY) -#define NPT_CopyMemory memcpy -#else -extern void NPT_CopyMemory(void* dest, void* src, NPT_Size size); -#endif - -#if defined(NPT_CONFIG_HAVE_STRCMP) -#define NPT_StringsEqual(s1, s2) (strcmp((s1), (s2)) == 0) -#else -extern int NPT_StringsEqual(const char* s1, const char* s2); -#endif - -#if defined(NPT_CONFIG_HAVE_STRNCMP) -#define NPT_StringsEqualN(s1, s2, n) (strncmp((s1), (s2), (n)) == 0) -#else -extern int NPT_StringsEqualN(const char* s1, const char* s2, unsigned long size); -#endif - -#if defined(NPT_CONFIG_HAVE_STRLEN) -#define NPT_StringLength(s) (NPT_Size)(strlen(s)) -#else -extern unsigned long NPT_StringLength(const char* s); -#endif - -#if defined(NPT_CONFIG_HAVE_STRCPY) -#define NPT_CopyString(dst, src) ((void)NPT_strcpy((dst), (src))) -#else -extern void NPT_CopyString(char* dst, const char* src); -#endif - -/** - * Copy up to n characters from src to dst. - * The destination buffer will be null-terminated, so it must - * have enough space for n+1 characters (n from the source plus - * the null terminator). - */ -#if defined(NPT_CONFIG_HAVE_STRNCPY) -#define NPT_CopyStringN(dst, src, n) \ -do { ((void)NPT_strncpy((dst), (src), n)); (dst)[(n)] = '\0'; } while(0) -#else -extern int NPT_CopyStringN(char* dst, const char* src, unsigned long n); -#endif - -#if defined(NPT_CONFIG_HAVE_MEMSET) -#define NPT_SetMemory memset -#else -extern void NPT_SetMemory(void* dest, int c, NPT_Size size); -#endif - -#if defined(NPT_CONFIG_HAVE_MEMCMP) -#define NPT_MemoryEqual(s1, s2, n) (memcmp((s1), (s2), (n)) == 0) -#else -extern int NPT_MemoryEqual(const void* s1, const void* s2, unsigned long n); -#endif - -#endif // _NPT_UTILS_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptVersion.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptVersion.h deleted file mode 100644 index ad34d90546..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptVersion.h +++ /dev/null @@ -1,41 +0,0 @@ -/***************************************************************** -| -| Neptune - Version Info -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_VERSION_H_ -#define _NPT_VERSION_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#define NPT_NEPTUNE_VERSION 0x01010300 -#define NPT_NEPTUNE_VERSION_STRING "1.1.3" - -#endif // _NPT_VERSION_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptXml.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptXml.h deleted file mode 100644 index b5d18ea381..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptXml.h +++ /dev/null @@ -1,390 +0,0 @@ -/***************************************************************** -| -| Neptune - Xml Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_XML_H_ -#define _NPT_XML_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptTypes.h" -#include "NptList.h" -#include "NptStrings.h" -#include "NptStreams.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -const int NPT_ERROR_XML_INVALID_NESTING = NPT_ERROR_BASE_XML - 0; -const int NPT_ERROR_XML_TAG_MISMATCH = NPT_ERROR_BASE_XML - 1; -const int NPT_ERROR_XML_NO_ROOT = NPT_ERROR_BASE_XML - 2; -const int NPT_ERROR_XML_MULTIPLE_ROOTS = NPT_ERROR_BASE_XML - 3; - -#define NPT_XML_ANY_NAMESPACE "*" -#define NPT_XML_NO_NAMESPACE NULL - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class NPT_XmlProcessor; - -/*---------------------------------------------------------------------- -| NPT_XmlAttribute -+---------------------------------------------------------------------*/ -class NPT_XmlAttribute -{ - public: - // methods - NPT_XmlAttribute(const char* name, const char* value); - NPT_XmlAttribute(const char* prefix, const char* name, const char* value) : - m_Prefix(prefix), m_Name(name), m_Value(value) {} - const NPT_String& GetPrefix() const { return m_Prefix; } - const NPT_String& GetName() const { return m_Name; } - const NPT_String& GetValue() const { return m_Value; } - void SetValue(const char* value) { m_Value = value; } - - private: - // members - NPT_String m_Prefix; - NPT_String m_Name; - NPT_String m_Value; - - NPT_XmlAttribute(const NPT_XmlAttribute& attribute) : - m_Prefix(attribute.m_Prefix), - m_Name(attribute.m_Name), - m_Value(attribute.m_Value) {} - NPT_XmlAttribute& operator=(const NPT_XmlAttribute& a); - - // friends - friend class NPT_XmlAttributeFinder; - friend class NPT_XmlAttributeFinderWithPrefix; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlNamespaceMap -+---------------------------------------------------------------------*/ -class NPT_XmlNamespaceMap -{ -public: - // destructor - ~NPT_XmlNamespaceMap(); - - // methods - NPT_Result SetNamespaceUri(const char* prefix, const char* uri); - const NPT_String* GetNamespaceUri(const char* prefix); - const NPT_String* GetNamespacePrefix(const char* uri); - -private: - // types - class Entry { - public: - // constructor - Entry(const char* prefix, const char* uri) : - m_Prefix(prefix), m_Uri(uri) {} - - // members - NPT_String m_Prefix; - NPT_String m_Uri; - }; - - // members - NPT_List<Entry*> m_Entries; - - // friends - friend class NPT_XmlWriter; - friend class NPT_XmlNodeWriter; - friend class NPT_XmlNodeCanonicalWriter; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlNode -+---------------------------------------------------------------------*/ -class NPT_XmlElementNode; -class NPT_XmlTextNode; -class NPT_XmlNode -{ - public: - // types - typedef enum { - DOCUMENT, - ELEMENT, - TEXT - } Type; - - // methods - NPT_XmlNode(Type type) : m_Type(type), m_Parent(NULL) {} - virtual ~NPT_XmlNode() {} - Type GetType() const { return m_Type; } - NPT_XmlNode* GetParent() const { return m_Parent; } - - // type casting - virtual NPT_XmlElementNode* AsElementNode() { return NULL; } - virtual const NPT_XmlElementNode* AsElementNode() const { return NULL; } - virtual NPT_XmlTextNode* AsTextNode() { return NULL; } - virtual const NPT_XmlTextNode* AsTextNode() const { return NULL; } - - protected: - // methods - virtual void SetParent(NPT_XmlNode* parent) { m_Parent = parent; } - - // members - Type m_Type; - NPT_XmlNode* m_Parent; - - // friends - friend class NPT_XmlNodeFinder; - friend class NPT_XmlSerializer; - friend class NPT_XmlWriter; - friend class NPT_XmlElementNode; // to allow access to SetParent() -}; - -/*---------------------------------------------------------------------- -| NPT_XmlElementNode -+---------------------------------------------------------------------*/ -class NPT_XmlElementNode : public NPT_XmlNode -{ - public: - // methods - NPT_XmlElementNode(const char* tag); - NPT_XmlElementNode(const char* prefix, const char* tag); - virtual ~NPT_XmlElementNode(); - NPT_List<NPT_XmlNode*>& GetChildren() { return m_Children; } - const NPT_List<NPT_XmlNode*>& - GetChildren() const { return m_Children; } - NPT_XmlElementNode* GetChild(const char* tag, - const char* namespc = NPT_XML_NO_NAMESPACE, - NPT_Ordinal n=0) const; - NPT_Result AddChild(NPT_XmlNode* child); - NPT_Result SetAttribute(const char* prefix, - const char* name, - const char* value); - NPT_Result SetAttribute(const char* name, - const char* value); - NPT_Result AddText(const char* text); - NPT_List<NPT_XmlAttribute*>& - GetAttributes() { return m_Attributes; } - const NPT_List<NPT_XmlAttribute*>& - GetAttributes() const { return m_Attributes; } - const NPT_String* GetAttribute(const char* name, - const char* namespc = NPT_XML_NO_NAMESPACE) const; - const NPT_String& GetPrefix() const { return m_Prefix; } - const NPT_String& GetTag() const { return m_Tag; } - const NPT_String* GetText(NPT_Ordinal n=0) const; - - // bring all the namespace definitions used in this element of one of its descendants - // into the namespace map of this element so that it may be serialized as a - // standalone element without any prefixes with undefined namespace uris - NPT_Result MakeStandalone(); - - // namespace methods - const NPT_String* GetNamespace() const; - NPT_Result SetNamespaceUri(const char* prefix, const char* uri); - const NPT_String* GetNamespaceUri(const char* prefix) const; - const NPT_String* GetNamespacePrefix(const char* uri) const; - - // type casting - NPT_XmlElementNode* AsElementNode() { return this; } - const NPT_XmlElementNode* AsElementNode() const { return this; } - -protected: - // methods - void SetParent(NPT_XmlNode* parent); - void SetNamespaceParent(NPT_XmlElementNode* parent); - void RelinkNamespaceMaps(); - - NPT_Result AddAttribute(const char* name, const char* value); - - // members - NPT_String m_Prefix; - NPT_String m_Tag; - NPT_List<NPT_XmlNode*> m_Children; - NPT_List<NPT_XmlAttribute*> m_Attributes; - NPT_XmlNamespaceMap* m_NamespaceMap; - NPT_XmlElementNode* m_NamespaceParent; - - // friends - friend class NPT_XmlTagFinder; - friend class NPT_XmlSerializer; - friend class NPT_XmlWriter; - friend class NPT_XmlNodeWriter; - friend class NPT_XmlNodeCanonicalWriter; - friend class NPT_XmlParser; - friend class NPT_XmlProcessor; - friend class NPT_XmlNamespaceCollapser; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlTextNode -+---------------------------------------------------------------------*/ -class NPT_XmlTextNode : public NPT_XmlNode -{ - public: - // types - typedef enum { - CHARACTER_DATA, - IGNORABLE_WHITESPACE, - CDATA_SECTION, - ENTITY_REFERENCE, - COMMENT - } TokenType; - - // constructor - NPT_XmlTextNode(TokenType token_type, const char* text); - - // methods - const NPT_String& GetString() const { return m_Text; } - - // type casting - NPT_XmlTextNode* AsTextNode() { return this; } - const NPT_XmlTextNode* AsTextNode() const { return this; } - - private: - // members -// TokenType m_TokenType; - NPT_String m_Text; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlParser -+---------------------------------------------------------------------*/ -class NPT_XmlParser -{ - public: - // methods - NPT_XmlParser(bool keep_whitespace = true); - virtual ~NPT_XmlParser(); - virtual NPT_Result Parse(const char* xml, - NPT_XmlNode*& tree, - bool incremental=false); - virtual NPT_Result Parse(const char* xml, - NPT_Size size, - NPT_XmlNode*& tree, - bool incremental=false); - virtual NPT_Result Parse(NPT_InputStream& stream, - NPT_XmlNode*& tree, - bool incremental=false); - virtual NPT_Result Parse(NPT_InputStream& stream, - NPT_Size& size, - NPT_XmlNode*& tree, - bool incremental=false); - - protected: - // NPT_XmlHandler methods - NPT_Result OnStartElement(const char* name); - NPT_Result OnElementAttribute(const char* name, const char* value); - NPT_Result OnEndElement(const char* name); - NPT_Result OnCharacterData(const char* data, NPT_Size size); - void RemoveIgnorableWhitespace(); - - // members - NPT_XmlProcessor* m_Processor; - NPT_XmlElementNode* m_Root; - NPT_XmlElementNode* m_CurrentElement; - bool m_KeepWhitespace; - -private: - void Reset(); - - // friends - friend class NPT_XmlProcessor; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlSerializer -+---------------------------------------------------------------------*/ -class NPT_XmlSerializer -{ -public: - // methods - NPT_XmlSerializer(NPT_OutputStream* output, - NPT_Cardinal indentation = 0, - bool shrink_empty_elements = true, - bool add_xml_decl = false); - virtual ~NPT_XmlSerializer(); - virtual NPT_Result StartDocument(); - virtual NPT_Result EndDocument(); - virtual NPT_Result StartElement(const char* prefix, const char* name); - virtual NPT_Result EndElement(const char* prefix, const char* name); - virtual NPT_Result Attribute(const char* prefix, const char* name, const char* value); - virtual NPT_Result Text(const char* text); - virtual NPT_Result CdataSection(const char* data); - virtual NPT_Result Comment(const char* comment); - -protected: - // methods - void EscapeChar(unsigned char c, char* text); - NPT_Result ProcessPending(); - NPT_Result OutputEscapedString(const char* text, bool attribute); - void OutputIndentation(bool start); - - // members - NPT_OutputStream* m_Output; - bool m_ElementPending; - NPT_Cardinal m_Depth; - NPT_Cardinal m_Indentation; - NPT_String m_IndentationPrefix; - bool m_ElementHasText; - bool m_ShrinkEmptyElements; - bool m_AddXmlDecl; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlWriter -+---------------------------------------------------------------------*/ -class NPT_XmlWriter -{ -public: - // constructor - explicit NPT_XmlWriter(NPT_Cardinal indentation = 0) : m_Indentation(indentation) {} - - // methods - NPT_Result Serialize(NPT_XmlNode& node, - NPT_OutputStream& stream, - bool add_xml_decl = false); - -private: - // members - NPT_Cardinal m_Indentation; -}; - -/*---------------------------------------------------------------------- -| NPT_XmlCanonicalizer -+---------------------------------------------------------------------*/ -class NPT_XmlCanonicalizer -{ -public: - // methods - NPT_Result Serialize(NPT_XmlNode& node, - NPT_OutputStream& stream, - bool add_xml_decl = false); -}; - -#endif // _NPT_XML_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptZip.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptZip.h deleted file mode 100644 index 3720451e70..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/NptZip.h +++ /dev/null @@ -1,220 +0,0 @@ -/***************************************************************** -| -| Neptune - Zip Support -| -| Copyright (c) 2002-2008, Axiomatic Systems, LLC. -| All rights reserved. -| -| Redistribution and use in source and binary forms, with or without -| modification, are permitted provided that the following conditions are met: -| * Redistributions of source code must retain the above copyright -| notice, this list of conditions and the following disclaimer. -| * Redistributions in binary form must reproduce the above copyright -| notice, this list of conditions and the following disclaimer in the -| documentation and/or other materials provided with the distribution. -| * Neither the name of Axiomatic Systems nor the -| names of its contributors may be used to endorse or promote products -| derived from this software without specific prior written permission. -| -| THIS SOFTWARE IS PROVIDED BY AXIOMATIC SYSTEMS ''AS IS'' AND ANY -| EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -| DISCLAIMED. IN NO EVENT SHALL AXIOMATIC SYSTEMS BE LIABLE FOR ANY -| DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -| (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -| LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -| ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -| SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -| - ****************************************************************/ - -#ifndef _NPT_ZIP_H_ -#define _NPT_ZIP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptConfig.h" -#include "NptStreams.h" -#include "NptArray.h" -#include "NptFile.h" - -/*---------------------------------------------------------------------- -| class references -+---------------------------------------------------------------------*/ -class NPT_ZipInflateState; -class NPT_ZipDeflateState; - -/*---------------------------------------------------------------------- -| NPT_ZipFile -+---------------------------------------------------------------------*/ -const unsigned int NPT_ZIP_FILE_FLAG_ENCRYPTED = 0x01; -const unsigned int NPT_ZIP_FILE_COMPRESSION_METHOD_NONE = 0x00; -const unsigned int NPT_ZIP_FILE_COMPRESSION_METHOD_DEFLATE = 0x08; - -class NPT_ZipFile -{ -public: - // types - class Entry { - public: - Entry(const unsigned char* data); - NPT_String m_Name; - NPT_UInt16 m_Flags; - NPT_UInt16 m_CompressionMethod; - NPT_UInt32 m_Crc32; - NPT_LargeSize m_CompressedSize; - NPT_LargeSize m_UncompressedSize; - NPT_UInt16 m_DiskNumber; - NPT_UInt16 m_InternalFileAttributes; - NPT_UInt32 m_ExternalFileAttributes; - NPT_Position m_RelativeOffset; - NPT_UInt32 m_DirectoryEntrySize; - }; - - // class methods - static NPT_Result Parse(NPT_InputStream& stream, NPT_ZipFile*& file); - static NPT_Result GetInputStream(Entry& entry, NPT_InputStreamReference& zip_stream, NPT_InputStream*& file_stream); - - // accessors - NPT_Array<Entry>& GetEntries() { return m_Entries; } - -private: - // constructor - NPT_ZipFile(); - - // members - NPT_Array<Entry> m_Entries; -}; - -/*---------------------------------------------------------------------- -| NPT_Zip -+---------------------------------------------------------------------*/ -const int NPT_ZIP_COMPRESSION_LEVEL_DEFAULT = -1; -const int NPT_ZIP_COMPRESSION_LEVEL_MIN = 0; -const int NPT_ZIP_COMPRESSION_LEVEL_MAX = 9; -const int NPT_ZIP_COMPRESSION_LEVEL_NONE = 0; -class NPT_Zip -{ -public: - // class methods - static NPT_Result MapError(int err); - - /** - * Compressed data format - */ - typedef enum { - ZLIB, - GZIP - } Format; - - /** - * Deflate (i.e compress) a buffer - */ - static NPT_Result Deflate(const NPT_DataBuffer& in, - NPT_DataBuffer& out, - int compression_level = NPT_ZIP_COMPRESSION_LEVEL_DEFAULT, - Format format = ZLIB); - - /** - * Inflate (i.e decompress) a buffer - */ - static NPT_Result Inflate(const NPT_DataBuffer& in, - NPT_DataBuffer& out, - bool raw = false); - - /** - * Deflate (i.e compress) a file - */ - static NPT_Result Deflate(NPT_File& in, - NPT_File& out, - int compression_level = NPT_ZIP_COMPRESSION_LEVEL_DEFAULT, - Format format = GZIP); - -}; - -/*---------------------------------------------------------------------- -| NPT_ZipInflatingInputStream -+---------------------------------------------------------------------*/ -class NPT_ZipInflatingInputStream : public NPT_InputStream -{ -public: - NPT_ZipInflatingInputStream(NPT_InputStreamReference& source, bool raw = false); - ~NPT_ZipInflatingInputStream(); - - // NPT_InputStream methods - virtual NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - virtual NPT_Result Seek(NPT_Position offset); - virtual NPT_Result Tell(NPT_Position& offset); - virtual NPT_Result GetSize(NPT_LargeSize& size); - virtual NPT_Result GetAvailable(NPT_LargeSize& available); - -private: - NPT_InputStreamReference m_Source; - NPT_Position m_Position; - NPT_ZipInflateState* m_State; - NPT_DataBuffer m_Buffer; -}; - -/*---------------------------------------------------------------------- -| NPT_ZipInflatingOutputStream -+---------------------------------------------------------------------*/ - -/*---------------------------------------------------------------------- -| NPT_ZipDeflatingInputStream -+---------------------------------------------------------------------*/ -class NPT_ZipDeflatingInputStream : public NPT_InputStream -{ -public: - NPT_ZipDeflatingInputStream(NPT_InputStreamReference& source, - int compression_level = NPT_ZIP_COMPRESSION_LEVEL_DEFAULT, - NPT_Zip::Format format = NPT_Zip::ZLIB); - ~NPT_ZipDeflatingInputStream(); - - // NPT_InputStream methods - virtual NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - virtual NPT_Result Seek(NPT_Position offset); - virtual NPT_Result Tell(NPT_Position& offset); - virtual NPT_Result GetSize(NPT_LargeSize& size); - virtual NPT_Result GetAvailable(NPT_LargeSize& available); - -private: - NPT_InputStreamReference m_Source; - NPT_Position m_Position; - bool m_Eos; - NPT_ZipDeflateState* m_State; - NPT_DataBuffer m_Buffer; -}; - -/*---------------------------------------------------------------------- -| NPT_ZipDeflatingOutputStream -+---------------------------------------------------------------------*/ -/*class NPT_ZipDeflatingOutputStream : public NPT_OutputStream -{ -public: - NPT_ZipDeflatingOutputStream(NPT_OutputStreamReference& source, - int compression_level = NPT_ZIP_COMPRESSION_LEVEL_DEFAULT, - NPT_Zip::Format format = NPT_Zip::ZLIB); - NPT_ZipDeflatingOutputStream(); - - // NPT_OutputStream methods - virtual NPT_Result Write(void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL); - virtual NPT_Result Seek(NPT_Position offset); - virtual NPT_Result Tell(NPT_Position& offset); - -private: - NPT_OutputStreamReference m_Output; - NPT_Position m_Position; - bool m_Eos; - NPT_ZipDeflateState* m_State; - NPT_DataBuffer m_Buffer; -}; */ - -#endif // _NPT_ZIP_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/Platinum.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/Platinum.h deleted file mode 100644 index a7f47a6241..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/Platinum.h +++ /dev/null @@ -1,118 +0,0 @@ -/***************************************************************** -| -| Platinum - Top Level Include -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| - ****************************************************************/ -/** @file - Master Header file included by Platinum client applications. - - Client Applications should only need to include this file, as it - includes all the more specific include files required to use the API - */ - -/** -@mainpage Platinum UPnP SDK - -@section intro Introduction - -The Platinum SDK contains all the software components necessary to -build and use the Platinum UPnP Framework. This includes -the Platinum framework and the Neptune C++ runtime -library. - -@section architecture Architecture - -The Platinum framework consists of a core framework that implements the UPnP -core specifications including GENA, SOAP and SSDP. Building on top of that, the -Platinum framework provides the foundation for UPnP AV Media Server and -Media Renderer compliant implementations. - -The Platinum framework leverages the Neptune C++ runtime library which offers an -elegant platform abstraction layer for multithreading, file system and -network operations. Additionally, it provides support for XML parsing, string and time -manipulation, template based linked-lists, stacks and arrays, and a configurable -cross-platform logging system. - -*/ - -#ifndef _PLATINUM_H_ -#define _PLATINUM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltUPnP.h" -#include "PltCtrlPoint.h" -#include "PltDeviceData.h" -#include "PltHttpServer.h" -#include "PltVersion.h" - -#include "PltMimeType.h" -#include "PltProtocolInfo.h" -#include "PltAction.h" -#include "PltArgument.h" -#include "PltConstants.h" -#include "PltCtrlPointTask.h" -#include "PltDatagramStream.h" -#include "PltDeviceHost.h" -#include "PltEvent.h" -#include "PltHttp.h" -#include "PltHttpClientTask.h" -#include "PltHttpServer.h" -#include "PltHttpServerTask.h" -#include "PltService.h" -#include "PltSsdp.h" -#include "PltStateVariable.h" -#include "PltTaskManager.h" -#include "PltThreadTask.h" -#include "PltUtilities.h" - -#include "PltMediaServer.h" -#include "PltMediaBrowser.h" -#include "PltMediaRenderer.h" -#include "PltMediaController.h" -#include "PltDidl.h" -#include "PltFileMediaServer.h" -#include "PltMediaCache.h" -#include "PltMediaItem.h" -#include "PltSyncMediaBrowser.h" - -#include "PltXbox360.h" -#include "PltMediaConnect.h" - -#include "PltDownloader.h" -#include "PltStreamPump.h" -#include "PltFrameBuffer.h" -#include "PltFrameServer.h" -#include "PltFrameStream.h" -#include "PltRingBufferStream.h" - -#endif /* _PLATINUM_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltAction.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltAction.h deleted file mode 100644 index f457f3d7c1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltAction.h +++ /dev/null @@ -1,321 +0,0 @@ -/***************************************************************** -| -| Platinum - Service Action -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Service Action - */ - -#ifndef _PLT_ACTION_H_ -#define _PLT_ACTION_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltArgument.h" -#include "PltDeviceData.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Service; - -/*---------------------------------------------------------------------- -| PLT_ActionDesc -+---------------------------------------------------------------------*/ -/** - The PLT_ActionDesc class provides information about a UPnP Service given action. - This description has a name, a set of arguments and is associated to a service. - */ -class PLT_ActionDesc -{ -public: - /** - Constructor - @param name the action name - @param service the UPnP service the action is associated with - */ - PLT_ActionDesc(const char* name, PLT_Service* service); - ~PLT_ActionDesc(); - - /** - Return an array of arguments - @return array of arguments - */ - NPT_Array<PLT_ArgumentDesc*>& GetArgumentDescs() { - return m_ArgumentDescs; - } - - /** - Return the action name. - @return action name. - */ - const NPT_String& GetName() const { return m_Name;} - - /** - Look for an argument given a name. - @param name argument name - @return PLT_ArgumentDesc pointer - */ - PLT_ArgumentDesc* GetArgumentDesc(const char* name); - - /** - Serialize action information to xml into an existing xml tree - @param node the xml Element to serialize action information - */ - NPT_Result GetSCPDXML(NPT_XmlElementNode* node); - - /** - Return the service the action is associated with - */ - PLT_Service* GetService(); - -protected: - //members - NPT_String m_Name; - PLT_Service* m_Service; - NPT_Array<PLT_ArgumentDesc*> m_ArgumentDescs; -}; - -/*---------------------------------------------------------------------- -| PLT_Action -+---------------------------------------------------------------------*/ -/** - The PLT_Action class provides a mechanism to call or verify the validity of a - specific UPNP service action. - Given a service, a UPnP Control Point would use this class to serialize a soap - request. On the other side, a UPnP Device would use this class to verify - a soap request and the validity of the action arguments. - */ -class PLT_Action -{ -public: - /** - Constructor - @param action_desc the action description - If you intend to send an action, you need to use the second constructor - and pass the root device of the device you wish to control. - */ - PLT_Action(PLT_ActionDesc& action_desc); - - /** - Constructor - @param action_desc the action description - @param root_device a reference to the root device of the service the action - is associated with. This insures that the device won't be deleted if it goes - away while we're waiting for a response for this action. This is important because - we only keep a reference to the PLT_ActionDesc which is own by the service operated - by the device (or embedded device). - */ - PLT_Action(PLT_ActionDesc& action_desc, PLT_DeviceDataReference& root_device); - ~PLT_Action(); - - /** - Return the action description - @return the action description - */ - PLT_ActionDesc& GetActionDesc() { return m_ActionDesc; } - - /** - Retrieve the string value of an argument given an argument name. - @param name the argument name - @param value the string value to retrieve - @return error if the argument is not found or if the type does not correspond. - */ - NPT_Result GetArgumentValue(const char* name, NPT_String& value); - - /** - Retrieve the value of an argument given an argument name. - @param name the argument name - @param value the unsigned int value to retrieve - @return error if the argument is not found or if the type does not correspond. - */ - NPT_Result GetArgumentValue(const char* name, NPT_UInt32& value); - - /** - Retrieve the value of an argument given an argument name. - @param name the argument name - @param value the int value to retrieve - @return error if the argument is not found or if the type does not correspond. - */ - NPT_Result GetArgumentValue(const char* name, NPT_Int32& value); - - /** - Retrieve the value of an argument given an argument name. - @param name the argument name - @param value the bool value to retrieve - @return error if the argument is not found or if the type does not correspond. - */ - NPT_Result GetArgumentValue(const char* name, bool& value); - - /** - Verify a value is valid for a given argument. - @param name the argument name - @param value the value to verify - */ - NPT_Result VerifyArgumentValue(const char* name, const char* value); - - /** - Verify that all required arguments are set. - @param input boolean indicating whether input or output parameters - should be verified - */ - NPT_Result VerifyArguments(bool input); - - /** - Set the output argument value from the associated current state variable value. - @param name the state variable name - */ - NPT_Result SetArgumentOutFromStateVariable(const char* name); - - /** - Set all the output argument values associated with state variables. - */ - NPT_Result SetArgumentsOutFromStateVariable(); - - /** - Set an argument value - @param name the argument name - @param value the argument value - */ - NPT_Result SetArgumentValue(const char* name, const char* value); - - /** - Set the error code and description in case of failure. - @param code the code for the error - @param description a short description - */ - NPT_Result SetError(unsigned int code, const char* description); - - /** - Return the error description and code for the failed action. - @param code optional pointer to receive the code - @return the error short description - */ - const char* GetError(unsigned int* code = NULL); - - /** - Return the error code for the failed action. - @return the error code. - */ - unsigned int GetErrorCode(); - - /** - Called by a control point when serializing an action. - @param stream the stream to serialize the action to - */ - NPT_Result FormatSoapRequest(NPT_OutputStream& stream); - - /** - Called by a device when serializing a response to an action. - @param stream the stream to serialize the action to - */ - NPT_Result FormatSoapResponse(NPT_OutputStream& stream); - - /** - Helper method for a device to serialize an action invocation error. - @param code optional pointer to receive the code - @param desc the error short description - @param stream the stream to serialize to - */ - static NPT_Result FormatSoapError(unsigned int code, - NPT_String desc, - NPT_OutputStream& stream); - -private: - // methods - NPT_Result SetArgumentOutFromStateVariable(PLT_ArgumentDesc* arg_desc); - PLT_Argument* GetArgument(const char* name); - -protected: - // members - PLT_ActionDesc& m_ActionDesc; - PLT_Arguments m_Arguments; - unsigned int m_ErrorCode; - NPT_String m_ErrorDescription; - - // keep reference of service root device to prevent it - // from being released during action lifetime - PLT_DeviceDataReference m_RootDevice; -}; - -typedef NPT_Reference<PLT_Action> PLT_ActionReference; - -/*---------------------------------------------------------------------- -| PLT_GetSCPDXMLIterator -+---------------------------------------------------------------------*/ -/** - The PLT_GetSCPDXMLIterator class provides a recursive way to serialize - an SCPD into an xml tree. - */ -template <class T> -class PLT_GetSCPDXMLIterator -{ -public: - PLT_GetSCPDXMLIterator<T>(NPT_XmlElementNode* node) : - m_Node(node) {} - - NPT_Result operator()(T* const & data) const { - return data->GetSCPDXML(m_Node); - } - -private: - NPT_XmlElementNode* m_Node; -}; - -/*---------------------------------------------------------------------- -| PLT_ActionDescNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ActionDescNameFinder class provides a mechanism to find a PLT_ActionDesc - given an action name. - */ -class PLT_ActionDescNameFinder -{ -public: - // methods - PLT_ActionDescNameFinder(const char* name) : - m_Name(name) {} - virtual ~PLT_ActionDescNameFinder() {} - - bool operator()(const PLT_ActionDesc* const & action_desc) const { - return action_desc->GetName().Compare(m_Name, true) ? false : true; - } - -private: - // members - NPT_String m_Name; -}; - -#endif /* _PLT_ACTION_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltArgument.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltArgument.h deleted file mode 100644 index 4730e28ca3..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltArgument.h +++ /dev/null @@ -1,168 +0,0 @@ -/***************************************************************** -| -| Platinum - Action Argument -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Service Action Argument - */ - -#ifndef _PLT_ARGUMENT_H_ -#define _PLT_ARGUMENT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_StateVariable; -class PLT_Argument; -class PLT_ActionDesc; -typedef NPT_Array<PLT_Argument*> PLT_Arguments; - -/*---------------------------------------------------------------------- -| PLT_ArgumentDesc -+---------------------------------------------------------------------*/ -/** - The PLT_ArgumentDesc class provides information about a given argument of a - UPnP Service given action. - It has a name, a position, a direction (in/out), a PLT_StateVariable state - variable association and whether it is the return value of the action or not. - */ -class PLT_ArgumentDesc -{ -public: - PLT_ArgumentDesc(const char* name, - NPT_Ordinal position, - const char* direction = "in", - PLT_StateVariable* variable = NULL, - bool has_ret = false); - - // accessor methods - NPT_Result GetSCPDXML(NPT_XmlElementNode* node); - const NPT_String& GetName() const { return m_Name; } - const NPT_String& GetDirection() const { return m_Direction; } - NPT_Ordinal GetPosition() { return m_Position; } - PLT_StateVariable* GetRelatedStateVariable() { return m_RelatedStateVariable; } - bool HasReturnValue() { return m_HasReturnValue; } - -protected: - NPT_String m_Name; - NPT_Ordinal m_Position; - NPT_String m_Direction; - PLT_StateVariable* m_RelatedStateVariable; - bool m_HasReturnValue; -}; - -/*---------------------------------------------------------------------- -| PLT_Argument -+---------------------------------------------------------------------*/ -/** - The PLT_Argument class provides a mechanism to set or verify the validity of a - specific UPNP service action argument. - Typically, only a PLT_Action uses this class. Since an argument can be - associated to a state variable, the argument is automatically updated when - the associated state variable is changed - */ -class PLT_Argument -{ -public: - PLT_Argument(PLT_ArgumentDesc& arg_desc); - - // class methods - static NPT_Result CreateArgument(PLT_ActionDesc& action_desc, - const char* arg_name, - const char* arg_value, - PLT_Argument*& arg); - - // accessor methods - PLT_ArgumentDesc& GetDesc() { return m_ArgDesc; } - NPT_Ordinal GetPosition() { return m_ArgDesc.GetPosition(); } - NPT_Result SetValue(const char* value); - const NPT_String& GetValue(); - -private: - NPT_Result ValidateValue(const char* value); - -protected: - PLT_ArgumentDesc& m_ArgDesc; - NPT_String m_Value; -}; - -/*---------------------------------------------------------------------- -| PLT_ArgumentNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ArgumentNameFinder class provides a mechanism to find a PLT_Argument given - an argument name. - */ -class PLT_ArgumentNameFinder -{ -public: - // methods - PLT_ArgumentNameFinder(const char* name) : m_Name(name) {} - - bool operator()(PLT_Argument* const & argument) const { - return argument->GetDesc().GetName().Compare(m_Name, true) ? false : true; - } - -private: - // members - NPT_String m_Name; -}; - -/*---------------------------------------------------------------------- -| PLT_ArgumentDescNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ArgumentDescNameFinder class provides a mechanism to find a PLT_ArgumentDesc given - an argument name. - */ -class PLT_ArgumentDescNameFinder -{ -public: - // methods - PLT_ArgumentDescNameFinder(const char* name) : m_Name(name) {} - - bool operator()(PLT_ArgumentDesc* const & arg_desc) const { - return arg_desc->GetName().Compare(m_Name, true) ? false : true; - } - -private: - // members - NPT_String m_Name; -}; - -#endif /* _PLT_ARGUMENT_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltConstants.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltConstants.h deleted file mode 100644 index d674ea80c6..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltConstants.h +++ /dev/null @@ -1,87 +0,0 @@ -/***************************************************************** -| -| Platinum - UPnP Constants -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Constants - */ - -#ifndef _PLT_UPNP_CONSTANTS_H_ -#define _PLT_UPNP_CONSTANTS_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_Constants -+---------------------------------------------------------------------*/ -/** - The PLT_Constants class provides a way to globally set or get certain - UPnP constants. - */ -class PLT_Constants -{ -public: - // class methods - static PLT_Constants& GetInstance(); - - PLT_Constants(); - ~PLT_Constants() {}; - - void SetDefaultDeviceLease(NPT_TimeInterval lease) { m_DefaultDeviceLease = new NPT_TimeInterval(lease); } - NPT_Reference<NPT_TimeInterval> GetDefaultDeviceLease() { return m_DefaultDeviceLease; } - - void SetDefaultSubscribeLease(NPT_TimeInterval lease) { m_DefaultSubscribeLease = new NPT_TimeInterval(lease); } - NPT_Reference<NPT_TimeInterval> GetDefaultSubscribeLease() { return m_DefaultSubscribeLease; } - - void SetDefaultUserAgent(const char* agent) { m_DefaultUserAgent = new NPT_String(agent); } - NPT_Reference<NPT_String> GetDefaultUserAgent() { return m_DefaultUserAgent; } - - void SetSearchMulticastTimeToLive(NPT_UInt32 ttl) { m_SearchMulticastTimeToLive = ttl; } - NPT_UInt32 GetSearchMulticastTimeToLive() { return m_SearchMulticastTimeToLive; } - - void SetAnnounceMulticastTimeToLive(NPT_UInt32 ttl) { m_AnnounceMulticastTimeToLive = ttl; } - NPT_UInt32 GetAnnounceMulticastTimeToLive() { return m_AnnounceMulticastTimeToLive; } - -private: - // members - NPT_Reference<NPT_TimeInterval> m_DefaultDeviceLease; - NPT_Reference<NPT_TimeInterval> m_DefaultSubscribeLease; - NPT_Reference<NPT_String> m_DefaultUserAgent; - NPT_UInt32 m_SearchMulticastTimeToLive; - NPT_UInt32 m_AnnounceMulticastTimeToLive; -}; - -#endif /* _PLT_UPNP_CONSTANTS_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltCtrlPoint.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltCtrlPoint.h deleted file mode 100644 index 65baa7b10c..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltCtrlPoint.h +++ /dev/null @@ -1,254 +0,0 @@ -/***************************************************************** -| -| Platinum - Control Point -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP ControlPoint - */ - -#ifndef _PLT_CONTROL_POINT_H_ -#define _PLT_CONTROL_POINT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltService.h" -#include "PltSsdp.h" -#include "PltDeviceData.h" -#include "PltHttpServer.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_CtrlPointHouseKeepingTask; -class PLT_SsdpSearchTask; -class PLT_SsdpListenTask; -class PLT_CtrlPointGetSCPDsTask; -class PLT_CtrlPointGetSCPDRequest; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointListener class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointListener class is an interface used to receive notifications when - devices are found or removed from the network, actions responses and events - are being received. - */ -class PLT_CtrlPointListener -{ -public: - virtual ~PLT_CtrlPointListener() {} - - virtual NPT_Result OnDeviceAdded(PLT_DeviceDataReference& device) = 0; - virtual NPT_Result OnDeviceRemoved(PLT_DeviceDataReference& device) = 0; - virtual NPT_Result OnActionResponse(NPT_Result res, PLT_ActionReference& action, void* userdata) = 0; - virtual NPT_Result OnEventNotify(PLT_Service* service, NPT_List<PLT_StateVariable*>* vars) = 0; -}; - -typedef NPT_List<PLT_CtrlPointListener*> PLT_CtrlPointListenerList; - -/*---------------------------------------------------------------------- -| PLT_CtrlPoint class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPoint class implements the base functionality of a UPnP ControlPoint. - It searches and inpects devices, invoke actions on services and subscribes to - events. - */ -class PLT_CtrlPoint : public PLT_SsdpPacketListener, - public PLT_SsdpSearchResponseListener, - public NPT_HttpRequestHandler -{ -public: - PLT_CtrlPoint(const char* search_criteria = "upnp:rootdevice"); // pass NULL to prevent repeated automatic search - virtual ~PLT_CtrlPoint(); - - /** - Returns the port used by the internal HTTP server for all incoming event notifications. - @return port - */ - virtual NPT_Result GetPort(NPT_UInt16& port); - - // delegation - virtual NPT_Result AddListener(PLT_CtrlPointListener* listener); - virtual NPT_Result RemoveListener(PLT_CtrlPointListener* listener); - - // discovery - virtual void IgnoreUUID(const char* uuid); - virtual NPT_Result Search(const NPT_HttpUrl& url = NPT_HttpUrl("239.255.255.250", 1900, "*"), - const char* target = "upnp:rootdevice", - NPT_Cardinal mx = 5, - NPT_TimeInterval frequency = NPT_TimeInterval(50.), // pass NPT_TimeInterval(0.) for one time only - NPT_TimeInterval initial_delay = NPT_TimeInterval(0.)); - virtual NPT_Result Discover(const NPT_HttpUrl& url = NPT_HttpUrl("239.255.255.250", 1900, "*"), - const char* target = "ssdp:all", - NPT_Cardinal mx = 5, - NPT_TimeInterval frequency = NPT_TimeInterval(50.), // pass NPT_TimeInterval(0.) for one time only - NPT_TimeInterval initial_delay = NPT_TimeInterval(0.)); - virtual NPT_Result InspectDevice(const NPT_HttpUrl& location, - const char* uuid, - NPT_TimeInterval leasetime = *PLT_Constants::GetInstance().GetDefaultDeviceLease()); - - // actions - virtual NPT_Result FindActionDesc(PLT_DeviceDataReference& device, - const char* service_type, - const char* action_name, - PLT_ActionDesc*& action_desc); - virtual NPT_Result CreateAction(PLT_DeviceDataReference& device, - const char* service_type, - const char* action_name, - PLT_ActionReference& action); - virtual NPT_Result InvokeAction(PLT_ActionReference& action, - void* userdata = NULL); - - // events - virtual NPT_Result Subscribe(PLT_Service* service, - bool cancel = false, - void* userdata = NULL); - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // PLT_SsdpSearchResponseListener methods - virtual NPT_Result ProcessSsdpSearchResponse(NPT_Result res, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - // PLT_SsdpPacketListener method - virtual NPT_Result OnSsdpPacket(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context); - -protected: - - // State Variable Handling - virtual NPT_Result DecomposeLastChangeVar(NPT_List<PLT_StateVariable*>& vars); - - // methods - virtual NPT_Result Start(PLT_SsdpListenTask* task); - virtual NPT_Result Stop(PLT_SsdpListenTask* task); - - // SSDP & HTTP Notifications handling - virtual NPT_Result ProcessSsdpNotify(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context); - virtual NPT_Result ProcessSsdpMessage(const NPT_HttpMessage& message, - const NPT_HttpRequestContext& context, - NPT_String& uuid); - virtual NPT_Result ProcessGetDescriptionResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response, - NPT_TimeInterval leasetime, - NPT_String uuid); - virtual NPT_Result ProcessGetSCPDResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response, - PLT_DeviceDataReference& device); - virtual NPT_Result ProcessActionResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response, - PLT_ActionReference& action, - void* userdata); - virtual NPT_Result ProcessSubscribeResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response, - PLT_Service* service, - void* userdata); - virtual NPT_Result ProcessHttpNotify(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // Device management - virtual NPT_Result AddDevice(PLT_DeviceDataReference& data); - virtual NPT_Result RemoveDevice(PLT_DeviceDataReference& data); - -private: - // methods - PLT_ThreadTask* RenewSubscriber(PLT_EventSubscriberReference subscriber); - - NPT_Result AddPendingEventNotification(PLT_EventNotification *notification); - NPT_Result ProcessPendingEventNotifications(); - NPT_Result ProcessEventNotification(PLT_EventSubscriberReference subscriber, - PLT_EventNotification* notification, - NPT_List<PLT_StateVariable*> &vars); - - NPT_Result DoHouseKeeping(); - NPT_Result FetchDeviceSCPDs(PLT_CtrlPointGetSCPDsTask* task, - PLT_DeviceDataReference& device, - NPT_Cardinal level); - - // Device management - NPT_Result FindDevice(const char* uuid, PLT_DeviceDataReference& device, bool return_root = false); - NPT_Result NotifyDeviceReady(PLT_DeviceDataReference& data); - NPT_Result NotifyDeviceRemoved(PLT_DeviceDataReference& data); - NPT_Result CleanupDevice(PLT_DeviceDataReference& data); - - NPT_Result ParseFault(PLT_ActionReference& action, NPT_XmlElementNode* fault); - PLT_SsdpSearchTask* CreateSearchTask(const NPT_HttpUrl& url, - const char* target, - NPT_Cardinal mx, - NPT_TimeInterval frequency, - const NPT_IpAddress& address); - -private: - friend class NPT_Reference<PLT_CtrlPoint>; - friend class PLT_UPnP; - friend class PLT_UPnP_CtrlPointStartIterator; - friend class PLT_UPnP_CtrlPointStopIterator; - friend class PLT_EventSubscriberRemoverIterator; - friend class PLT_CtrlPointGetDescriptionTask; - friend class PLT_CtrlPointGetSCPDsTask; - friend class PLT_CtrlPointInvokeActionTask; - friend class PLT_CtrlPointHouseKeepingTask; - friend class PLT_CtrlPointSubscribeEventTask; - - NPT_List<NPT_String> m_UUIDsToIgnore; - PLT_CtrlPointListenerList m_ListenerList; - PLT_HttpServerReference m_EventHttpServer; - PLT_TaskManagerReference m_TaskManager; - NPT_Mutex m_Lock; - NPT_List<PLT_DeviceDataReference> m_RootDevices; - NPT_List<PLT_EventSubscriberReference> m_Subscribers; - NPT_String m_SearchCriteria; - bool m_Started; - NPT_List<PLT_EventNotification *> m_PendingNotifications; - NPT_List<NPT_String> m_PendingInspections; -}; - -typedef NPT_Reference<PLT_CtrlPoint> PLT_CtrlPointReference; - -#endif /* _PLT_CONTROL_POINT_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltCtrlPointTask.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltCtrlPointTask.h deleted file mode 100644 index 48e2044836..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltCtrlPointTask.h +++ /dev/null @@ -1,225 +0,0 @@ -/***************************************************************** -| -| Platinum - Control Point Tasks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP ControlPoint Tasks - */ - -#ifndef _PLT_CONTROL_POINT_TASK_H_ -#define _PLT_CONTROL_POINT_TASK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpClientTask.h" -#include "PltDatagramStream.h" -#include "PltDeviceData.h" -#include "PltCtrlPoint.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Action; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointGetDescriptionTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointGetDescriptionTask class fetches the description xml document - from a UPnP device - */ -class PLT_CtrlPointGetDescriptionTask : public PLT_HttpClientSocketTask -{ -public: - PLT_CtrlPointGetDescriptionTask(const NPT_HttpUrl& url, - PLT_CtrlPoint* ctrl_point, - NPT_TimeInterval leasetime, - NPT_String uuid); - virtual ~PLT_CtrlPointGetDescriptionTask(); - -protected: - // PLT_HttpClientSocketTask methods - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - NPT_TimeInterval m_LeaseTime; - NPT_String m_UUID; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointGetSCPDRequest class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointGetSCPDRequest class is used by a PLT_CtrlPointGetSCPDsTask task - to fetch a specific SCPD xml document for a given service of a given device. - */ -class PLT_CtrlPointGetSCPDRequest : public NPT_HttpRequest -{ -public: - PLT_CtrlPointGetSCPDRequest(PLT_DeviceDataReference& device, - const char* url, - const char* method = "GET", - const char* protocol = NPT_HTTP_PROTOCOL_1_1) : // 1.1 for pipelining - NPT_HttpRequest(url, method, protocol), m_Device(device) {} - virtual ~PLT_CtrlPointGetSCPDRequest() {} - - // members - PLT_DeviceDataReference m_Device; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointGetSCPDsTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointGetSCPDsTask class fetches the SCPD xml document of one or more - services for a given device. - */ -class PLT_CtrlPointGetSCPDsTask : public PLT_HttpClientSocketTask -{ -public: - PLT_CtrlPointGetSCPDsTask(PLT_CtrlPoint* ctrl_point, PLT_DeviceDataReference& root_device); - virtual ~PLT_CtrlPointGetSCPDsTask() {} - - NPT_Result AddSCPDRequest(PLT_CtrlPointGetSCPDRequest* request) { - return PLT_HttpClientSocketTask::AddRequest((NPT_HttpRequest*)request); - } - - // override to prevent calling this directly - NPT_Result AddRequest(NPT_HttpRequest*) { - // only queuing PLT_CtrlPointGetSCPDRequest allowed - return NPT_ERROR_NOT_SUPPORTED; - } - -protected: - // PLT_HttpClientSocketTask methods - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - PLT_DeviceDataReference m_RootDevice; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointInvokeActionTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointInvokeActionTask class is used by a PLT_CtrlPoint to invoke - a specific action of a given service for a given device. - */ -class PLT_CtrlPointInvokeActionTask : public PLT_HttpClientSocketTask -{ -public: - PLT_CtrlPointInvokeActionTask(NPT_HttpRequest* request, - PLT_CtrlPoint* ctrl_point, - PLT_ActionReference& action, - void* userdata); - virtual ~PLT_CtrlPointInvokeActionTask(); - -protected: - // PLT_HttpClientSocketTask methods - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - PLT_ActionReference m_Action; - void* m_Userdata; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointHouseKeepingTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointHouseKeepingTask class is used by a PLT_CtrlPoint to keep - track of expired devices and autmatically renew event subscribers. - */ -class PLT_CtrlPointHouseKeepingTask : public PLT_ThreadTask -{ -public: - PLT_CtrlPointHouseKeepingTask(PLT_CtrlPoint* ctrl_point, - NPT_TimeInterval timer = NPT_TimeInterval(5.)); - -protected: - ~PLT_CtrlPointHouseKeepingTask() {} - - // PLT_ThreadTask methods - virtual void DoRun(); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - NPT_TimeInterval m_Timer; -}; - -/*---------------------------------------------------------------------- -| PLT_CtrlPointSubscribeEventTask class -+---------------------------------------------------------------------*/ -/** - The PLT_CtrlPointSubscribeEventTask class is used to subscribe, renew or cancel - a subscription for a given service of a given device. - */ -class PLT_CtrlPointSubscribeEventTask : public PLT_HttpClientSocketTask -{ -public: - PLT_CtrlPointSubscribeEventTask(NPT_HttpRequest* request, - PLT_CtrlPoint* ctrl_point, - PLT_DeviceDataReference& device, - PLT_Service* service, - void* userdata = NULL); - virtual ~PLT_CtrlPointSubscribeEventTask(); - -protected: - // PLT_HttpClientSocketTask methods - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - PLT_CtrlPoint* m_CtrlPoint; - PLT_Service* m_Service; - PLT_DeviceDataReference m_Device; // force to keep a reference to device owning m_Service - void* m_Userdata; -}; - -#endif /* _PLT_CONTROL_POINT_TASK_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDatagramStream.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDatagramStream.h deleted file mode 100644 index 0e132b97fe..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDatagramStream.h +++ /dev/null @@ -1,117 +0,0 @@ -/***************************************************************** -| -| Platinum - Datagram Stream -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - Datagram Input/Output Neptune streams - */ - -#ifndef _PLT_DATAGRAM_H_ -#define _PLT_DATAGRAM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_InputDatagramStream -+---------------------------------------------------------------------*/ -/** - The PLT_InputDatagramStream class is a simple buffered input stream - used when reading SSDP packets on a UDP socket. It allows to use Neptune - HTTP parsing as if reading on a TCP socket. - */ -class PLT_InputDatagramStream : public NPT_InputStream -{ -public: - // methods - PLT_InputDatagramStream(NPT_UdpSocket* socket, - NPT_Size buffer_size = 2000); - virtual ~PLT_InputDatagramStream(); - - NPT_Result GetInfo(NPT_SocketInfo& info); - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = 0); - - NPT_Result Seek(NPT_Position offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Skip(NPT_Size offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Tell(NPT_Position& offset){ NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result GetSize(NPT_LargeSize& size) { NPT_COMPILER_UNUSED(size); return NPT_FAILURE; } - NPT_Result GetAvailable(NPT_LargeSize& available) { NPT_COMPILER_UNUSED(available); return NPT_FAILURE; } - -protected: - NPT_UdpSocket* m_Socket; - NPT_SocketInfo m_Info; - NPT_DataBuffer m_Buffer; - NPT_Position m_BufferOffset; -}; - -typedef NPT_Reference<PLT_InputDatagramStream> PLT_InputDatagramStreamReference; - -/*---------------------------------------------------------------------- -| PLT_OutputDatagramStream -+---------------------------------------------------------------------*/ -/** - The PLT_OutputDatagramStream class is a simple buffered output stream - used when writing SSDP packets on a UDP socket. It allows to use Neptune - HTTP client as if writing on a TCP socket. - */ -class PLT_OutputDatagramStream : public NPT_OutputStream -{ -public: - // methods - PLT_OutputDatagramStream(NPT_UdpSocket* socket, - NPT_Size size = 4096, - const NPT_SocketAddress* address = NULL); - virtual ~PLT_OutputDatagramStream(); - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, NPT_Size bytes_to_write, NPT_Size* bytes_written = NULL); - NPT_Result Flush(); - - NPT_Result Seek(NPT_Position offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Tell(NPT_Position& offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - -protected: - NPT_UdpSocket* m_Socket; - NPT_DataBuffer m_Buffer; - NPT_SocketAddress* m_Address; -}; - -typedef NPT_Reference<PLT_OutputDatagramStream> PLT_OutputDatagramStreamReference; - -#endif /* _PLT_DATAGRAM_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDeviceData.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDeviceData.h deleted file mode 100644 index 364ede75c7..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDeviceData.h +++ /dev/null @@ -1,260 +0,0 @@ -/***************************************************************** -| -| Platinum - Device Data -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Device information - */ - -#ifndef _PLT_DEVICE_DATA_H_ -#define _PLT_DEVICE_DATA_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltConstants.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Service; -class PLT_DeviceData; - -typedef NPT_Reference<PLT_DeviceData> PLT_DeviceDataReference; -typedef NPT_List<PLT_DeviceDataReference> PLT_DeviceDataReferenceList; - -/*---------------------------------------------------------------------- -| PLT_DeviceIcon class -+---------------------------------------------------------------------*/ -/** - The PLT_DeviceIcon class represents a given instance of a UPnP device icon. - */ -class PLT_DeviceIcon -{ -public: - PLT_DeviceIcon(const char* mimetype = "", - NPT_Int32 width = 0, - NPT_Int32 height = 0, - NPT_Int32 depth = 0, - const char* urlpath = "") : - m_MimeType(mimetype), - m_Width(width), - m_Height(height), - m_Depth(depth), - m_UrlPath(urlpath) {} - virtual ~PLT_DeviceIcon() {} - - NPT_String m_MimeType; - NPT_Int32 m_Width; - NPT_Int32 m_Height; - NPT_Int32 m_Depth; - NPT_String m_UrlPath; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceData class -+---------------------------------------------------------------------*/ -/** - The PLT_DeviceData class holds information about a device being advertised or - found by a control point. It maintains a list of services and - embedded devices if any. - */ -class PLT_DeviceData -{ -public: - PLT_DeviceData( - NPT_HttpUrl description_url = NPT_HttpUrl(NULL, 0, "/description.xml"), - const char* uuid = "", - NPT_TimeInterval lease_time = *PLT_Constants::GetInstance().GetDefaultDeviceLease(), - const char* device_type = "", - const char* friendly_name = ""); - - /* methods */ - virtual NPT_Result GetDescription(NPT_String& desc); - virtual NPT_String GetDescriptionUrl(const char* ip_address = NULL); - virtual NPT_HttpUrl GetURLBase(); - virtual NPT_HttpUrl NormalizeURL(const NPT_String& url); - virtual NPT_Result GetDescription(NPT_XmlElementNode* parent, NPT_XmlElementNode** device = NULL); - virtual NPT_String GetIconUrl(const char* mimetype = NULL, NPT_Int32 maxsize = 0, NPT_Int32 maxdepth = 0); - - bool IsRoot() { return m_ParentUUID.IsEmpty(); } - const NPT_TimeInterval& GetLeaseTime() const { return m_LeaseTime; } - const NPT_String& GetUUID() const { return m_UUID; } - const NPT_String& GetFriendlyName() const { return m_FriendlyName; } - const NPT_String& GetType() const { return m_DeviceType; } - const NPT_String& GetModelDescription() const { return m_ModelDescription; } - const NPT_String& GetParentUUID() const { return m_ParentUUID; } - const NPT_IpAddress& GetLocalIP() const { return m_LocalIfaceIp; } - - const NPT_Array<PLT_Service*>& GetServices() const { return m_Services; } - const NPT_Array<PLT_DeviceDataReference>& GetEmbeddedDevices() const { return m_EmbeddedDevices; } - - NPT_Result FindEmbeddedDevice(const char* uuid, PLT_DeviceDataReference& device); - NPT_Result FindEmbeddedDeviceByType(const char* type, PLT_DeviceDataReference& device); - NPT_Result FindServiceById(const char* id, PLT_Service*& service); - NPT_Result FindServiceByType(const char* type, PLT_Service*& service); - NPT_Result FindServiceByName(const char* name, PLT_Service*& service); - NPT_Result FindServiceBySCPDURL(const char* url, PLT_Service*& service, bool recursive = false); - NPT_Result FindServiceByControlURL(const char* url, PLT_Service*& service, bool recursive = false); - NPT_Result FindServiceByEventSubURL(const char* url, PLT_Service*& service, bool recursive = false); - - /* called by PLT_Device subclasses */ - NPT_Result AddEmbeddedDevice(PLT_DeviceDataReference& device); - NPT_Result RemoveEmbeddedDevice(PLT_DeviceDataReference& device); - NPT_Result AddService(PLT_Service* service); - NPT_Result RemoveService(PLT_Service* service); - - /* BOOTID UPnP 1/1 */ - void SetBootId(NPT_UInt32 bootId); - void SetNextBootId(NPT_UInt32 nextBootId); - NPT_UInt32 GenerateNextBootId(); - - operator const char* (); - -protected: - virtual ~PLT_DeviceData(); - - virtual void Cleanup(); - virtual NPT_Result OnAddExtraInfo(NPT_XmlElementNode* /*device_node*/) { return NPT_SUCCESS; } - - -private: - /* called by PLT_CtrlPoint when an existing device location is updated */ - NPT_Result SetDescriptionUrl(NPT_HttpUrl& url); - NPT_Result SetLeaseTime(NPT_TimeInterval lease_time, NPT_TimeStamp lease_time_last_update = 0.); - NPT_Result SetURLBase(NPT_HttpUrl& url_base); - NPT_TimeStamp GetLeaseTimeLastUpdate(); - void UpdateConfigId(); - - /* class methods */ - static NPT_Result SetDescription(PLT_DeviceDataReference& root_device, - NPT_TimeInterval leasetime, - NPT_HttpUrl description_url, - const char* description, - const NPT_HttpRequestContext& context); - static NPT_Result SetDescriptionDevice(PLT_DeviceDataReference& device, - NPT_XmlElementNode* device_node, - const NPT_HttpRequestContext& context); - -public: - NPT_String m_Manufacturer; - NPT_String m_ManufacturerURL; - NPT_String m_ModelDescription; - NPT_String m_ModelName; - NPT_String m_ModelNumber; - NPT_String m_ModelURL; - NPT_String m_SerialNumber; - NPT_String m_UPC; - NPT_String m_PresentationURL; - NPT_String m_DlnaDoc; - NPT_String m_DlnaCap; - NPT_String m_AggregationFlags; - -protected: - friend class NPT_Reference<PLT_DeviceData>; - friend class PLT_CtrlPoint; - friend class PLT_DeviceReadyIterator; - friend class PLT_DeviceHost; - - //members - NPT_String m_ParentUUID; - NPT_String m_UUID; - NPT_HttpUrl m_URLDescription; - NPT_HttpUrl m_URLBase; - NPT_String m_DeviceType; - NPT_String m_FriendlyName; - NPT_TimeInterval m_LeaseTime; - NPT_TimeStamp m_LeaseTimeLastUpdate; - NPT_Array<PLT_Service*> m_Services; - NPT_Array<PLT_DeviceDataReference> m_EmbeddedDevices; - NPT_Array<PLT_DeviceIcon> m_Icons; - - /* IP address of interface used when retrieving device description. - We need the info for the control point subscription callback */ - NPT_IpAddress m_LocalIfaceIp; - NPT_String m_Representation; - -private: - NPT_UInt32 m_BootId; - NPT_UInt32 m_NextBootId; - NPT_UInt32 m_ConfigId; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceDataFinder -+---------------------------------------------------------------------*/ -/** - The PLT_DeviceDataFinder class returns a PLT_DeviceData instance given - a device UUID. - */ -class PLT_DeviceDataFinder -{ -public: - // methods - PLT_DeviceDataFinder(const char* uuid) : m_UUID(uuid) {} - virtual ~PLT_DeviceDataFinder() {} - - bool operator()(const PLT_DeviceDataReference& data) const { - return data->GetUUID().Compare(m_UUID, true) ? false : true; - } - -private: - // members - NPT_String m_UUID; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceDataFinderByType -+---------------------------------------------------------------------*/ -/** - The PLT_DeviceDataFinderByType class returns a PLT_DeviceData instance - given a device type. - */ -class PLT_DeviceDataFinderByType -{ -public: - // methods - PLT_DeviceDataFinderByType(const char* type) : m_Type(type) {} - virtual ~PLT_DeviceDataFinderByType() {} - - bool operator()(const PLT_DeviceDataReference& data) const { - return data->GetType().Compare(m_Type, true) ? false : true; - } - -private: - // members - NPT_String m_Type; -}; - -#endif /* _PLT_DEVICE_DATA_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDeviceHost.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDeviceHost.h deleted file mode 100644 index 9c31484d92..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDeviceHost.h +++ /dev/null @@ -1,341 +0,0 @@ -/***************************************************************** -| -| Platinum - Device Host -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Device - */ - -#ifndef _PLT_DEVICE_HOST_H_ -#define _PLT_DEVICE_HOST_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltDeviceData.h" -#include "PltSsdp.h" -#include "PltTaskManager.h" -#include "PltAction.h" -#include "PltHttp.h" -#include "PltHttpServer.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_SsdpDeviceAnnounceTask; -class PLT_SsdpListenTask; - -/*---------------------------------------------------------------------- -| PLT_DeviceHost class -+---------------------------------------------------------------------*/ -/** - UPnP Device Host. - The PLT_DeviceHost class is a base class for implementing a UPnP Device. It handles - network announcements and responses to searches from ControlPoints. ControlPoint - action invocations are also received and delegated to derived classes. A - PLT_DeviceHost also takes care of eventing when services state variables change. - */ -class PLT_DeviceHost : public PLT_DeviceData, - public PLT_SsdpPacketListener, - public NPT_HttpRequestHandler -{ -public: - /** - Creates a new instance of UPnP Device Host. - @param description_path Relative path for description url - @param uuid UPnP device unique id - @param device_type UPnP device type - @param friendly_name Name advertised for UPnP device - @param show_ip Flag to indicate if device IP should be appended to friendly name - @param port local port for the device host internal HTTP server, 0 for randomly - selected. - @param port_rebind Flag to indicate if device host should automatically try to look - for another port if failing to choose the one passed. - */ - PLT_DeviceHost(const char* description_path = "/", - const char* uuid = "", - const char* device_type = "", - const char* friendly_name = "", - bool show_ip = false, - NPT_UInt16 port = 0, - bool port_rebind = false); - virtual ~PLT_DeviceHost(); - - virtual void SetExtraBroadcast(bool broadcast) { m_ExtraBroascast = broadcast; } - - /** - When a UPnP device comes up, the specifications require that a SSDP bye-bye - sequence is sent to force the removal of the device in case it wasn't sent - properly during the last shutdown. - @param bye_bye_first Boolean to indicate that SSDP bye-bye sequence should - be sent first or not. - */ - virtual void SetByeByeFirst(bool bye_bye_first) { m_ByeByeFirst = bye_bye_first; } - - /** - Returns the port used by the internal HTTP server for all incoming requests. - @return port - */ - virtual NPT_UInt16 GetPort() { return m_Port; }; - - /** - Sets the lease time. - @param lease_time Lease Time - */ - NPT_Result SetLeaseTime(NPT_TimeInterval lease_time) { return PLT_DeviceData::SetLeaseTime(lease_time); } - -protected: - /** - NPT_HttpRequestHandler method for setting up the response of an incoming - HTTP request. - @param request the request received - @param context the context of the request - @param response the response to set up - */ - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - Static method similar to Announce. - @param device the device to announce - @param request the SSDP pre formatted request - @param socket the network socket to use to send the request - @param type PLT_SsdpAnnounceType enum if the announce is a SSDP bye-bye, update or alive. - */ - static NPT_Result Announce(PLT_DeviceData* device, - NPT_HttpRequest& request, - NPT_UdpSocket& socket, - PLT_SsdpAnnounceType type); - /** - Called during SSDP announce. The HTTP request is already configured with - the right method and host. - @param request the SSDP pre formatted request - @param socket the network socket to use to send the request - @param type PLT_SsdpAnnounceType enum if the announce is a SSDP bye-bye, update or alive. - */ - NPT_Result Announce(NPT_HttpRequest& request, - NPT_UdpSocket& socket, - PLT_SsdpAnnounceType type) { - return Announce(this, request, socket, type); - } - - /** - PLT_SsdpPacketListener method called when a M-SEARCH SSDP packet is received. - @param request SSDP packet - @param context the context of the request - */ - virtual NPT_Result OnSsdpPacket(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context); - - /** - Static method similar to SendSsdpSearchResponse. - @param device the device to announce - @param response the SSDP pre formatted response - @param socket the network socket to use to send the request - @param st the original request search target - @param addr the remote address to send the response back to in case the socket - is not already connected. - */ - static NPT_Result SendSsdpSearchResponse(PLT_DeviceData* device, - NPT_HttpResponse& response, - NPT_UdpSocket& socket, - const char* st, - const NPT_SocketAddress* addr = NULL); - /** - Called by PLT_SsdpDeviceSearchResponseTask when responding to a M-SEARCH - SSDP request. - @param response the SSDP pre formatted response - @param socket the network socket to use to send the request - @param st the original request search target - @param addr the remote address to send the response back to in case the socket - is not already connected. - */ - virtual NPT_Result SendSsdpSearchResponse(NPT_HttpResponse& response, - NPT_UdpSocket& socket, - const char* st, - const NPT_SocketAddress* addr = NULL) { - return SendSsdpSearchResponse(this, response, socket, st, addr); - } - -public: - /** - Add UPnP icon information to serve from file system. - @param icon the icon information including url path - @param fileroot the file system root path - @param urlroot the url root path of the icon url to match to fileroot - Note: As an exemple, if the icon url path is "/images/icon1.jpg", the fileroot - is "/Users/joe/www" and the urlroot is "/", when a request is made for - "/images/icon1.jpg", the file is expected to be found at - "/Users/joe/www/images/icon1.jpg". If the urlroot were "/images", the file - would be expected to be found at "/Users/joe/www/icon1.jpg". - */ - virtual NPT_Result AddIcon(const PLT_DeviceIcon& icon, - const char* fileroot, - const char* urlroot = "/"); - - /** - Add UPnP icon information to serve using static image. - @param icon the icon information including url path - @param data the image data - @param size the image data size - @param copy boolean to indicate the data should be copied internally - */ - virtual NPT_Result AddIcon(const PLT_DeviceIcon& icon, - const void* data, - NPT_Size size, - bool copy = true); - -protected: - /** - Required method for setting up UPnP services of device host - (and any embedded). Called when device starts. - */ - virtual NPT_Result SetupServices() = 0; - - /** - Default implementation for registering device icon resources. Override to - use different ones. Called when device starts. - */ - virtual NPT_Result SetupIcons(); - - /** - Default implementation for setting up device host. This calls SetupServices - and SetupIcons when device starts. - */ - virtual NPT_Result SetupDevice(); - - /** - Called by PLT_TaskManager when the device is started. - @param task the SSDP listening task to attach to for receiving - SSDP M-SEARCH messages. - */ - virtual NPT_Result Start(PLT_SsdpListenTask* task); - - /** - Called by PLT_TaskManager when the device is stoped. - @param task the SSDP listening task to detach from to stop receiving - SSDP M-SEARCH messages. - */ - virtual NPT_Result Stop(PLT_SsdpListenTask* task); - - /** - This mehod is called when an action performed by a control point has been - received and needs to be answered. - @param action the action information to answer - @param context the context information including the HTTP request and - local and remote socket information (IP & port). - */ - virtual NPT_Result OnAction(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - - /** - This method is called when a control point is requesting the device - description. - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessGetDescription(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - This method is called when a control point is requesting a service SCPD. - @param service the service - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessGetSCPD(PLT_Service* service, - NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - This method is called when a "GET" request for a resource other than the device - description, SCPD, or icons has been received. - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessHttpGetRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - This method is called when a "POST" request has been received. This is usually - an UPnP service action invocation. This will deserialize the request and call - the OnAction method. - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessHttpPostRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - /** - This method is called when a request from a subscriber has been received. This is - for any new subscritions, existing subscrition renewal or cancellation. - @param request the HTTP request - @param context the context information including local and remote socket information. - @param response the response to setup. - */ - virtual NPT_Result ProcessHttpSubscriberRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - -protected: - friend class PLT_UPnP; - friend class PLT_UPnP_DeviceStartIterator; - friend class PLT_UPnP_DeviceStopIterator; - friend class PLT_Service; - friend class NPT_Reference<PLT_DeviceHost>; - friend class PLT_SsdpDeviceSearchResponseInterfaceIterator; - friend class PLT_SsdpDeviceSearchResponseTask; - friend class PLT_SsdpAnnounceInterfaceIterator; - - PLT_TaskManagerReference m_TaskManager; - PLT_HttpServerReference m_HttpServer; - bool m_ExtraBroascast; - NPT_UInt16 m_Port; - bool m_PortRebind; - bool m_ByeByeFirst; - bool m_Started; -}; - -typedef NPT_Reference<PLT_DeviceHost> PLT_DeviceHostReference; - -#endif /* _PLT_DEVICE_HOST_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDidl.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDidl.h deleted file mode 100644 index f6eaf1486f..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDidl.h +++ /dev/null @@ -1,158 +0,0 @@ -/***************************************************************** -| -| Platinum - DIDL handling -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Didl - */ - -#ifndef _PLT_DIDL_H_ -#define _PLT_DIDL_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltMediaItem.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define PLT_FILTER_MASK_ALL 0xFFFFFFFF - -#define PLT_FILTER_MASK_CREATOR 0x00000001 -#define PLT_FILTER_MASK_ARTIST 0x00000002 -#define PLT_FILTER_MASK_ALBUM 0x00000004 -#define PLT_FILTER_MASK_GENRE 0x00000008 -#define PLT_FILTER_MASK_ALBUMARTURI 0x00000010 -#define PLT_FILTER_MASK_DESCRIPTION 0x00000020 -#define PLT_FILTER_MASK_SEARCHABLE 0x00000040 -#define PLT_FILTER_MASK_CHILDCOUNT 0x00000080 -#define PLT_FILTER_MASK_ORIGINALTRACK 0x00000100 -#define PLT_FILTER_MASK_ACTOR 0x00000200 -#define PLT_FILTER_MASK_AUTHOR 0x00000400 -#define PLT_FILTER_MASK_DATE 0x00000800 -#define PLT_FILTER_MASK_PROGRAMTITLE 0x00001000 -#define PLT_FILTER_MASK_SERIESTITLE 0x00002000 -#define PLT_FILTER_MASK_EPISODE 0x00004000 -#define PLT_FILTER_MASK_TITLE 0x00008000 - -#define PLT_FILTER_MASK_RES 0x00010000 -#define PLT_FILTER_MASK_RES_DURATION 0x00020000 -#define PLT_FILTER_MASK_RES_SIZE 0x00040000 -#define PLT_FILTER_MASK_RES_PROTECTION 0x00080000 -#define PLT_FILTER_MASK_RES_RESOLUTION 0x00100000 -#define PLT_FILTER_MASK_RES_BITRATE 0x00200000 -#define PLT_FILTER_MASK_RES_BITSPERSAMPLE 0x00400000 -#define PLT_FILTER_MASK_RES_NRAUDIOCHANNELS 0x00800000 -#define PLT_FILTER_MASK_RES_SAMPLEFREQUENCY 0x01000000 - -#define PLT_FILTER_MASK_LONGDESCRIPTION 0x02000000 -#define PLT_FILTER_MASK_ICON 0x04000000 - -#define PLT_FILTER_MASK_TOC 0x02000000 -#define PLT_FILTER_MASK_SEARCHCLASS 0x04000000 -#define PLT_FILTER_MASK_REFID 0x08000000 - -#define PLT_FILTER_FIELD_TITLE "dc:title" -#define PLT_FILTER_FIELD_CREATOR "dc:creator" -#define PLT_FILTER_FIELD_DATE "dc:date" -#define PLT_FILTER_FIELD_ARTIST "upnp:artist" -#define PLT_FILTER_FIELD_ACTOR "upnp:actor" -#define PLT_FILTER_FIELD_AUTHOR "upnp:author" -#define PLT_FILTER_FIELD_ALBUM "upnp:album" -#define PLT_FILTER_FIELD_GENRE "upnp:genre" -#define PLT_FILTER_FIELD_ALBUMARTURI "upnp:albumArtURI" -#define PLT_FILTER_FIELD_ALBUMARTURI_DLNAPROFILEID "upnp:albumArtURI@dlna:profileID" -#define PLT_FILTER_FIELD_DESCRIPTION "dc:description" -#define PLT_FILTER_FIELD_LONGDESCRIPTION "upnp:longDescription" -#define PLT_FILTER_FIELD_ICON "upnp:icon" -#define PLT_FILTER_FIELD_ORIGINALTRACK "upnp:originalTrackNumber" -#define PLT_FILTER_FIELD_PROGRAMTITLE "upnp:programTitle" -#define PLT_FILTER_FIELD_SERIESTITLE "upnp:seriesTitle" -#define PLT_FILTER_FIELD_EPISODE "upnp:episodeNumber" -#define PLT_FILTER_FIELD_SEARCHCLASS "upnp:searchClass" -#define PLT_FILTER_FIELD_SEARCHABLE "@searchable" -#define PLT_FILTER_FIELD_CHILDCOUNT "@childcount" -#define PLT_FILTER_FIELD_CONTAINER_CHILDCOUNT "container@childCount" -#define PLT_FILTER_FIELD_CONTAINER_SEARCHABLE "container@searchable" -#define PLT_FILTER_FIELD_REFID "@refID" - -#define PLT_FILTER_FIELD_RES "res" -#define PLT_FILTER_FIELD_RES_DURATION "res@duration" -#define PLT_FILTER_FIELD_RES_DURATION_SHORT "@duration" -#define PLT_FILTER_FIELD_RES_SIZE "res@size" -#define PLT_FILTER_FIELD_RES_PROTECTION "res@protection" -#define PLT_FILTER_FIELD_RES_RESOLUTION "res@resolution" -#define PLT_FILTER_FIELD_RES_BITRATE "res@bitrate" -#define PLT_FILTER_FIELD_RES_BITSPERSAMPLE "res@bitsPerSample" -#define PLT_FILTER_FIELD_RES_NRAUDIOCHANNELS "res@nrAudioChannels" -#define PLT_FILTER_FIELD_RES_SAMPLEFREQUENCY "res@sampleFrequency" - -extern const char* didl_header; -extern const char* didl_footer; -extern const char* didl_namespace_dc; -extern const char* didl_namespace_upnp; -extern const char* didl_namespace_dlna; - -/*---------------------------------------------------------------------- -| PLT_Didl -+---------------------------------------------------------------------*/ -/** - DIDL manipulation. - The PLT_Didl class provides a mechanism to (de)serialize a PLT_MediaObject or - list of PLT_MediaObject (PLT_MediaObjectList). - */ -class PLT_Didl -{ -public: - static NPT_Result ToDidl(PLT_MediaObject& object, - const NPT_String& filter, - NPT_String& didl); - static NPT_Result FromDidl(const char* didl, - PLT_MediaObjectListReference& objects); - static void AppendXmlEscape(NPT_String& out, const char* in); - static void AppendXmlUnEscape(NPT_String& out, const char* in); - static NPT_Result ParseTimeStamp(const NPT_String& timestamp, NPT_UInt32& seconds); - static NPT_String FormatTimeStamp(NPT_UInt32 seconds); - static NPT_Result ParseTimeStamp(const NPT_String& in, NPT_TimeStamp& timestamp) { - NPT_UInt32 seconds; - NPT_Result res = ParseTimeStamp(in, seconds); - timestamp = NPT_TimeStamp((double)seconds); - return res; - } - - static NPT_UInt32 ConvertFilterToMask(const NPT_String& filter); -}; - -#endif /* _PLT_DIDL_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDownloader.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDownloader.h deleted file mode 100644 index 9581ec2935..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltDownloader.h +++ /dev/null @@ -1,89 +0,0 @@ -/***************************************************************** -| -| Platinum - Downloader -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_DOWNLOADER_H_ -#define _PLT_DOWNLOADER_H_ - -/*---------------------------------------------------------------------- -| Includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpClientTask.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Downloader; - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef enum { - PLT_DOWNLOADER_IDLE, - PLT_DOWNLOADER_STARTED, - PLT_DOWNLOADER_DOWNLOADING, - PLT_DOWNLOADER_ERROR, - PLT_DOWNLOADER_SUCCESS -} Plt_DowloaderState; - -/*---------------------------------------------------------------------- -| PLT_Downloader class -+---------------------------------------------------------------------*/ -class PLT_Downloader : public PLT_HttpClientSocketTask -{ -public: - PLT_Downloader(NPT_HttpUrl& url, - NPT_OutputStreamReference& output); - virtual ~PLT_Downloader(); - - Plt_DowloaderState GetState() { return m_State; } - - // PLT_HttpClientTask method - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -protected: - virtual void DoRun(); - virtual void DoAbort(); - -private: - // members - NPT_HttpUrl m_URL; - NPT_OutputStreamReference m_Output; - Plt_DowloaderState m_State; -}; - -#endif /* _PLT_DOWNLOADER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltEvent.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltEvent.h deleted file mode 100644 index de754bbf5b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltEvent.h +++ /dev/null @@ -1,191 +0,0 @@ -/***************************************************************** -| -| Platinum - Event -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Eventing - */ - -#ifndef _PLT_EVENT_H_ -#define _PLT_EVENT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpClientTask.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_StateVariable; -class PLT_DeviceData; -class PLT_Service; -class PLT_TaskManager; -class PLT_CtrlPoint; - -/*---------------------------------------------------------------------- -| PLT_EventNotification class -+---------------------------------------------------------------------*/ -/** - The PLT_EventNotification class represents an event notification for a given - service to a given subscriber - */ -class PLT_EventNotification -{ -public: - ~PLT_EventNotification() {} - - static PLT_EventNotification* Parse(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - - NPT_TimeStamp m_ReceptionTime; - NPT_HttpUrl m_RequestUrl; - NPT_String m_SID; - NPT_Ordinal m_EventKey; - NPT_String m_XmlBody; - -protected: - PLT_EventNotification() : m_EventKey(0) {} -}; - -/*---------------------------------------------------------------------- -| PLT_EventSubscriber class -+---------------------------------------------------------------------*/ -/** - The PLT_EventSubscriber class represents an event subscription for a given service - from a UPnP ControlPoint. - */ -class PLT_EventSubscriber -{ -public: - PLT_EventSubscriber(PLT_TaskManagerReference task_manager, - PLT_Service* service, - const char* sid, - NPT_Timeout timeout_secs = -1); - ~PLT_EventSubscriber(); - - PLT_Service* GetService(); - NPT_Ordinal GetEventKey(); - NPT_Result SetEventKey(NPT_Ordinal value); - NPT_SocketAddress GetLocalIf(); - NPT_Result SetLocalIf(NPT_SocketAddress value); - NPT_TimeStamp GetExpirationTime(); - NPT_Result SetTimeout(NPT_Timeout seconds = -1); - const NPT_String& GetSID() const { return m_SID; } - NPT_Result FindCallbackURL(const char* callback_url); - NPT_Result AddCallbackURL(const char* callback_url); - NPT_Result Notify(NPT_List<PLT_StateVariable*>& vars); - -protected: - //members - PLT_TaskManagerReference m_TaskManager; - PLT_Service* m_Service; - NPT_Ordinal m_EventKey; - PLT_HttpClientSocketTask* m_SubscriberTask; - NPT_String m_SID; - NPT_SocketAddress m_LocalIf; - NPT_Array<NPT_String> m_CallbackURLs; - NPT_TimeStamp m_ExpirationTime; -}; - -typedef NPT_Reference<PLT_EventSubscriber> PLT_EventSubscriberReference; - -/*---------------------------------------------------------------------- -| PLT_EventSubscriberFinderBySID -+---------------------------------------------------------------------*/ -/** - The PLT_EventSubscriberFinderBySID class returns an instance of a PLT_EventSubscriber - given its subscriber ID. - */ -class PLT_EventSubscriberFinderBySID -{ -public: - // methods - PLT_EventSubscriberFinderBySID(const char* sid) : m_SID(sid) {} - - bool operator()(PLT_EventSubscriberReference const & sub) const { - return m_SID.Compare(sub->GetSID(), true) ? false : true; - } - -private: - // members - NPT_String m_SID; -}; - -/*---------------------------------------------------------------------- -| PLT_EventSubscriberFinderByCallbackURL -+---------------------------------------------------------------------*/ -/** - The PLT_EventSubscriberFinderByCallbackURL class returns an instance of a - PLT_EventSubscriber given its subscriber callback url. - */ -class PLT_EventSubscriberFinderByCallbackURL -{ -public: - // methods - PLT_EventSubscriberFinderByCallbackURL(const char* callback_url) : - m_CallbackURL(callback_url) {} - - bool operator()(PLT_EventSubscriberReference const & sub) const { - return NPT_SUCCEEDED(sub->FindCallbackURL(m_CallbackURL)); - } - -private: - // members - NPT_String m_CallbackURL; -}; - -/*---------------------------------------------------------------------- -| PLT_EventSubscriberFinderByService -+---------------------------------------------------------------------*/ -/** - The PLT_EventSubscriberFinderByService class returns an instance of a - PLT_EventSubscriber given a UPnP service. - */ -class PLT_EventSubscriberFinderByService -{ -public: - // methods - PLT_EventSubscriberFinderByService(PLT_Service* service) : m_Service(service) {} - virtual ~PLT_EventSubscriberFinderByService() {} - bool operator()(PLT_EventSubscriberReference const & eventSub) const; - -private: - // members - PLT_Service* m_Service; -}; - -#endif /* _PLT_EVENT_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFileMediaServer.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFileMediaServer.h deleted file mode 100644 index 49ff9d8ab6..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFileMediaServer.h +++ /dev/null @@ -1,151 +0,0 @@ -/***************************************************************** -| -| Platinum - File Media Server -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Filesystem based Media Server sample implementation - */ - -#ifndef _PLT_FILE_MEDIA_SERVER_H_ -#define _PLT_FILE_MEDIA_SERVER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltMediaServer.h" -#include "PltMediaCache.h" - -/*---------------------------------------------------------------------- -| PLT_FileMediaServerDelegate -+---------------------------------------------------------------------*/ -/** - File Media Server Delegate. - The PLT_FileMediaServerDelegate class is an example of a PLT_MediaServerDelegate - implementation for a file system backed Media Server. - */ -class PLT_FileMediaServerDelegate : public PLT_MediaServerDelegate -{ -public: - // class methods - static NPT_String BuildSafeResourceUri(const NPT_HttpUrl& base_uri, - const char* host, - const char* file_path); - // constructor & destructor - PLT_FileMediaServerDelegate(const char* url_root, const char* file_root, bool use_cache = false); - virtual ~PLT_FileMediaServerDelegate(); - -protected: - // PLT_MediaServerDelegate methods - virtual NPT_Result OnBrowseMetadata(PLT_ActionReference& action, - const char* object_id, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnBrowseDirectChildren(PLT_ActionReference& action, - const char* object_id, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnSearchContainer(PLT_ActionReference& action, - const char* object_id, - const char* search_criteria, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result ProcessFileRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // overridable methods - virtual NPT_Result ExtractResourcePath(const NPT_HttpUrl& url, NPT_String& file_path); - virtual NPT_String BuildResourceUri(const NPT_HttpUrl& base_uri, const char* host, const char* file_path); - virtual NPT_Result ServeFile(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - const NPT_String& file_path); - virtual NPT_Result GetFilePath(const char* object_id, NPT_String& filepath); - virtual bool ProcessFile(const NPT_String&, const char* filter = NULL) { NPT_COMPILER_UNUSED(filter); return true;} - virtual PLT_MediaObject* BuildFromFilePath(const NPT_String& filepath, - const PLT_HttpRequestContext& context, - bool with_count = true, - bool keep_extension_in_title = false, - bool allip = false); - -protected: - friend class PLT_MediaItem; - - NPT_String m_UrlRoot; - NPT_String m_FileRoot; - bool m_FilterUnknownOut; - bool m_UseCache; - - PLT_MediaCache<NPT_Reference<NPT_List<NPT_String> >, NPT_TimeStamp> m_DirCache; -}; - -/*---------------------------------------------------------------------- -| PLT_FileMediaServer -+---------------------------------------------------------------------*/ -/** - File Media Server. - The PLT_FileMediaServer class is an example of a PLT_MediaServer implementation - for a file system backed Media Server. - */ -class PLT_FileMediaServer : public PLT_MediaServer, - public PLT_FileMediaServerDelegate -{ -public: // constructor - PLT_FileMediaServer(const char* file_root, - const char* friendly_name, - bool show_ip = false, - const char* uuid = NULL, - NPT_UInt16 port = 0, - bool port_rebind = false) : - PLT_MediaServer(friendly_name, - show_ip, - uuid, - port, - port_rebind), - PLT_FileMediaServerDelegate("/", file_root) {SetDelegate(this);} - -protected: - virtual ~PLT_FileMediaServer() {} -}; - -#endif /* _PLT_FILE_MEDIA_SERVER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFrameBuffer.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFrameBuffer.h deleted file mode 100644 index aa270dfb87..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFrameBuffer.h +++ /dev/null @@ -1,76 +0,0 @@ -/***************************************************************** -| -| Platinum - Frame Buffer -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_FRAME_BUFFER_H_ -#define _PLT_FRAME_BUFFER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_FrameBuffer -+---------------------------------------------------------------------*/ -class PLT_FrameBuffer -{ - public: - // constructor & destructor - PLT_FrameBuffer(const char* mime_type); - virtual ~PLT_FrameBuffer(); - - void Reset(); - void Abort(); - void AddReader() { m_Readers.Increment(); } - void RemoveReader() { m_Readers.Decrement(); } - int GetNbReaders() { return m_Readers.GetValue(); } - const char* GetMimeType() { return m_MimeType; } - - // data buffer handling methods - virtual NPT_Result SetNextFrame(const NPT_Byte* buffer, NPT_Size bufferSize); - virtual NPT_Result GetNextFrame(NPT_UInt32& last_frame_index, - NPT_DataBuffer& buffer, - NPT_Timeout timeout = NPT_TIMEOUT_INFINITE); - - protected: - // members - NPT_String m_MimeType; - bool m_Aborted; - NPT_SharedVariable m_FrameIndex; - NPT_DataBuffer m_Frame; - NPT_Mutex m_FrameLock; - NPT_AtomicVariable m_Readers; -}; - -#endif // _PLT_FRAME_BUFFER_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFrameServer.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFrameServer.h deleted file mode 100644 index 62a730a09e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFrameServer.h +++ /dev/null @@ -1,103 +0,0 @@ -/***************************************************************** -| -| Platinum - Frame Server -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_FRAME_SERVER_H_ -#define _PLT_FRAME_SERVER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpServer.h" -#include "PltFrameBuffer.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_SocketPolicyServer; - -/*---------------------------------------------------------------------- -| PLT_StreamValidator class -+---------------------------------------------------------------------*/ -class PLT_StreamValidator -{ -public: - virtual ~PLT_StreamValidator() {} - virtual bool OnNewRequestAccept(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - NPT_Reference<PLT_FrameBuffer>& buffer) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_HttpStreamRequestHandler -+---------------------------------------------------------------------*/ -class PLT_HttpStreamRequestHandler : public NPT_HttpRequestHandler -{ -public: - // constructor - PLT_HttpStreamRequestHandler(PLT_StreamValidator& stream_validator) : - m_StreamValidator(stream_validator) {} - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - -private: - PLT_StreamValidator& m_StreamValidator; -}; - -/*---------------------------------------------------------------------- -| PLT_FrameServer class -+---------------------------------------------------------------------*/ -class PLT_FrameServer : public PLT_HttpServer -{ -public: - PLT_FrameServer(const char* resource_name, - PLT_StreamValidator& stream_validator, - NPT_IpAddress address = NPT_IpAddress::Any, - NPT_UInt16 port = 0, - bool policy_server_enabled = false); - virtual ~PLT_FrameServer(); - - virtual NPT_Result Start(); - -protected: - PLT_SocketPolicyServer* m_PolicyServer; - PLT_StreamValidator& m_StreamValidator; - bool m_PolicyServerEnabled; -}; - -#endif /* _PLT_FRAME_SERVER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFrameStream.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFrameStream.h deleted file mode 100644 index 0eda3c3bda..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltFrameStream.h +++ /dev/null @@ -1,79 +0,0 @@ -/***************************************************************** -| -| Platinum - Frame Stream -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_FRAMESTREAM_H_ -#define _PLT_FRAMESTREAM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltFrameBuffer.h" - -/*---------------------------------------------------------------------- -| PLT_InputFrameStream -+---------------------------------------------------------------------*/ -class PLT_InputFrameStream : public NPT_InputStream -{ -public: - // methods - PLT_InputFrameStream(NPT_Reference<PLT_FrameBuffer>& frame_buffer, - const char* boundary); - virtual ~PLT_InputFrameStream(); - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = 0); - - NPT_Result Seek(NPT_Position offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Skip(NPT_Size offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result Tell(NPT_Position& offset) { NPT_COMPILER_UNUSED(offset); return NPT_FAILURE; } - NPT_Result GetSize(NPT_LargeSize& size) { NPT_COMPILER_UNUSED(size); return NPT_FAILURE; } - NPT_Result GetAvailable(NPT_LargeSize& available); - -private: - NPT_Result FillBuffer(); - -protected: - NPT_Reference<PLT_FrameBuffer> m_FrameBuffer; - NPT_MemoryStream m_Part; - NPT_UInt32 m_LastFrameIndex; - NPT_String m_Boundary; - bool m_Eos; -}; - -typedef NPT_Reference<PLT_InputFrameStream> PLT_InputFrameStreamReference; - -#endif /* _PLT_FRAMESTREAM_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttp.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttp.h deleted file mode 100644 index fc3d1b55c0..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttp.h +++ /dev/null @@ -1,171 +0,0 @@ -/***************************************************************** -| -| Platinum - HTTP Helper -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - HTTP utilities - */ - -#ifndef _PLT_HTTP_H_ -#define _PLT_HTTP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltVersion.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#if !defined(PLT_HTTP_DEFAULT_USER_AGENT) -#define PLT_HTTP_DEFAULT_USER_AGENT "UPnP/1.0 DLNADOC/1.50 Platinum/" PLT_PLATINUM_SDK_VERSION_STRING -#endif - -#if !defined(PLT_HTTP_DEFAULT_SERVER) -#define PLT_HTTP_DEFAULT_SERVER "UPnP/1.0 DLNADOC/1.50 Platinum/" PLT_PLATINUM_SDK_VERSION_STRING -#endif - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef enum { - PLT_DEVICE_UNKNOWN, - PLT_DEVICE_XBOX, - PLT_DEVICE_PS3, - PLT_DEVICE_WMP, - PLT_DEVICE_SONOS, - PLT_DEVICE_MAC, - PLT_DEVICE_WINDOWS, - PLT_DEVICE_VLC -} PLT_DeviceSignature; - -/*---------------------------------------------------------------------- -| PLT_HttpHelper -+---------------------------------------------------------------------*/ -/** - The PLT_HttpHelper class is a set of utility functions for manipulating - HTTP headers, entities and messages. - */ -class PLT_HttpHelper { -public: - static bool IsConnectionKeepAlive(NPT_HttpMessage& message); - static bool IsBodyStreamSeekable(NPT_HttpMessage& message); - - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, NPT_HttpRequest* request); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, const NPT_HttpRequest& request); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, NPT_HttpResponse* response); - static NPT_Result ToLog(NPT_LoggerReference logger, int level, const char* prefix, const NPT_HttpResponse& response); - - static NPT_Result GetContentType(const NPT_HttpMessage& message, NPT_String& type); - static NPT_Result GetContentLength(const NPT_HttpMessage& message, NPT_LargeSize& len); - - static NPT_Result GetHost(const NPT_HttpRequest& request, NPT_String& value); - static void SetHost(NPT_HttpRequest& request, const char* host); - static PLT_DeviceSignature GetDeviceSignature(const NPT_HttpRequest& request); - - static NPT_Result SetBody(NPT_HttpMessage& message, NPT_String& text, NPT_HttpEntity** entity = NULL); - static NPT_Result SetBody(NPT_HttpMessage& message, const char* text, NPT_HttpEntity** entity = NULL); - static NPT_Result SetBody(NPT_HttpMessage& message, const void* body, NPT_LargeSize len, NPT_HttpEntity** entity = NULL); - static NPT_Result SetBody(NPT_HttpMessage& message, NPT_InputStreamReference stream, NPT_HttpEntity** entity = NULL); - static NPT_Result GetBody(const NPT_HttpMessage& message, NPT_String& body); - static NPT_Result ParseBody(const NPT_HttpMessage& message, NPT_XmlElementNode*& xml); - - static void SetBasicAuthorization(NPT_HttpRequest& request, const char* username, const char* password); -}; - -/*---------------------------------------------------------------------- -| PLT_HttpRequestContext -+---------------------------------------------------------------------*/ -/** - The PLT_HttpRequestContext class holds information about the request sent, the - local & remote ip addresses and ports associated with a connection. It is used - mostly when processing a HTTP response. - */ -class PLT_HttpRequestContext : public NPT_HttpRequestContext { -public: - // constructors and destructor - PLT_HttpRequestContext(const NPT_HttpRequest& request) : - m_Request(request) {} - PLT_HttpRequestContext(const NPT_HttpRequest& request, const NPT_HttpRequestContext& context) : - NPT_HttpRequestContext(&context.GetLocalAddress(), &context.GetRemoteAddress()), - m_Request(request) {} - virtual ~PLT_HttpRequestContext() {} - - const NPT_HttpRequest& GetRequest() const { return m_Request; } - PLT_DeviceSignature GetDeviceSignature() { return PLT_HttpHelper::GetDeviceSignature(m_Request); } - -private: - const NPT_HttpRequest& m_Request; -}; - -/*---------------------------------------------------------------------- -| macros -+---------------------------------------------------------------------*/ -#if defined(NPT_CONFIG_ENABLE_LOGGING) -#define PLT_LOG_HTTP_MESSAGE_L(_logger, _level, _prefix, _msg) \ - PLT_HttpHelper::ToLog((_logger), (_level), (_prefix), (_msg)) -#define PLT_LOG_HTTP_MESSAGE(_level, _prefix, _msg) \ - PLT_HttpHelper::ToLog((_NPT_LocalLogger), (_level), (_prefix), (_msg)) - -#else /* NPT_CONFIG_ENABLE_LOGGING */ -#define PLT_LOG_HTTP_MESSAGE_L(_logger, _level, _prefix, _msg) -#define PLT_LOG_HTTP_MESSAGE(_level, _prefix, _msg) -#endif /* NPT_CONFIG_ENABLE_LOGGING */ - -/*---------------------------------------------------------------------- -| PLT_HttpRequestHandler -+---------------------------------------------------------------------*/ -/** - The PLT_HttpRequestHandler class delegates the handling of the response of a - received HTTP request by a HTTP Server. - */ -class PLT_HttpRequestHandler : public NPT_HttpRequestHandler -{ -public: - PLT_HttpRequestHandler(NPT_HttpRequestHandler* delegate) : - m_Delegate(delegate) {} - virtual ~PLT_HttpRequestHandler() {} - - // NPT_HttpRequestHandler methods - NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response) { - return m_Delegate->SetupResponse(request, context, response); - } - -private: - NPT_HttpRequestHandler* m_Delegate; -}; - -#endif /* _PLT_HTTP_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttpClientTask.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttpClientTask.h deleted file mode 100644 index 293c59207a..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttpClientTask.h +++ /dev/null @@ -1,121 +0,0 @@ -/***************************************************************** -| -| Platinum - HTTP Client Tasks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - HTTP Client tasks - */ - -#ifndef _PLT_HTTP_CLIENT_TASK_H_ -#define _PLT_HTTP_CLIENT_TASK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" -#include "PltThreadTask.h" - -/*---------------------------------------------------------------------- -| PLT_HttpClientSocketTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpClientSocketTask class is the base class used to send a HTTP request - asynchronously using a task (thread). It supports persistent connections - and HTTP pipelining with automatic fallback and reconnection when HTTP 1.0 - is used. - */ -class PLT_HttpClientSocketTask : public PLT_ThreadTask -{ -friend class PLT_ThreadTask; - -public: - PLT_HttpClientSocketTask(NPT_HttpRequest* request = NULL, - bool wait_forever = false); - virtual ~PLT_HttpClientSocketTask(); - - virtual NPT_Result AddRequest(NPT_HttpRequest* request); - virtual NPT_Result SetHttpClientConfig(const NPT_HttpClient::Config& config); - -protected: - // PLT_ThreadTask methods - virtual void DoAbort(); - virtual void DoRun(); - - virtual NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -private: - NPT_Result GetNextRequest(NPT_HttpRequest*& request, NPT_Timeout timeout_ms); - -protected: - NPT_HttpClient m_Client; - bool m_WaitForever; - NPT_Queue<NPT_HttpRequest> m_Requests; -}; - -/*---------------------------------------------------------------------- -| PLT_HttpClientTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpClientTask class is a templatized version of PLT_HttpClientSocketTask - to support arbitrary delegation of HTTP response handling. - */ -template <class T> -class PLT_HttpClientTask : public PLT_HttpClientSocketTask -{ -public: - PLT_HttpClientTask<T>(const NPT_HttpUrl& url, T* data) : - PLT_HttpClientSocketTask(new NPT_HttpRequest(url, - "GET", - NPT_HTTP_PROTOCOL_1_1)), - m_Data(data) {} - protected: - virtual ~PLT_HttpClientTask<T>() {} - -protected: - // PLT_HttpClientSocketTask method - NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response) { - return m_Data->ProcessResponse(res, request, context, response); - } - -protected: - T* m_Data; -}; - -#endif /* _PLT_HTTP_CLIENT_TASK_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttpServer.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttpServer.h deleted file mode 100644 index 562e141431..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttpServer.h +++ /dev/null @@ -1,100 +0,0 @@ -/***************************************************************** -| -| Platinum - HTTP Server -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - HTTP Server - */ - -#ifndef _PLT_HTTP_SERVER_H_ -#define _PLT_HTTP_SERVER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttpServerTask.h" - -/*---------------------------------------------------------------------- -| PLT_HttpServer class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpServer class provides an asynchronous way to handle multiple HTTP requests - concurrently. Pipelining requests and keep-alive connections are supported. - */ -class PLT_HttpServer : public NPT_HttpRequestHandler, - public NPT_HttpServer -{ -public: - PLT_HttpServer(NPT_IpAddress address = NPT_IpAddress::Any, - NPT_IpPort port = 0, - bool allow_random_port_on_bind_failure = false, - NPT_Cardinal max_clients = 50, - bool reuse_address = false); - virtual ~PLT_HttpServer(); - - // class methods - static NPT_Result ServeFile(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - NPT_String file_path); - static NPT_Result ServeStream(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response, - NPT_InputStreamReference& stream, - const char* content_type); - - // NPT_HttpRequestHandler methods - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // methods - virtual NPT_Result Start(); - virtual NPT_Result Stop(); - virtual unsigned int GetPort() { return m_Port; } - -private: - PLT_TaskManagerReference m_TaskManager; - NPT_Reference<NPT_HttpServer> m_Server; - NPT_IpAddress m_Address; - NPT_IpPort m_Port; - bool m_AllowRandomPortOnBindFailure; - bool m_ReuseAddress; - bool m_Running; - bool m_Aborted; -}; - -typedef NPT_Reference<PLT_HttpServer> PLT_HttpServerReference; - -#endif /* _PLT_HTTP_SERVER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttpServerTask.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttpServerTask.h deleted file mode 100644 index 58b2a3fb76..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltHttpServerTask.h +++ /dev/null @@ -1,163 +0,0 @@ -/***************************************************************** -| -| Platinum - HTTP Server Tasks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - HTTP Server Tasks - */ - -#ifndef _PLT_HTTP_SERVER_TASK_H_ -#define _PLT_HTTP_SERVER_TASK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" -#include "PltDatagramStream.h" -#include "PltThreadTask.h" - -/*---------------------------------------------------------------------- -| PLT_HttpServerSocketTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpServerSocketTask class is a task used for handling one or more HTTP - requests from a client. It is created by a PLT_HttpListenTask instance upon - receiving a connection request. A PLT_HttpServer will handle the delegation for - setting up the HTTP response. - */ -class PLT_HttpServerSocketTask : public PLT_ThreadTask -{ - friend class PLT_ThreadTask; - -public: - PLT_HttpServerSocketTask(NPT_Socket* socket, bool stay_alive_forever = false); - -protected: - virtual ~PLT_HttpServerSocketTask(); - -protected: - // Request callback handler - virtual NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response) = 0; - - // overridables - virtual NPT_Result GetInputStream(NPT_InputStreamReference& stream); - virtual NPT_Result GetInfo(NPT_SocketInfo& info); - - // PLT_ThreadTask methods - virtual void DoAbort() { if (m_Socket) m_Socket->Cancel(); } - virtual void DoRun(); - -private: - virtual NPT_Result Read(NPT_BufferedInputStreamReference& buffered_input_stream, - NPT_HttpRequest*& request, - NPT_HttpRequestContext* context = NULL); - virtual NPT_Result Write(NPT_HttpResponse* response, - bool& keep_alive, - bool headers_only = false); - virtual NPT_Result RespondToClient(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse*& response); - virtual NPT_Result SendResponseHeaders(NPT_HttpResponse* response, - NPT_OutputStream& output_stream, - bool& keep_alive); - virtual NPT_Result SendResponseBody(NPT_HttpResponse* response, - NPT_OutputStream& output_stream); - -protected: - NPT_Socket* m_Socket; - bool m_StayAliveForever; -}; - -/*---------------------------------------------------------------------- -| PLT_HttpServerTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpServerTask class is a version of PLT_HttpServerSocketTask that supports - delegation of HTTP request handling. - */ -class PLT_HttpServerTask : public PLT_HttpServerSocketTask -{ -public: - PLT_HttpServerTask(NPT_HttpRequestHandler* handler, - NPT_Socket* socket, - bool keep_alive = false) : - PLT_HttpServerSocketTask(socket, keep_alive), m_Handler(handler) {} - -protected: - virtual ~PLT_HttpServerTask() {} - - NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response) { - return m_Handler->SetupResponse(request, context, response); - } - -protected: - NPT_HttpRequestHandler* m_Handler; -}; - -/*---------------------------------------------------------------------- -| PLT_HttpListenTask class -+---------------------------------------------------------------------*/ -/** - The PLT_HttpListenTask class is used by a PLT_HttpServer to listen for incoming - connections and spawn a new task for handling each request. - */ -class PLT_HttpListenTask : public PLT_ThreadTask -{ -public: - PLT_HttpListenTask(NPT_HttpRequestHandler* handler, - NPT_TcpServerSocket* socket, - bool owns_socket = true) : - m_Handler(handler), m_Socket(socket), m_OwnsSocket(owns_socket) {} - -protected: - virtual ~PLT_HttpListenTask() { - if (m_OwnsSocket && m_Socket) delete m_Socket; - } - -protected: - // PLT_ThreadTask methods - virtual void DoAbort() { if (m_Socket) m_Socket->Cancel(); } - virtual void DoRun(); - -protected: - NPT_HttpRequestHandler* m_Handler; - NPT_TcpServerSocket* m_Socket; - bool m_OwnsSocket; -}; - -#endif /* _PLT_HTTP_SERVER_TASK_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltLeaks.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltLeaks.h deleted file mode 100644 index 73d1e3ad04..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltLeaks.h +++ /dev/null @@ -1,51 +0,0 @@ -/***************************************************************** -| -| Platinum - Leaks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_LEAKS_H_ -#define _PLT_LEAKS_H_ - -/*---------------------------------------------------------------------- -| functions -+---------------------------------------------------------------------*/ -#if defined(__cplusplus) -extern "C" { -#endif - -void PLT_Leak_Enable(void); - -#if defined(__cplusplus) -} -#endif - -#endif /* _PLT_LEAKS_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaBrowser.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaBrowser.h deleted file mode 100644 index 2ee032b842..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaBrowser.h +++ /dev/null @@ -1,156 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Browser (Media Server Control Point) -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Controller implementation. - */ - -#ifndef _PLT_MEDIA_BROWSER_H_ -#define _PLT_MEDIA_BROWSER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltCtrlPoint.h" -#include "PltMediaItem.h" - -/*---------------------------------------------------------------------- -| PLT_BrowseInfo -+---------------------------------------------------------------------*/ -/** - The PLT_BrowseInfo struct is used to marshall Browse or Search action - response results across different threads of execution. - */ -typedef struct { - NPT_String object_id; - PLT_MediaObjectListReference items; - NPT_UInt32 si; - NPT_UInt32 nr; - NPT_UInt32 tm; - NPT_UInt32 uid; -} PLT_BrowseInfo; - -/*---------------------------------------------------------------------- -| PLT_MediaBrowserDelegate -+---------------------------------------------------------------------*/ -/** - The PLT_MediaBrowserDelegate class is an interface for receiving PLT_MediaBrowser - events or action responses. - */ -class PLT_MediaBrowserDelegate -{ -public: - virtual ~PLT_MediaBrowserDelegate() {} - - virtual bool OnMSAdded(PLT_DeviceDataReference& /* device */) { return true; } - virtual void OnMSRemoved(PLT_DeviceDataReference& /* device */) {} - virtual void OnMSStateVariablesChanged( - PLT_Service* /*service*/, - NPT_List<PLT_StateVariable*>* /*vars*/) {} - - // ContentDirectory - virtual void OnBrowseResult( - NPT_Result /*res*/, - PLT_DeviceDataReference& /*device*/, - PLT_BrowseInfo* /*info*/, - void* /*userdata*/) {} - - virtual void OnSearchResult( - NPT_Result /*res*/, - PLT_DeviceDataReference& /*device*/, - PLT_BrowseInfo* /*info*/, - void* /*userdata*/) {} -}; - -/*---------------------------------------------------------------------- -| PLT_MediaBrowser -+---------------------------------------------------------------------*/ -/** - The PLT_MediaBrowser class implements a UPnP AV Media Server control point. - */ -class PLT_MediaBrowser : public PLT_CtrlPointListener -{ -public: - PLT_MediaBrowser(PLT_CtrlPointReference& ctrl_point, - PLT_MediaBrowserDelegate* delegate = NULL); - virtual ~PLT_MediaBrowser(); - - // ContentDirectory service - virtual NPT_Result Browse(PLT_DeviceDataReference& device, - const char* object_id, - NPT_UInt32 start_index, - NPT_UInt32 count = 30, // DLNA recommendations - bool browse_metadata = false, - const char* filter = "dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author", // explicitely specify res otherwise WMP won't return a URL! - const char* sort_criteria = "", - void* userdata = NULL); - - virtual NPT_Result Search(PLT_DeviceDataReference& device, - const char* container_id, - const char* search_criteria, - NPT_UInt32 start_index, - NPT_UInt32 count = 30, // DLNA recommendations - const char* filter = "dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author", // explicitely specify res otherwise WMP won't return a URL! - void* userdata = NULL); - - // methods - virtual const NPT_Lock<PLT_DeviceDataReferenceList>& GetMediaServers() { return m_MediaServers; } - virtual NPT_Result FindServer(const char* uuid, PLT_DeviceDataReference& device); - virtual void SetDelegate(PLT_MediaBrowserDelegate* delegate) { m_Delegate = delegate; } - -protected: - // PLT_CtrlPointListener methods - virtual NPT_Result OnDeviceAdded(PLT_DeviceDataReference& device); - virtual NPT_Result OnDeviceRemoved(PLT_DeviceDataReference& device); - virtual NPT_Result OnActionResponse(NPT_Result res, PLT_ActionReference& action, void* userdata); - virtual NPT_Result OnEventNotify(PLT_Service* service, NPT_List<PLT_StateVariable*>* vars); - - // ContentDirectory service responses - virtual NPT_Result OnBrowseResponse(NPT_Result res, - PLT_DeviceDataReference& device, - PLT_ActionReference& action, - void* userdata); - - virtual NPT_Result OnSearchResponse(NPT_Result res, - PLT_DeviceDataReference& device, - PLT_ActionReference& action, - void* userdata); - -protected: - PLT_CtrlPointReference m_CtrlPoint; - PLT_MediaBrowserDelegate* m_Delegate; - NPT_Lock<PLT_DeviceDataReferenceList> m_MediaServers; -}; - -#endif /* _PLT_MEDIA_BROWSER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaCache.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaCache.h deleted file mode 100644 index 8e365d807e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaCache.h +++ /dev/null @@ -1,203 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Cache -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - Simple Object Caching utility. - */ - -#ifndef _PLT_MEDIA_CACHE_H_ -#define _PLT_MEDIA_CACHE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_MediaCache -+---------------------------------------------------------------------*/ -/** - The PLT_MediaCache template provides a way to hold references to object in - memory. - */ -template <typename T, typename U> -class PLT_MediaCache -{ -public: - typedef typename NPT_Map<NPT_String,T>::Entry ElementEntry; - typedef typename NPT_List<ElementEntry*>::Iterator ElementIterator; - - PLT_MediaCache<T,U>() {} - virtual ~PLT_MediaCache<T,U>() {} - - NPT_Result Put(const char* root, const char* key, T& value, U* tag = NULL); - NPT_Result Get(const char* root, const char* key, T& value, U* tag = NULL); - NPT_Result Clear(const char* root, const char* key); - NPT_Result Clear(const char* root = NULL); - -private: - // methods - NPT_String GenerateKey(const char* root, const char* key); - -private: - // members - NPT_Mutex m_Mutex; - NPT_Map<NPT_String, T> m_Items; - NPT_Map<NPT_String, U> m_Tags; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaCache::GenerateKey -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_String -PLT_MediaCache<T,U>::GenerateKey(const char* root, const char* key) -{ - // TODO: There could be collision - NPT_String result = root; - result += "/"; - result += key; - return result; -} - -/*---------------------------------------------------------------------- -| PLT_MediaCache::Put -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_Result -PLT_MediaCache<T,U>::Put(const char* root, - const char* key, - T& value, - U* tag) -{ - NPT_AutoLock lock(m_Mutex); - - NPT_String fullkey = GenerateKey(root, key); - if (fullkey.GetLength() == 0) return NPT_ERROR_INVALID_PARAMETERS; - - m_Items.Erase(fullkey); - NPT_CHECK(m_Items.Put(fullkey, value)); - - if (tag) NPT_CHECK(m_Tags.Put(fullkey, *tag)); - - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| PLT_MediaCache::Get -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_Result -PLT_MediaCache<T,U>::Get(const char* root, - const char* key, - T& value, - U* tag /* = NULL */) -{ - NPT_AutoLock lock(m_Mutex); - - NPT_String fullkey = GenerateKey(root, key); - if (fullkey.GetLength() == 0) return NPT_ERROR_INVALID_PARAMETERS; - - T* _value = NULL; - NPT_CHECK(m_Items.Get(fullkey, _value)); - - U* _tag; - if (tag) { - m_Tags.Get(fullkey, _tag); - if (_tag) *tag = *_tag; - } - - value = *_value; - return NPT_SUCCESS; -} - -/*---------------------------------------------------------------------- -| PLT_MediaCache::Clear -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_Result -PLT_MediaCache<T,U>::Clear(const char* root, const char* key) -{ - NPT_AutoLock lock(m_Mutex); - - NPT_String fullkey = GenerateKey(root, key); - if (fullkey.GetLength() == 0) return NPT_ERROR_INVALID_PARAMETERS; - - ElementIterator entries = m_Items.GetEntries().GetFirstItem(); - ElementIterator entry; - while (entries) { - entry = entries++; - if ((*entry)->GetKey() == (fullkey)) { - m_Items.Erase(fullkey); - m_Tags.Erase(fullkey); - return NPT_SUCCESS; - } - } - - return NPT_ERROR_NO_SUCH_ITEM; -} - -/*---------------------------------------------------------------------- -| PLT_MediaCache::Clear -+---------------------------------------------------------------------*/ -template <typename T, typename U> -inline -NPT_Result -PLT_MediaCache<T,U>::Clear(const char* root) -{ - NPT_AutoLock lock(m_Mutex); - - if (!root || root[0]=='\0') - return m_Items.Clear(); - - NPT_String key = GenerateKey(root, ""); - ElementIterator entries = m_Items.GetEntries().GetFirstItem(); - ElementIterator entry; - while (entries) { - entry = entries++; - NPT_String entry_key = (*entry)->GetKey(); - if (entry_key.StartsWith(key)) { - m_Items.Erase(entry_key); - m_Tags.Erase(entry_key); - } - } - - return NPT_SUCCESS; -} - -#endif /* _PLT_MEDIA_CACHE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaConnect.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaConnect.h deleted file mode 100644 index c9ada41741..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaConnect.h +++ /dev/null @@ -1,110 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Connect Device -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_MEDIA_CONNECT_H_ -#define _PLT_MEDIA_CONNECT_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltFileMediaServer.h" - -/*---------------------------------------------------------------------- -| PLT_MediaConnect -+---------------------------------------------------------------------*/ -class PLT_MediaConnect : public PLT_MediaServer -{ -public: - // class methods - static NPT_Result GetMappedObjectId(const char* object_id, - NPT_String& mapped_object_id); - - // constructor - PLT_MediaConnect(const char* friendly_name, - bool add_hostname = true, - const char* udn = NULL, - NPT_UInt16 port = 0, - bool port_rebind = false); - -protected: - virtual ~PLT_MediaConnect(); - - // PLT_DeviceHost methods - virtual NPT_Result SetupServices(); - virtual NPT_Result OnAction(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result ProcessGetDescription(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - virtual NPT_Result ProcessGetSCPD(PLT_Service* service, - NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // X_MS_MediaReceiverRegistrar - virtual NPT_Result OnIsAuthorized(PLT_ActionReference& action); - virtual NPT_Result OnRegisterDevice(PLT_ActionReference& action); - virtual NPT_Result OnIsValidated(PLT_ActionReference& action); - -protected: - NPT_Mutex m_Lock; - bool m_AddHostname; -}; - -/*---------------------------------------------------------------------- - | PLT_FileMediaConnectDelegate class - +---------------------------------------------------------------------*/ -class PLT_FileMediaConnectDelegate : public PLT_FileMediaServerDelegate -{ -public: - // constructor & destructor - PLT_FileMediaConnectDelegate(const char* url_root, const char* file_root) : - PLT_FileMediaServerDelegate(url_root, file_root) {} - virtual ~PLT_FileMediaConnectDelegate() {} - - // PLT_FileMediaServerDelegate methods - virtual NPT_Result GetFilePath(const char* object_id, NPT_String& filepath); - virtual NPT_Result OnSearchContainer(PLT_ActionReference& action, - const char* object_id, - const char* search_criteria, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); -}; - -#endif /* _PLT_MEDIA_CONNECT_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaController.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaController.h deleted file mode 100644 index 672c12ac37..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaController.h +++ /dev/null @@ -1,344 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Controller (Media Renderer Control Point) -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_MEDIA_CONTROLLER_H_ -#define _PLT_MEDIA_CONTROLLER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltCtrlPoint.h" -#include "PltMediaItem.h" - -/*---------------------------------------------------------------------- -| Defines -+---------------------------------------------------------------------*/ -typedef NPT_List<NPT_String> PLT_StringList; - -typedef struct { - PLT_StringList play_media; - PLT_StringList rec_media; - PLT_StringList rec_quality_modes; -} PLT_DeviceCapabilities; - -typedef struct { - NPT_UInt32 num_tracks; - NPT_TimeStamp media_duration; - NPT_String cur_uri; - NPT_String cur_metadata; - NPT_String next_uri; - NPT_String next_metadata; - NPT_String play_medium; - NPT_String rec_medium; - NPT_String write_status; -} PLT_MediaInfo; - -typedef struct { - NPT_UInt32 track; - NPT_TimeStamp track_duration; - NPT_String track_metadata; - NPT_String track_uri; - NPT_TimeStamp rel_time; - NPT_TimeStamp abs_time; - NPT_Int32 rel_count; - NPT_Int32 abs_count; -} PLT_PositionInfo; - -typedef struct { - NPT_String cur_transport_state; - NPT_String cur_transport_status; - NPT_String cur_speed; -} PLT_TransportInfo; - -typedef struct { - NPT_String play_mode; - NPT_String rec_quality_mode; -} PLT_TransportSettings; - -typedef struct { - NPT_UInt32 rcs_id; - NPT_UInt32 avtransport_id; - NPT_String protocol_info; - NPT_String peer_connection_mgr; - NPT_UInt32 peer_connection_id; - NPT_String direction; - NPT_String status; -} PLT_ConnectionInfo; - -/*---------------------------------------------------------------------- -| PLT_MediaControllerDelegate -+---------------------------------------------------------------------*/ -class PLT_MediaControllerDelegate -{ -public: - virtual ~PLT_MediaControllerDelegate() {} - - virtual bool OnMRAdded(PLT_DeviceDataReference& /* device */) { return true; } - virtual void OnMRRemoved(PLT_DeviceDataReference& /* device */) {} - virtual void OnMRStateVariablesChanged(PLT_Service* /* service */, - NPT_List<PLT_StateVariable*>* /* vars */) {} - - // AVTransport - virtual void OnGetCurrentTransportActionsResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_StringList* /* actions */, - void* /* userdata */) {} - - virtual void OnGetDeviceCapabilitiesResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_DeviceCapabilities* /* capabilities */, - void* /* userdata */) {} - - virtual void OnGetMediaInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_MediaInfo* /* info */, - void* /* userdata */) {} - - virtual void OnGetPositionInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_PositionInfo* /* info */, - void* /* userdata */) {} - - virtual void OnGetTransportInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_TransportInfo* /* info */, - void* /* userdata */) {} - - virtual void OnGetTransportSettingsResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_TransportSettings* /* settings */, - void* /* userdata */) {} - - virtual void OnNextResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnPauseResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnPlayResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnPreviousResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnSeekResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnSetAVTransportURIResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnSetPlayModeResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnStopResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - // ConnectionManager - virtual void OnGetCurrentConnectionIDsResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_StringList* /* ids */, - void* /* userdata */) {} - - virtual void OnGetCurrentConnectionInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_ConnectionInfo* /* info */, - void* /* userdata */) {} - - virtual void OnGetProtocolInfoResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - PLT_StringList* /* sources */, - PLT_StringList* /* sinks */, - void* /* userdata */) {} - - // RenderingControl - virtual void OnSetMuteResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnGetMuteResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - const char* /* channel */, - bool /* mute */, - void* /* userdata */) {} - - virtual void OnSetVolumeResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - void* /* userdata */) {} - - virtual void OnGetVolumeResult( - NPT_Result /* res */, - PLT_DeviceDataReference& /* device */, - const char* /* channel */, - NPT_UInt32 /* volume */, - void* /* userdata */) {} -}; - -/*---------------------------------------------------------------------- -| PLT_MediaController -+---------------------------------------------------------------------*/ -class PLT_MediaController : public PLT_CtrlPointListener -{ -public: - PLT_MediaController(PLT_CtrlPointReference& ctrl_point, - PLT_MediaControllerDelegate* delegate = NULL); - virtual ~PLT_MediaController(); - - // public methods - virtual void SetDelegate(PLT_MediaControllerDelegate* delegate) { - m_Delegate = delegate; - } - - // PLT_CtrlPointListener methods - virtual NPT_Result OnDeviceAdded(PLT_DeviceDataReference& device); - virtual NPT_Result OnDeviceRemoved(PLT_DeviceDataReference& device); - virtual NPT_Result OnActionResponse(NPT_Result res, PLT_ActionReference& action, void* userdata); - virtual NPT_Result OnEventNotify(PLT_Service* service, NPT_List<PLT_StateVariable*>* vars); - - // AVTransport - NPT_Result GetCurrentTransportActions(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetDeviceCapabilities(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetMediaInfo(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetPositionInfo(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetTransportInfo(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result GetTransportSettings(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result Next(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result Pause(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result Play(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, NPT_String speed, void* userdata); - NPT_Result Previous(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - NPT_Result Seek(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, NPT_String unit, NPT_String target, void* userdata); - bool CanSetNextAVTransportURI(PLT_DeviceDataReference& device); - NPT_Result SetAVTransportURI(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* uri, const char* metadata, void* userdata); - NPT_Result SetNextAVTransportURI(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* next_uri, const char* next_metadata, void* userdata); - NPT_Result SetPlayMode(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, NPT_String new_play_mode, void* userdata); - NPT_Result Stop(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, void* userdata); - - // ConnectionManager - NPT_Result GetCurrentConnectionIDs(PLT_DeviceDataReference& device, void* userdata); - NPT_Result GetCurrentConnectionInfo(PLT_DeviceDataReference& device, NPT_UInt32 connection_id, void* userdata); - NPT_Result GetProtocolInfo(PLT_DeviceDataReference& device, void* userdata); - - // RenderingControl - NPT_Result SetMute(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* channel, bool mute, void* userdata); - NPT_Result GetMute(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* channel, void* userdata); - NPT_Result SetVolume(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* channel, int volume, void* userdata); - NPT_Result GetVolume(PLT_DeviceDataReference& device, NPT_UInt32 instance_id, const char* channel, void* userdata); - - // VariableStates - virtual NPT_Result GetProtocolInfoSink(const NPT_String& device_uuid, NPT_List<NPT_String>& sinks); - virtual NPT_Result GetTransportState(const NPT_String& device_uuid, NPT_String& state); - virtual NPT_Result GetVolumeState(const NPT_String& device_uuid, NPT_UInt32& volume); - - // methods - virtual NPT_Result FindRenderer(const char* uuid, PLT_DeviceDataReference& device); - virtual NPT_Result FindMatchingProtocolInfo(NPT_List<NPT_String>& sinks, const char* protocol_info); - virtual NPT_Result FindBestResource(PLT_DeviceDataReference& device, PLT_MediaObject& item, NPT_Cardinal& resource_index); - -private: - NPT_Result InvokeActionWithInstance(PLT_ActionReference& action, NPT_UInt32 instance_id, void* userdata = NULL); - - NPT_Result OnGetCurrentTransportActionsResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetDeviceCapabilitiesResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetMediaInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetPositionInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetTransportInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetTransportSettingsResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - - NPT_Result OnGetCurrentConnectionIDsResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetCurrentConnectionInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetProtocolInfoResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - - NPT_Result OnGetMuteResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - NPT_Result OnGetVolumeResponse(NPT_Result res, PLT_DeviceDataReference& device, PLT_ActionReference& action, void* userdata); - -public: - static void ParseCSV(const char* csv, PLT_StringList& values) { - const char* start = csv; - const char* p = start; - - // look for the , character - while (*p) { - if (*p == ',') { - NPT_String val(start, (int)(p-start)); - val.Trim(' '); - values.Add(val); - start = p + 1; - } - p++; - } - - // last one - NPT_String last(start, (int)(p-start)); - last.Trim(' '); - if (last.GetLength()) { - values.Add(last); - } - } - -private: - PLT_CtrlPointReference m_CtrlPoint; - PLT_MediaControllerDelegate* m_Delegate; - NPT_Lock<PLT_DeviceDataReferenceList> m_MediaRenderers; -}; - -typedef NPT_Reference<PLT_MediaController> PLT_MediaControllerReference; - -#endif /* _PLT_MEDIA_CONTROLLER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaItem.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaItem.h deleted file mode 100644 index 81f3dc8749..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaItem.h +++ /dev/null @@ -1,304 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Item -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Object reprensentation. - */ - -#ifndef _PLT_MEDIA_ITEM_H_ -#define _PLT_MEDIA_ITEM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" -#include "PltProtocolInfo.h" - -/*---------------------------------------------------------------------- -| typedefs -+---------------------------------------------------------------------*/ -/** - The PLT_ObjectClass struct is used to assign a type to a PLT_MediaObject. - */ -typedef struct { - NPT_String type; - NPT_String friendly_name; -} PLT_ObjectClass; - -typedef struct { - NPT_String type; - NPT_String friendly_name; - bool include_derived; -} PLT_SearchClass; - -typedef struct { - NPT_String name; - NPT_String role; -} PLT_PersonRole; - -class PLT_PersonRoles : public NPT_List<PLT_PersonRole> -{ -public: - NPT_Result Add(const NPT_String& name, const NPT_String& role = ""); - NPT_Result ToDidl(NPT_String& didl, const NPT_String& tag); - NPT_Result FromDidl(const NPT_Array<NPT_XmlElementNode*>& nodes); -}; - -typedef struct { - NPT_String allowed_use; // (CSV) - NPT_String validity_start; - NPT_String validity_end; - NPT_String remaining_time; - NPT_String usage_info; - NPT_String rights_info_uri; - NPT_String content_info_uri; -} PLT_Constraint; - -typedef struct { - PLT_PersonRoles artists; - PLT_PersonRoles actors; - PLT_PersonRoles authors; - NPT_String producer; //TODO: can be multiple - NPT_String director; //TODO: can be multiple - NPT_String publisher; //TODO: can be multiple - NPT_String contributor; // should match m_Creator (dc:creator) //TODO: can be multiple -} PLT_PeopleInfo; - -typedef struct { - NPT_List<NPT_String> genres; - NPT_String album; //TODO: can be multiple - NPT_String playlist; // dc:title of the playlist item the content belongs too //TODO: can be multiple -} PLT_AffiliationInfo; - -typedef struct { - NPT_String description; - NPT_String long_description; - NPT_String icon_uri; - NPT_String region; - NPT_String rating; - NPT_String rights; //TODO: can be multiple - NPT_String date; - NPT_String language; -} PLT_Description; - -typedef struct { - NPT_String uri; - NPT_String dlna_profile; -} PLT_AlbumArtInfo; - -typedef struct { - NPT_List<PLT_AlbumArtInfo> album_arts; - NPT_String artist_discography_uri; - NPT_String lyrics_uri; - NPT_List<NPT_String> relations; // dc:relation -} PLT_ExtraInfo; - -typedef struct { - NPT_UInt32 dvdregioncode; - NPT_UInt32 original_track_number; - NPT_String toc; - NPT_String user_annotation; //TODO: can be multiple -} PLT_MiscInfo; - -typedef struct { - NPT_UInt64 total; - NPT_UInt64 used; - NPT_UInt64 free; - NPT_UInt64 max_partition; - NPT_UInt64 medium; -} PLT_StorageInfo; - -typedef struct { - NPT_String program_title; - NPT_String series_title; - NPT_UInt32 episode_number; -} PLT_RecordedInfo; - -/*---------------------------------------------------------------------- -| PLT_MediaItemResource -+---------------------------------------------------------------------*/ -class PLT_MediaItemResource -{ -public: - PLT_MediaItemResource(); - ~PLT_MediaItemResource() {} - - NPT_String m_Uri; - PLT_ProtocolInfo m_ProtocolInfo; - NPT_UInt32 m_Duration; /* seconds */ - NPT_LargeSize m_Size; - NPT_String m_Protection; - NPT_UInt32 m_Bitrate; /* bytes/seconds */ - NPT_UInt32 m_BitsPerSample; - NPT_UInt32 m_SampleFrequency; - NPT_UInt32 m_NbAudioChannels; - NPT_String m_Resolution; - NPT_UInt32 m_ColorDepth; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaObject -+---------------------------------------------------------------------*/ -/** - The PLT_MediaObject class is any data entity that can be returned by a - ContentDirectory Service from a browsing or searching action. This is the - base class from which PLT_MediaItem and PLT_MediaContainer derive. - */ -class PLT_MediaObject -{ -protected: - NPT_IMPLEMENT_DYNAMIC_CAST(PLT_MediaObject) - - PLT_MediaObject() : m_Restricted(true) {} - -public: - virtual ~PLT_MediaObject() {} - - bool IsContainer() { return m_ObjectClass.type.StartsWith("object.container"); } - - static const char* GetUPnPClass(const char* filename, - const PLT_HttpRequestContext* context = NULL); - - virtual NPT_Result Reset(); - virtual NPT_Result ToDidl(const NPT_String& filter, NPT_String& didl); - virtual NPT_Result ToDidl(NPT_UInt32 mask, NPT_String& didl); - virtual NPT_Result FromDidl(NPT_XmlElementNode* entry); - -public: - /* common properties */ - PLT_ObjectClass m_ObjectClass; - NPT_String m_ObjectID; - NPT_String m_ParentID; - NPT_String m_ReferenceID; - - /* metadata */ - NPT_String m_Title; - NPT_String m_Creator; - NPT_String m_Date; - PLT_PeopleInfo m_People; - PLT_AffiliationInfo m_Affiliation; - PLT_Description m_Description; - PLT_RecordedInfo m_Recorded; - - /* properties */ - bool m_Restricted; - - /* extras */ - PLT_ExtraInfo m_ExtraInfo; - - /* miscellaneous info */ - PLT_MiscInfo m_MiscInfo; - - /* resources related */ - NPT_Array<PLT_MediaItemResource> m_Resources; - - /* original DIDL for Control Points to pass to a renderer when invoking SetAVTransportURI */ - NPT_String m_Didl; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaItem -+---------------------------------------------------------------------*/ -/** - The PLT_MediaItem class represents a first-level class derived directly from - PLT_MediaObject. It most often represents a single piece of AV data. - */ -class PLT_MediaItem : public PLT_MediaObject -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST_D(PLT_MediaItem, PLT_MediaObject) - - PLT_MediaItem(); - virtual ~PLT_MediaItem(); - - // PLT_MediaObject methods - NPT_Result ToDidl(const NPT_String& filter, NPT_String& didl); - NPT_Result ToDidl(NPT_UInt32 mask, NPT_String& didl); - NPT_Result FromDidl(NPT_XmlElementNode* entry); -}; - -/*---------------------------------------------------------------------- -| PLT_MediaContainer -+---------------------------------------------------------------------*/ -/** - The PLT_MediaContainer class represents a first-level class derived directly - from PLT_MediaObject. A PLT_MediaContainer represents a collection of - PLT_MediaObject instances. - */ -class PLT_MediaContainer : public PLT_MediaObject -{ -public: - NPT_IMPLEMENT_DYNAMIC_CAST_D(PLT_MediaContainer, PLT_MediaObject) - - PLT_MediaContainer(); - virtual ~PLT_MediaContainer(); - - // PLT_MediaObject methods - NPT_Result Reset(); - NPT_Result ToDidl(const NPT_String& filter, NPT_String& didl); - NPT_Result ToDidl(NPT_UInt32 mask, NPT_String& didl); - NPT_Result FromDidl(NPT_XmlElementNode* entry); - -public: - NPT_List<PLT_SearchClass> m_SearchClasses; - - /* properties */ - bool m_Searchable; - - /* container info related */ - NPT_Int32 m_ChildrenCount; - NPT_UInt32 m_ContainerUpdateID; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaObjectList -+---------------------------------------------------------------------*/ -/** - The PLT_MediaObjectList class is a list of PLT_MediaObject instances. - */ -class PLT_MediaObjectList : public NPT_List<PLT_MediaObject*> -{ -public: - PLT_MediaObjectList(); - -protected: - virtual ~PLT_MediaObjectList(void); - friend class NPT_Reference<PLT_MediaObjectList>; -}; - -typedef NPT_Reference<PLT_MediaObjectList> PLT_MediaObjectListReference; -typedef NPT_Reference<PLT_MediaObject> PLT_MediaObjectReference; - -#endif /* _PLT_MEDIA_ITEM_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaRenderer.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaRenderer.h deleted file mode 100644 index d596838fcb..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaRenderer.h +++ /dev/null @@ -1,117 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Renderer Device -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_MEDIA_RENDERER_H_ -#define _PLT_MEDIA_RENDERER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltDeviceHost.h" - -/*---------------------------------------------------------------------- -| PLT_MediaRendererDelegate -+---------------------------------------------------------------------*/ -class PLT_MediaRendererDelegate -{ -public: - virtual ~PLT_MediaRendererDelegate() {} - - // ConnectionManager - virtual NPT_Result OnGetCurrentConnectionInfo(PLT_ActionReference& action) = 0; - - // AVTransport - virtual NPT_Result OnNext(PLT_ActionReference& action) = 0; - virtual NPT_Result OnPause(PLT_ActionReference& action) = 0; - virtual NPT_Result OnPlay(PLT_ActionReference& action) = 0; - virtual NPT_Result OnPrevious(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSeek(PLT_ActionReference& action) = 0; - virtual NPT_Result OnStop(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSetAVTransportURI(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSetPlayMode(PLT_ActionReference& action) = 0; - - // RenderingControl - virtual NPT_Result OnSetVolume(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSetVolumeDB(PLT_ActionReference& action) = 0; - virtual NPT_Result OnGetVolumeDBRange(PLT_ActionReference& action) = 0; - virtual NPT_Result OnSetMute(PLT_ActionReference& action) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaRenderer -+---------------------------------------------------------------------*/ -class PLT_MediaRenderer : public PLT_DeviceHost -{ -public: - PLT_MediaRenderer(const char* friendly_name, - bool show_ip = false, - const char* uuid = NULL, - unsigned int port = 0, - bool port_rebind = false); - // methods - virtual void SetDelegate(PLT_MediaRendererDelegate* delegate) { m_Delegate = delegate; } - - // PLT_DeviceHost methods - virtual NPT_Result SetupServices(); - virtual NPT_Result OnAction(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - -protected: - virtual ~PLT_MediaRenderer(); - - // PLT_MediaRendererInterface methods - // ConnectionManager - virtual NPT_Result OnGetCurrentConnectionInfo(PLT_ActionReference& action); - - // AVTransport - virtual NPT_Result OnNext(PLT_ActionReference& action); - virtual NPT_Result OnPause(PLT_ActionReference& action); - virtual NPT_Result OnPlay(PLT_ActionReference& action); - virtual NPT_Result OnPrevious(PLT_ActionReference& action); - virtual NPT_Result OnSeek(PLT_ActionReference& action); - virtual NPT_Result OnStop(PLT_ActionReference& action); - virtual NPT_Result OnSetAVTransportURI(PLT_ActionReference& action); - virtual NPT_Result OnSetPlayMode(PLT_ActionReference& action); - - // RenderingControl - virtual NPT_Result OnSetVolume(PLT_ActionReference& action); - virtual NPT_Result OnSetVolumeDB(PLT_ActionReference &action); - virtual NPT_Result OnGetVolumeDBRange(PLT_ActionReference &action); - virtual NPT_Result OnSetMute(PLT_ActionReference& action); - -private: - PLT_MediaRendererDelegate* m_Delegate; -}; - -#endif /* _PLT_MEDIA_RENDERER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaServer.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaServer.h deleted file mode 100644 index fb4f9f3288..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaServer.h +++ /dev/null @@ -1,187 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Server Device -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Server. - */ - -#ifndef _PLT_MEDIA_SERVER_H_ -#define _PLT_MEDIA_SERVER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltDeviceHost.h" -#include "PltMediaItem.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define MAX_PATH_LENGTH 1024 - -/*---------------------------------------------------------------------- -| PLT_MediaServerDelegate -+---------------------------------------------------------------------*/ -/** - The PLT_MediaServerDelegate class is an interface for delegating the handling - of the required UPnP AV ContentDirectory service actions. It also handles - resource HTTP requests (downloading). - */ -class PLT_MediaServerDelegate -{ -public: - PLT_MediaServerDelegate() {} - virtual ~PLT_MediaServerDelegate() {} - - virtual NPT_Result OnBrowseMetadata(PLT_ActionReference& /*action*/, - const char* /*object_id*/, - const char* /*filter*/, - NPT_UInt32 /*starting_index*/, - NPT_UInt32 /*requested_count*/, - const char* /*sort_criteria*/, - const PLT_HttpRequestContext& /*context*/) = 0; - virtual NPT_Result OnBrowseDirectChildren(PLT_ActionReference& /*action*/, - const char* /*object_id*/, - const char* /*filter*/, - NPT_UInt32 /*starting_index*/, - NPT_UInt32 /*requested_count*/, - const char* /*sort_criteria*/, - const PLT_HttpRequestContext& /*context*/) = 0; - virtual NPT_Result OnSearchContainer(PLT_ActionReference& /*action*/, - const char* /*container_id*/, - const char* /*search_criteria*/, - const char* /*filter*/, - NPT_UInt32 /*starting_index*/, - NPT_UInt32 /*requested_count*/, - const char* /*sort_criteria*/, - const PLT_HttpRequestContext& /*context*/) = 0; - virtual NPT_Result ProcessFileRequest(NPT_HttpRequest& /*request*/, - const NPT_HttpRequestContext& /*context*/, - NPT_HttpResponse& /*response*/) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_MediaServer -+---------------------------------------------------------------------*/ -/** - The PLT_MediaServer class implements the base class for a UPnP AV - Media Server device. - */ -class PLT_MediaServer : public PLT_DeviceHost -{ -public: - /* BrowseFlags */ - enum BrowseFlags { - BROWSEMETADATA, - BROWSEDIRECTCHILDREN - }; - - // class methods - static NPT_Result ParseBrowseFlag(const char* str, BrowseFlags& flag); - static NPT_Result ParseSort(const NPT_String& sort, NPT_List<NPT_String>& list); - - // constructor - PLT_MediaServer(const char* friendly_name, - bool show_ip = false, - const char* uuid = NULL, - NPT_UInt16 port = 0, - bool port_rebind = false); - - // methods - virtual void SetDelegate(PLT_MediaServerDelegate* delegate) { m_Delegate = delegate; } - PLT_MediaServerDelegate* GetDelegate() { return m_Delegate; } - virtual void UpdateSystemUpdateID(NPT_UInt32 update); - virtual void UpdateContainerUpdateID(const char* id, NPT_UInt32 update); - -protected: - virtual ~PLT_MediaServer(); - - // PLT_DeviceHost methods - virtual NPT_Result SetupServices(); - virtual NPT_Result OnAction(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result ProcessHttpGetRequest(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - - // ConnectionManager - virtual NPT_Result OnGetCurrentConnectionIDs(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnGetProtocolInfo(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnGetCurrentConnectionInfo(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - - // ContentDirectory - virtual NPT_Result OnGetSortCapabilities(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnGetSearchCapabilities(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnGetSystemUpdateID(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnBrowse(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnSearch(PLT_ActionReference& action, - const PLT_HttpRequestContext& context); - - // overridable methods - virtual NPT_Result OnBrowseMetadata(PLT_ActionReference& action, - const char* object_id, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnBrowseDirectChildren(PLT_ActionReference& action, - const char* object_id, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - virtual NPT_Result OnSearchContainer(PLT_ActionReference& action, - const char* container_id, - const char* search_criteria, - const char* filter, - NPT_UInt32 starting_index, - NPT_UInt32 requested_count, - const char* sort_criteria, - const PLT_HttpRequestContext& context); - -private: - PLT_MediaServerDelegate* m_Delegate; -}; - -#endif /* _PLT_MEDIA_SERVER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaServerObject.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaServerObject.h deleted file mode 100644 index ceeeb64e9b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMediaServerObject.h +++ /dev/null @@ -1,87 +0,0 @@ -// -// PltMediaServerObject.h -// Platinum -// -// Created by Sylvain on 9/14/10. -// Copyright 2010 Plutinosoft LLC. All rights reserved. -// - -#import "NptConfig.h" - -#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE -#include <UIKit/UIKit.h> -#else -#import <Cocoa/Cocoa.h> -#endif - -#import "PltUPnPObject.h" - -// define -#if !defined(_PLATINUM_H_) -typedef class PLT_HttpRequestContext PLT_HttpRequestContext; -typedef class NPT_HttpResponse NPT_HttpResponse; -#endif - -/*---------------------------------------------------------------------- -| PLT_MediaServerObject -+---------------------------------------------------------------------*/ -@interface PLT_MediaServerObject : PLT_DeviceHostObject { - id delegate; -} - -@property (nonatomic, assign) id delegate; // we do not retain to avoid circular ref count -@end - -/*---------------------------------------------------------------------- -| PLT_MediaServerBrowseCapsule -+---------------------------------------------------------------------*/ -@interface PLT_MediaServerBrowseCapsule : PLT_ActionObject { - NSString* objectId; - NPT_UInt32 start; - NPT_UInt32 count; - NSString* filter; - NSString* sort; - PLT_HttpRequestContext* context; -} - -- (id)initWithAction:(PLT_Action*)action objectId:(const char*)objectId filter:(const char*)filter start:(NPT_UInt32)start count:(NPT_UInt32)count sort:(const char*)sort context:(PLT_HttpRequestContext*)context; - -@property (readonly, assign) NSString* objectId; -@property (readonly) NPT_UInt32 start; -@property (readonly) NPT_UInt32 count; -@property (readonly, assign) NSString* filter; -@property (readonly, assign) NSString* sort; -@end - -/*---------------------------------------------------------------------- -| PLT_MediaServerSearchCapsule -+---------------------------------------------------------------------*/ -@interface PLT_MediaServerSearchCapsule : PLT_MediaServerBrowseCapsule { - NSString* search; -} - -- (id)initWithAction:(PLT_Action*)action objectId:(const char*)objectId search:(const char*)search filter:(const char*)filter start:(NPT_UInt32)start count:(NPT_UInt32)count sort:(const char*)sort context:(PLT_HttpRequestContext*)context; - -@property (readonly, assign) NSString* search; -@end - -/*---------------------------------------------------------------------- -| PLT_MediaServerFileRequestCapsule -+---------------------------------------------------------------------*/ -@interface PLT_MediaServerFileRequestCapsule : NSObject { - NPT_HttpResponse* response; - PLT_HttpRequestContext* context; -} - -- (id)initWithResponse:(NPT_HttpResponse*)response context:(PLT_HttpRequestContext*)context; -@end - -/*---------------------------------------------------------------------- -| PLT_MediaServerDelegateObject -+---------------------------------------------------------------------*/ -@protocol PLT_MediaServerDelegateObject -- (NPT_Result)onBrowseMetadata:(PLT_MediaServerBrowseCapsule*)info; -- (NPT_Result)onBrowseDirectChildren:(PLT_MediaServerBrowseCapsule*)info; -- (NPT_Result)onSearchContainer:(PLT_MediaServerSearchCapsule*)info; -- (NPT_Result)onFileRequest:(PLT_MediaServerFileRequestCapsule*)info; -@end diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMetadataHandler.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMetadataHandler.h deleted file mode 100644 index d1709bd04e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMetadataHandler.h +++ /dev/null @@ -1,91 +0,0 @@ -/***************************************************************** -| -| Platinum - Metadata Handler -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_METADATA_HANDLER_H_ -#define _PLT_METADATA_HANDLER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_MetadataHandler class -+---------------------------------------------------------------------*/ -class PLT_MetadataHandler -{ -public: - virtual ~PLT_MetadataHandler() {} - - // metadata overridables - virtual bool HandleExtension(const char* extension) = 0; - virtual NPT_Result Load(NPT_InputStream& stream, - NPT_TimeInterval sleeptime = NPT_TimeInterval(.01), - NPT_TimeInterval timeout = NPT_TimeInterval(30.)) = 0; - virtual NPT_Result Save(NPT_OutputStream& stream, - NPT_TimeInterval sleeptime = NPT_TimeInterval(.01), - NPT_TimeInterval timeout = NPT_TimeInterval(30.)) = 0; - - virtual const char* GetLicenseData(NPT_String& licenseData) = 0; - virtual NPT_Result GetCoverArtData(char*& caData, int& len) = 0; - virtual const char* GetContentID(NPT_String& value) = 0; - virtual const char* GetTitle(NPT_String& value) = 0; - virtual const char* GetDescription(NPT_String& value) = 0; - virtual NPT_Result GetDuration(NPT_UInt32& seconds) = 0; - virtual const char* GetProtection(NPT_String& protection) = 0; - virtual NPT_Result GetYear(NPT_Size& year) = 0; - - // helper functions - virtual NPT_Result Load(const char* filename); - virtual NPT_Result Save(const char* filename); -}; - -/*---------------------------------------------------------------------- -| PLT_MetadataHandlerFinder -+---------------------------------------------------------------------*/ -class PLT_MetadataHandlerFinder -{ -public: - // methods - PLT_MetadataHandlerFinder(const char* extension) : m_Extension(extension) {} - bool operator()(PLT_MetadataHandler* const & handler) const { - return handler->HandleExtension(m_Extension) ? true : false; - } - -private: - // members - NPT_String m_Extension; -}; - -#endif /* _PLT_METADATA_HANDLER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMimeType.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMimeType.h deleted file mode 100644 index 0af0a890e3..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltMimeType.h +++ /dev/null @@ -1,75 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media MimeType -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media MimeType. - */ - -#ifndef _PLT_MIMETYPE_H_ -#define _PLT_MIMETYPE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_HttpRequestContext; - -/*---------------------------------------------------------------------- -| PLT_MimeType -+---------------------------------------------------------------------*/ -class PLT_MimeType -{ -public: - virtual ~PLT_MimeType() {} - - static const char* GetMimeType(const NPT_String& filename, - const PLT_HttpRequestContext* context = NULL); - static const char* GetMimeType(const NPT_String& filename, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - - static const char* GetMimeTypeFromExtension(const NPT_String& extension, - const PLT_HttpRequestContext* context = NULL); - static const char* GetMimeTypeFromExtension(const NPT_String& extension, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - -private: - PLT_MimeType() {} - -}; - -#endif /* _PLT_MIMETYPE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltProtocolInfo.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltProtocolInfo.h deleted file mode 100644 index d86ef0c38d..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltProtocolInfo.h +++ /dev/null @@ -1,158 +0,0 @@ -/***************************************************************** -| -| Platinum - AV Media Protocol Info -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Object Protocol Info. - */ - -#ifndef _PLT_PROTOCOL_INFO_H_ -#define _PLT_PROTOCOL_INFO_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltHttp.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_HttpRequestContext; - -/*---------------------------------------------------------------------- -| typedefs -+---------------------------------------------------------------------*/ -typedef struct PLT_HttpFileRequestHandler_DefaultDlnaExtMapEntry { - const char* mime_type; - const char* dlna_ext; -} PLT_HttpFileRequestHandler_DefaultDlnaExtMapEntry ; - -/*---------------------------------------------------------------------- -| PLT_ProtocolInfo -+---------------------------------------------------------------------*/ -/** - The PLT_ProtocolInfo class holds information about the protocol info of a - given UPnP Media Item resource. - */ -class PLT_ProtocolInfo -{ -public: - class FieldEntry { - public: - FieldEntry(const char* key, const char* value) : - m_Key(key), m_Value(value) {} - NPT_String m_Key; - NPT_String m_Value; - }; - - // class methods - static NPT_String GetMimeTypeFromProtocolInfo(const char* protocol_info); - - static const char* GetDlnaExtension(const char* mime_type, - const PLT_HttpRequestContext* context = NULL); - static const char* GetDlnaExtension(const char* mime_type, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - - static PLT_ProtocolInfo GetProtocolInfo(const char* filename, - bool with_dlna_extension = true, - const PLT_HttpRequestContext* context = NULL); - static PLT_ProtocolInfo GetProtocolInfo(const char* filename, - bool with_dlna_extension = true, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - - static PLT_ProtocolInfo GetProtocolInfoFromMimeType(const char* mime_type, - bool with_dlna_extension = true, - const PLT_HttpRequestContext* context = NULL); - static PLT_ProtocolInfo GetProtocolInfoFromMimeType(const char* mime_type, - bool with_dlna_extension = true, - PLT_DeviceSignature signature = PLT_DEVICE_UNKNOWN); - - // methods - PLT_ProtocolInfo(); - //PLT_ProtocolInfo(NPT_String protocol_info); - PLT_ProtocolInfo(const char* protocol_info); - PLT_ProtocolInfo(const char* protocol, - const char* mask, - const char* content_type, - const char* extra); - const NPT_String& GetProtocol() const { return m_Protocol; } - const NPT_String& GetMask() const { return m_Mask; } - const NPT_String& GetContentType() const { return m_ContentType; } - const NPT_String& GetExtra() const { return m_Extra; } - - const NPT_String& GetDLNA_PN() const { return m_DLNA_PN; } - - bool IsValid() { return m_Valid; } - - NPT_String ToString() const; - - bool Match(const PLT_ProtocolInfo& other) const; - -private: - typedef enum { - PLT_PROTINFO_PARSER_STATE_START, - PLT_PROTINFO_PARSER_STATE_PN, - PLT_PROTINFO_PARSER_STATE_OP, - PLT_PROTINFO_PARSER_STATE_PS, - PLT_PROTINFO_PARSER_STATE_CI, - PLT_PROTINFO_PARSER_STATE_FLAGS, - PLT_PROTINFO_PARSER_STATE_MAXSP, - PLT_PROTINFO_PARSER_STATE_OTHER - } PLT_ProtocolInfoParserState; - - NPT_Result SetProtocolInfo(const char* protocol_info); - NPT_Result ValidateField(const char* val, - const char* valid_chars, - NPT_Cardinal num_chars = 0); // 0 means variable number of chars - NPT_Result ParseExtra(NPT_List<FieldEntry>& entries); - NPT_Result ValidateExtra(); - -private: - NPT_String m_Protocol; - NPT_String m_Mask; - NPT_String m_ContentType; - NPT_String m_Extra; - - NPT_String m_DLNA_PN; // DLNA.ORG_PN Parameter (pn-param) - NPT_String m_DLNA_OP; // Operations Parameter (op-param) - NPT_String m_DLNA_PS; // Server-Side PlaySpeeds Parameter (ps-param) - NPT_String m_DLNA_CI; // Conversion Indicator Flag (ci-param) - NPT_String m_DLNA_FLAGS; // Flags Parameter (flags-param) - NPT_String m_DLNA_MAXSP; // Maximum RTSP Speed Header value (maxsp-param) - NPT_List<FieldEntry> m_DLNA_OTHER; // Vendor-defined 4th field Parameters (other-param) - - bool m_Valid; -}; - -#endif /* _PLT_PROTOCOL_INFO_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltRingBufferStream.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltRingBufferStream.h deleted file mode 100644 index d8ecd11d8e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltRingBufferStream.h +++ /dev/null @@ -1,121 +0,0 @@ -/***************************************************************** -| -| Platinum - Ring buffer stream -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_RING_BUFFER_STREAM_H_ -#define _PLT_RING_BUFFER_STREAM_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStreams.h" -#include "NptRingBuffer.h" -#include "NptThreads.h" - -/*---------------------------------------------------------------------- -| PLT_RingBufferStream class -+---------------------------------------------------------------------*/ -class PLT_RingBufferStream : public NPT_DelegatingInputStream, - public NPT_DelegatingOutputStream -{ -public: - PLT_RingBufferStream(NPT_Size buffer_size = 4096, bool blocking = true); - PLT_RingBufferStream(NPT_RingBufferReference& buffer, bool blocking = true); - virtual ~PLT_RingBufferStream(); - - // methods - bool IsAborted() { return m_Aborted; } - - // NPT_InputStream methods - NPT_Result Read(void* buffer, - NPT_Size bytes_to_read, - NPT_Size* bytes_read = NULL); - NPT_Result GetSize(NPT_LargeSize& size) { - NPT_COMPILER_UNUSED(size); - return NPT_ERROR_NOT_SUPPORTED; - } - NPT_Result GetSpace(NPT_LargeSize& space) { - NPT_AutoLock autoLock(m_Lock); - space = m_RingBuffer->GetSpace(); - return NPT_SUCCESS; - } - NPT_Result GetAvailable(NPT_LargeSize& available) { - NPT_AutoLock autoLock(m_Lock); - available = m_RingBuffer->GetAvailable(); - return NPT_SUCCESS; - } - - // NPT_OutputStream methods - NPT_Result Write(const void* buffer, - NPT_Size bytes_to_write, - NPT_Size* bytes_written = NULL); - NPT_Result Flush(); - NPT_Result SetEOS(); - NPT_Result Abort(); - -protected: - // NPT_DelegatingInputStream methods - NPT_Result InputSeek(NPT_Position offset) { - NPT_COMPILER_UNUSED(offset); - return NPT_ERROR_NOT_SUPPORTED; - } - NPT_Result InputTell(NPT_Position& offset) { - NPT_AutoLock autoLock(m_Lock); - offset = m_TotalBytesRead; - return NPT_SUCCESS; - } - - // NPT_DelegatingOutputStream methods - NPT_Result OutputSeek(NPT_Position offset) { - NPT_COMPILER_UNUSED(offset); - return NPT_ERROR_NOT_SUPPORTED; - } - NPT_Result OutputTell(NPT_Position& offset) { - NPT_AutoLock autoLock(m_Lock); - offset = m_TotalBytesWritten; - return NPT_SUCCESS; - } - -private: - NPT_RingBufferReference m_RingBuffer; - NPT_Offset m_TotalBytesRead; - NPT_Offset m_TotalBytesWritten; - NPT_Mutex m_Lock; - bool m_Blocking; - bool m_Eos; - bool m_Aborted; -}; - -typedef NPT_Reference<PLT_RingBufferStream> PLT_RingBufferStreamReference; - -#endif // _PLT_RING_BUFFER_STREAM_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltService.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltService.h deleted file mode 100644 index 84959f2322..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltService.h +++ /dev/null @@ -1,521 +0,0 @@ -/***************************************************************** -| -| Platinum - Service -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Service - */ - -#ifndef _PLT_SERVICE_H_ -#define _PLT_SERVICE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltEvent.h" -#include "PltArgument.h" -#include "PltStateVariable.h" -#include "PltAction.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_DeviceData; - -/*---------------------------------------------------------------------- -| PLT_Service class -+---------------------------------------------------------------------*/ -/** - UPnP Service. - The PLT_Service class holds information about a UPnP service of a given device. - It maintains a list of actions and state variables. A PLT_DeviceData instance can own - one or more PLT_Service instances. When a PLT_Service is advertised as part of a - a UPnP Device (PLT_DeviceHost), it also maintains a list of subscribers to nofify when - state variables change. - */ -class PLT_Service -{ -public: - // methods - /** - Create an instance of a UPnP Service either hosted or discovered. - @param device Pointer to the PLT_DeviceData the service is associated to - @param type String representing the UPnP service type - @param id String representing the UPnP service id - @param name A String to create unique service SCPD, control and eventing urls - @param last_change_namespace A String for the LastChange state variable namespace if any - */ - PLT_Service(PLT_DeviceData* device, - const char* type, - const char* id, - const char* name, - const char* last_change_namespace = NULL); - virtual ~PLT_Service(); - - // methods - /** - When service is hosted by a PLT_DeviceHost, this setups the SCPD, control and event urls. - @param service_name the service name used to format unique urls - */ - NPT_Result InitURLs(const char* service_name); - - /** - Verify the service has been properly initialized or is a valid discovered service. - @return true if valid. - */ - bool IsValid() { return (m_ActionDescs.GetItemCount() > 0); } - - /** - When a PLT_DeviceHost needs to change more than one state variables at a time - but would rather send only one event with all state variable changes, this can be - used to pause and resume the automatic eventing. - @param pause Flag to indicate if eventing should be paused or resumed - */ - NPT_Result PauseEventing(bool pause = true); - - // class methods - static bool IsTrue(const NPT_String& value) { - if (value.Compare("1", true) && - value.Compare("true", true) && - value.Compare("yes", true)) { - return false; - } - return true; - } - - // accessor methods - /** - Set the SCPD url for control points to be able to fetch the SCPD xml document. - @param url relative path of SCPD url - */ - NPT_Result SetSCPDURL(const char* url) { m_SCPDURL = url; return NPT_SUCCESS; } - - /* - Set the Service Control url for control points to be able to invoke actions. - @param url relative path of control url - */ - NPT_Result SetControlURL(const char* url) { m_ControlURL = url; return NPT_SUCCESS; }; - - /** - Set the Service Event subscription url for control points to be able to subscribe - to events. - @param url relative path of even url - */ - NPT_Result SetEventSubURL(const char* url) { m_EventSubURL = url; return NPT_SUCCESS; }; - - /** - Return the SCPD url associated with this service. - @param absolute flag to indicate if absolute url including ip and port should - be returned - @return SCPD url - */ - NPT_String GetSCPDURL(bool absolute = false); - - /** - Return the Control url associated with this service. - @param absolute flag to indicate if absolute url including ip and port should - be returned - @return Control url - */ - NPT_String GetControlURL(bool absolute = false); - - /** - Return the Event subscription url associated with this service. - @param absolute flag to indicate if absolute url including ip and port should - be returned - @return Event url - */ - NPT_String GetEventSubURL(bool absolute = false); - - /** - Return the service id. - @return service id - */ - const NPT_String& GetServiceID() const { return m_ServiceID; } - - /** - Return the service type. - @return service type - */ - const NPT_String& GetServiceType() const { return m_ServiceType; } - - /** - Return the service friendly name. - @return service name - */ - const NPT_String& GetServiceName() const { return m_ServiceName; } - - /** - Return the PLT_DeviceData* the service is associated with. - @return PLT_DeviceData pointer - */ - PLT_DeviceData* GetDevice() { return m_Device; } - - /** - When a control point discover a new service with a higher version number - than it can work with, a lower version can be set to force backward - compatibility. - @param version Integer specifying the version to use - */ - NPT_Result ForceVersion(NPT_Cardinal version); - - /** - Return the service SCPD xml document. - @param xml String to receive document - */ - NPT_Result GetSCPDXML(NPT_String& xml); - - /** - Set the service SCPD xml document. - @param xml String SCPD xml document - */ - NPT_Result SetSCPDXML(const char* xml); - - /** - Populate the UPnP Device description document with service information. - @param parent XML Element where to insert the service XML Element - @param service Pointer to service XML Element node newly created so it can be - extended with additional non standard information. - */ - NPT_Result GetDescription(NPT_XmlElementNode* parent, NPT_XmlElementNode** service = NULL); - - /** - Set a new value for a given state variable. The service keeps track of which - state variables have changed and events are being triggered by a PLT_ServiceEventTask - when necessary. - @param name state variable name - @param value new State Variable value. - */ - NPT_Result SetStateVariable(const char* name, const char* value); - - /** - Certain state variables notifications must not be sent faster than a certain - rate according to the UPnP specs. This sets the rate for a given state variable. - @param name state variable name - @param rate a time interval specifying the minimum interval allowed between - notifications. - */ - NPT_Result SetStateVariableRate(const char* name, NPT_TimeInterval rate); - - /** - Certain state variables require extra xml attributes when serialized. - @param name state variable name - @param key the attribute name - @param value the attribute value - */ - NPT_Result SetStateVariableExtraAttribute(const char* name, const char* key, const char* value); - - /** - Helper function to increment a state variable representing a number. - @param name state variable name - */ - NPT_Result IncStateVariable(const char* name); - - /** - Return the PLT_StateVariable pointer given a state variable name. - @param name state variable name - @return PLT_StateVariable pointer - */ - PLT_StateVariable* FindStateVariable(const char* name); - - /** - Return the state variable value given a state variable name. - @param name state variable name - @param value state variable value output - */ - NPT_Result GetStateVariableValue(const char* name, NPT_String& value); - - /** - Return whether a service is capable of sending events. - @return true if sending events - */ - bool IsSubscribable(); - - /** - Return the list of state variables. - @return list of state variable pointers. - */ - const NPT_List<PLT_StateVariable*>& GetStateVariables() const { return m_StateVars; } - - /** - Return the PLT_ActionDesc given an action name - @param name action name - @return PLT_ActioDesc pointer - */ - PLT_ActionDesc* FindActionDesc(const char* name); - - /** - Return an array of actions descriptions PLT_ActionDesc. - @return array of PLT_ActionDesc pointers. - */ - const NPT_Array<PLT_ActionDesc*>& GetActionDescs() const { return m_ActionDescs; } - -private: - /** - A task to send events. - The PLT_ServiceEventTask is started when receiving a first subscription. It - monitors if some state variables have changed and sends events to all - subscribers if so. - */ - class PLT_ServiceEventTask : public PLT_ThreadTask { - public: - PLT_ServiceEventTask(PLT_Service* service) : m_Service(service) {} - - void DoRun() { - while (!IsAborting(100)) m_Service->NotifyChanged(); - } - - private: - PLT_Service* m_Service; - }; - - // methods - void Cleanup(); - - /** - Called by a PLT_StateVariable to keep track of what events need to be - sent by the PLT_ServiceEventTask task. - @param var PLT_StateVariable pointer - */ - NPT_Result AddChanged(PLT_StateVariable* var); - - /** - Certain UPnP services combine state variable changes into one single - state variable called "LastChange". This function updates the LastChange - state variable by looking through the list passed for state variables that - are not individually evented. - */ - NPT_Result UpdateLastChange(NPT_List<PLT_StateVariable*>& vars); - - /** - Send state variable change events to all subscribers. - */ - NPT_Result NotifyChanged(); - - // Events - /** - Called by PLT_DeviceHost when it receives a request for a new subscription. - */ - NPT_Result ProcessNewSubscription( - PLT_TaskManagerReference task_manager, - const NPT_SocketAddress& addr, - const NPT_String& callback_urls, - int timeout, - NPT_HttpResponse& response); - - /** - Called by PLT_DeviceHost when it receives a request renewing an existing - subscription. - */ - NPT_Result ProcessRenewSubscription( - const NPT_SocketAddress& addr, - const NPT_String& sid, - int timeout, - NPT_HttpResponse& response); - - /** - Called by PLT_DeviceHost when it receives a request to cancel an existing - subscription. - */ - NPT_Result ProcessCancelSubscription( - const NPT_SocketAddress& addr, - const NPT_String& sid, - NPT_HttpResponse& response); - - -protected: - // friends that need to call private functions - friend class PLT_StateVariable; // AddChanged - friend class PLT_DeviceHost; // ProcessXXSubscription - - //members - PLT_DeviceData* m_Device; - NPT_String m_ServiceType; - NPT_String m_ServiceID; - NPT_String m_ServiceName; - NPT_String m_SCPDURL; - NPT_String m_ControlURL; - NPT_String m_EventSubURL; - PLT_ServiceEventTask* m_EventTask; - NPT_Array<PLT_ActionDesc*> m_ActionDescs; - NPT_List<PLT_StateVariable*> m_StateVars; - NPT_Mutex m_Lock; - NPT_List<PLT_StateVariable*> m_StateVarsChanged; - NPT_List<PLT_StateVariable*> m_StateVarsToPublish; - NPT_List<PLT_EventSubscriberReference> m_Subscribers; - bool m_EventingPaused; - NPT_String m_LastChangeNamespace; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceSCPDURLFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceSCPDURLFinder class returns an instance of a PLT_Service given a - service SCPD url. - */ -class PLT_ServiceSCPDURLFinder -{ -public: - // methods - PLT_ServiceSCPDURLFinder(const char* url) : m_URL(url) {} - virtual ~PLT_ServiceSCPDURLFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_URL; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceControlURLFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceControlURLFinder class returns an instance of a PLT_Service - given a service control url. - */ -class PLT_ServiceControlURLFinder -{ -public: - // methods - PLT_ServiceControlURLFinder(const char* url) : m_URL(url) {} - virtual ~PLT_ServiceControlURLFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_URL; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceEventSubURLFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceEventSubURLFinder class returns an instance of a PLT_Service - given a service event subscription url. - */ -class PLT_ServiceEventSubURLFinder -{ -public: - // methods - PLT_ServiceEventSubURLFinder(const char* url) : m_URL(url) {} - virtual ~PLT_ServiceEventSubURLFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_URL; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceIDFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceIDFinder class returns an instance of a PLT_Service given a - service id. - */ -class PLT_ServiceIDFinder -{ -public: - // methods - PLT_ServiceIDFinder(const char* id) : m_Id(id) {} - virtual ~PLT_ServiceIDFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_Id; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceTypeFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceTypeFinder class returns an instance of a PLT_Service given a - service type. - */ -class PLT_ServiceTypeFinder -{ -public: - // methods - PLT_ServiceTypeFinder(const char* type) : m_Type(type) {} - virtual ~PLT_ServiceTypeFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_Type; -}; - -/*---------------------------------------------------------------------- -| PLT_ServiceNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_ServiceNameFinder class returns an instance of a PLT_Service given a - service name. - */ -class PLT_ServiceNameFinder -{ -public: - // methods - PLT_ServiceNameFinder(const char* name) : m_Name(name) {} - virtual ~PLT_ServiceNameFinder() {} - bool operator()(PLT_Service* const & service) const; - -private: - // members - NPT_String m_Name; -}; - -/*---------------------------------------------------------------------- -| PLT_LastChangeXMLIterator -+---------------------------------------------------------------------*/ -/** - The PLT_LastChangeXMLIterator class is used to serialize the LastChange variable - changes into xml given a list of state variables. - */ -class PLT_LastChangeXMLIterator -{ -public: - // methods - PLT_LastChangeXMLIterator(NPT_XmlElementNode* node) : m_Node(node) {} - virtual ~PLT_LastChangeXMLIterator() {} - - NPT_Result operator()(PLT_StateVariable* const & var) const; - -private: - NPT_XmlElementNode* m_Node; -}; - -#endif /* _PLT_SERVICE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltSsdp.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltSsdp.h deleted file mode 100644 index 21015e53b1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltSsdp.h +++ /dev/null @@ -1,389 +0,0 @@ -/***************************************************************** -| -| Platinum - SSDP -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP SSDP - */ - -#ifndef _PLT_SSDP_H_ -#define _PLT_SSDP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltThreadTask.h" -#include "PltHttpServerTask.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_DeviceHost; - -/*---------------------------------------------------------------------- -| PLT_SsdpAnnounceType -+---------------------------------------------------------------------*/ -typedef enum { - PLT_ANNOUNCETYPE_BYEBYE, - PLT_ANNOUNCETYPE_ALIVE, - PLT_ANNOUNCETYPE_UPDATE -} PLT_SsdpAnnounceType; - -/*---------------------------------------------------------------------- -| PLT_SsdpPacketListener class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpPacketListener class is an interface for handling SSDP packets - (M-SEARCH and NOTIFY). - */ -class PLT_SsdpPacketListener -{ -public: - virtual ~PLT_SsdpPacketListener() {} - virtual NPT_Result OnSsdpPacket(const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpSearchResponseListener class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpSearchResponseListener class is an interface for handling SSDP M-SEARCH - responses. - */ -class PLT_SsdpSearchResponseListener -{ -public: - virtual ~PLT_SsdpSearchResponseListener() {} - virtual NPT_Result ProcessSsdpSearchResponse(NPT_Result res, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpSender class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpSender class provides a mechanism to format and send SSDP packets. - */ -class PLT_SsdpSender -{ -public: - static NPT_Result SendSsdp(NPT_HttpRequest& request, - const char* usn, - const char* nt, - NPT_UdpSocket& socket, - bool notify, - const NPT_SocketAddress* addr = NULL); - - static NPT_Result SendSsdp(NPT_HttpResponse& response, - const char* usn, - const char* nt, - NPT_UdpSocket& socket, - bool notify, - const NPT_SocketAddress* addr = NULL); - -private: - static NPT_Result FormatPacket(NPT_HttpMessage& message, - const char* usn, - const char* nt, - NPT_UdpSocket& socket, - bool notify); -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpDeviceSearchResponseInterfaceIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpDeviceSearchResponseInterfaceIterator class looks for the best network - interface to use then sends a SSDP M-SEARCH response. - */ -class PLT_SsdpDeviceSearchResponseInterfaceIterator -{ -public: - PLT_SsdpDeviceSearchResponseInterfaceIterator(PLT_DeviceHost* device, - NPT_SocketAddress remote_addr, - const char* st) : - m_Device(device), m_RemoteAddr(remote_addr), m_ST(st) {} - virtual ~PLT_SsdpDeviceSearchResponseInterfaceIterator() {} - - NPT_Result operator()(NPT_NetworkInterface*& if_addr) const; - -private: - PLT_DeviceHost* m_Device; - NPT_SocketAddress m_RemoteAddr; - NPT_String m_ST; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpDeviceSearchResponseTask class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpDeviceSearchResponseTask class is used by a PLT_DeviceHost to respond - to SSDP M-SEARCH requests from UPnP ControlPoints. - */ -class PLT_SsdpDeviceSearchResponseTask : public PLT_ThreadTask -{ -public: - PLT_SsdpDeviceSearchResponseTask(PLT_DeviceHost* device, - NPT_SocketAddress remote_addr, - const char* st) : - m_Device(device), m_RemoteAddr(remote_addr), m_ST(st) {} - -protected: - virtual ~PLT_SsdpDeviceSearchResponseTask() {} - - // PLT_ThreadTask methods - virtual void DoRun(); - -protected: - PLT_DeviceHost* m_Device; - NPT_SocketAddress m_RemoteAddr; - NPT_String m_ST; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpAnnounceInterfaceIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpAnnounceInterfaceIterator class is used to send SSDP announcements - given a list of network interaces. - */ -class PLT_SsdpAnnounceInterfaceIterator -{ -public: - PLT_SsdpAnnounceInterfaceIterator(PLT_DeviceHost* device, PLT_SsdpAnnounceType type, bool broadcast = false) : - m_Device(device), m_Type(type), m_Broadcast(broadcast) {} - - NPT_Result operator()(NPT_NetworkInterface*& if_addr) const; - -private: - PLT_DeviceHost* m_Device; - PLT_SsdpAnnounceType m_Type; - bool m_Broadcast; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpInitMulticastIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpInitMulticastIterator class is used to join a multicast group - given a list of IP addresses. - */ -class PLT_SsdpInitMulticastIterator -{ -public: - PLT_SsdpInitMulticastIterator(NPT_UdpMulticastSocket* socket) : - m_Socket(socket) {} - - NPT_Result operator()(NPT_IpAddress& if_addr) const { - NPT_IpAddress addr; - addr.ResolveName("239.255.255.250"); - // OSX bug, since we're reusing the socket, we need to leave group first - // before joining it - m_Socket->LeaveGroup(addr, if_addr); - return m_Socket->JoinGroup(addr, if_addr); - } - -private: - NPT_UdpMulticastSocket* m_Socket; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpDeviceAnnounceTask class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpDeviceAnnounceTask class is a task to send UPnP Device SSDP announcements - (alive or byebye). It can be setup to automatically repeat after an interval. - */ -class PLT_SsdpDeviceAnnounceTask : public PLT_ThreadTask -{ -public: - PLT_SsdpDeviceAnnounceTask(PLT_DeviceHost* device, - NPT_TimeInterval repeat, - bool is_byebye_first = false, - bool extra_broadcast = false) : - m_Device(device), - m_Repeat(repeat), - m_IsByeByeFirst(is_byebye_first), - m_ExtraBroadcast(extra_broadcast) {} - -protected: - virtual ~PLT_SsdpDeviceAnnounceTask() {} - - // PLT_ThreadTask methods - virtual void DoRun(); - -protected: - PLT_DeviceHost* m_Device; - NPT_TimeInterval m_Repeat; - bool m_IsByeByeFirst; - bool m_ExtraBroadcast; -}; - -/*---------------------------------------------------------------------- -| PLT_NetworkInterfaceAddressSearchIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_NetworkInterfaceAddressSearchIterator class returns the network interface - given an IP address. - */ -class PLT_NetworkInterfaceAddressSearchIterator -{ -public: - PLT_NetworkInterfaceAddressSearchIterator(NPT_String ip) : m_Ip(ip) {} - virtual ~PLT_NetworkInterfaceAddressSearchIterator() {} - - NPT_Result operator()(NPT_NetworkInterface*& addr) const { - NPT_List<NPT_NetworkInterfaceAddress>::Iterator niaddr = addr->GetAddresses().GetFirstItem(); - if (!niaddr) return NPT_FAILURE; - - return (m_Ip.Compare((*niaddr).GetPrimaryAddress().ToString(), true) == 0) ? NPT_SUCCESS : NPT_FAILURE; - } - -private: - NPT_String m_Ip; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpPacketListenerIterator class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpPacketListenerIterator class iterates through a list of - PLT_SsdpPacketListener instances to notify of a new SSDP incoming packet. - */ -class PLT_SsdpPacketListenerIterator -{ -public: - PLT_SsdpPacketListenerIterator(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context) : - m_Request(request), m_Context(context) {} - - NPT_Result operator()(PLT_SsdpPacketListener*& listener) const { - return listener->OnSsdpPacket(m_Request, m_Context); - } - -private: - NPT_HttpRequest& m_Request; - const NPT_HttpRequestContext& m_Context; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpListenTask class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpListenTask class is used to listen for incoming SSDP packets and - keep track of a list of PLT_SsdpPacketListener listeners to notify when a new - SSDP packet has arrived. - */ -class PLT_SsdpListenTask : public PLT_HttpServerSocketTask -{ -public: - PLT_SsdpListenTask(NPT_Socket* socket) : - PLT_HttpServerSocketTask(socket, true) { - // Change read time out for UDP because iPhone 3.0 seems to hang - // after reading everything from the socket even though - // more stuff arrived -#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE - m_Socket->SetReadTimeout(10000); -#endif - } - - NPT_Result AddListener(PLT_SsdpPacketListener* listener) { - NPT_AutoLock lock(m_Mutex); - m_Listeners.Add(listener); - return NPT_SUCCESS; - } - - NPT_Result RemoveListener(PLT_SsdpPacketListener* listener) { - NPT_AutoLock lock(m_Mutex); - m_Listeners.Remove(listener); - return NPT_SUCCESS; - } - - // PLT_Task methods - void DoAbort(); - -protected: - virtual ~PLT_SsdpListenTask() {} - - // PLT_HttpServerSocketTask methods - NPT_Result GetInputStream(NPT_InputStreamReference& stream); - NPT_Result GetInfo(NPT_SocketInfo& info); - NPT_Result SetupResponse(NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse& response); - -protected: - PLT_InputDatagramStreamReference m_Datagram; - NPT_List<PLT_SsdpPacketListener*> m_Listeners; - NPT_Mutex m_Mutex; -}; - -/*---------------------------------------------------------------------- -| PLT_SsdpSearchTask class -+---------------------------------------------------------------------*/ -/** - The PLT_SsdpSearchTask class is a task used by a PLT_CtrlPoint to issue a SSDP - M-SEARCH request. It can be set to repeat at a certain frequencey. - */ -class PLT_SsdpSearchTask : public PLT_ThreadTask -{ -public: - PLT_SsdpSearchTask(NPT_UdpSocket* socket, - PLT_SsdpSearchResponseListener* listener, - NPT_HttpRequest* request, - NPT_TimeInterval frequency = NPT_TimeInterval(0.)); // pass 0 for one time - -protected: - virtual ~PLT_SsdpSearchTask(); - - // PLT_ThreadTask methods - virtual void DoAbort(); - virtual void DoRun(); - - virtual NPT_Result ProcessResponse(NPT_Result res, - const NPT_HttpRequest& request, - const NPT_HttpRequestContext& context, - NPT_HttpResponse* response); - -private: - PLT_SsdpSearchResponseListener* m_Listener; - NPT_HttpRequest* m_Request; - NPT_TimeInterval m_Frequency; - bool m_Repeat; - NPT_UdpSocket* m_Socket; -}; - -#endif /* _PLT_SSDP_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltStateVariable.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltStateVariable.h deleted file mode 100644 index 46ec9e95a3..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltStateVariable.h +++ /dev/null @@ -1,223 +0,0 @@ -/***************************************************************** -| -| Platinum - Service State Variable -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP State Variable - */ - -#ifndef _PLT_STATE_VARIABLE_H_ -#define _PLT_STATE_VARIABLE_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_Argument; -class PLT_Service; - -/*---------------------------------------------------------------------- -| NPT_AllowedValueRange struct -+---------------------------------------------------------------------*/ -/** - The NPT_AllowedValueRange struct holds the min, max and step value allowed of - a UPnP Service state variable. - */ -typedef struct { - NPT_Int32 min_value; - NPT_Int32 max_value; - NPT_Int32 step; -} NPT_AllowedValueRange; - -/*---------------------------------------------------------------------- -| PLT_StateVariable class -+---------------------------------------------------------------------*/ -/** - The PLT_StateVariable class maintains the state of a UPnP Service state variable. - It is used by a PLT_DeviceHost instance to notify subscribers of a change or by a - subscriber (PLT_CtrlPoint) when a service state variable change notification - has been received. - */ -class PLT_StateVariable -{ -public: - PLT_StateVariable(PLT_Service* service); - ~PLT_StateVariable(); - - /** - Populate the SCPD xml document with state variable information. - @param node XML Element where to insert the state variable XML Element - */ - NPT_Result GetSCPDXML(NPT_XmlElementNode* node); - - /** - Return the PLT_Service that this state variable is associated with. - @return PLT_Service pointer. - */ - PLT_Service* GetService(); - - /** - Return whether the state variable is eventable directly or indirectly. A state - variable sends events indirectly when part of the "LastChange" state variable. - @param indirectly Boolean to test if the state variable is sending events indirectly - @return Whether the state variable sends events according to the input flag specified. - */ - bool IsSendingEvents(bool indirectly = false); - - /** - Force the state variable to send events directly. - */ - void DisableIndirectEventing(); - - /** - Certain state variables notifications must not be sent faster than a certain - rate according to the UPnP specs. This sets the rate for a given state variable. - @param rate time interval to respect between notifications. - */ - NPT_Result SetRate(NPT_TimeInterval rate); - - /** - Set the state variable value. The value is first validated to make sure - it is an allowed value. Once the value is validated, it is marked for eventing by - calling the PLT_Service AddChanged function. - @param value new state variable value. Can be a comma separated list of values. - */ - NPT_Result SetValue(const char* value); - - /** - Validate the new value of the state variable. - @param value new state variable value. Can be a comma separated list of values. - */ - NPT_Result ValidateValue(const char* value); - - /** - Certain state variables require extra xml attributes when serialized. - @param name the attribute name - @param value the attribute value - */ - NPT_Result SetExtraAttribute(const char* name, const char* value); - - /** - Return the state variable name. - @return state variable name. - */ - const NPT_String& GetName() const { return m_Name; } - - /** - Return the current state variable value. - @return state variable current value. - */ - const NPT_String& GetValue() const { return m_Value; } - - /** - Return the state variable data type. - @return state variable data type. - */ - const NPT_String& GetDataType() const { return m_DataType; } - - /** - Return the state variable allowed value range if any. - @return state variable value range pointer or null if none. - */ - const NPT_AllowedValueRange* GetAllowedValueRange() const { return m_AllowedValueRange; } - - /** - Helper function to return a state variable given a list of state variables - and a state variable name. - @param vars list of state variables - @param name state variable name to look for - @return PLT_StateVariable pointer. - */ - static PLT_StateVariable* Find(NPT_List<PLT_StateVariable*>& vars, - const char* name); - -protected: - /** - Return whether the state variable value changed and subscribers need to - be notified. - */ - bool IsReadyToPublish(); - - /** - Serialize the state variable into xml. - */ - NPT_Result Serialize(NPT_XmlElementNode& node); - -protected: - friend class PLT_Service; - friend class PLT_LastChangeXMLIterator; - - //members - PLT_Service* m_Service; - NPT_AllowedValueRange* m_AllowedValueRange; - NPT_String m_Name; - NPT_String m_DataType; - NPT_String m_DefaultValue; - bool m_IsSendingEvents; - bool m_IsSendingEventsIndirectly; - NPT_TimeInterval m_Rate; - NPT_TimeStamp m_LastEvent; - NPT_Array<NPT_String*> m_AllowedValues; - NPT_String m_Value; - - NPT_Map<NPT_String,NPT_String> m_ExtraAttributes; -}; - -/*---------------------------------------------------------------------- -| PLT_StateVariableNameFinder -+---------------------------------------------------------------------*/ -/** - The PLT_StateVariableNameFinder class returns the PLT_StateVariable instance - given a state variable name. - */ -class PLT_StateVariableNameFinder -{ -public: - // methods - PLT_StateVariableNameFinder(const char* name) : m_Name(name) {} - virtual ~PLT_StateVariableNameFinder() {} - - bool operator()(const PLT_StateVariable* const & state_variable) const { - return state_variable->GetName().Compare(m_Name, true) ? false : true; - } - -private: - // members - NPT_String m_Name; -}; - -#endif /* _PLT_STATE_VARIABLE_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltStreamPump.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltStreamPump.h deleted file mode 100644 index 58ef256581..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltStreamPump.h +++ /dev/null @@ -1,132 +0,0 @@ -/***************************************************************** -| -| Platinum - Stream Pump -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_STREAM_PUMP_H_ -#define _PLT_STREAM_PUMP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "NptStreams.h" -#include "NptRingBuffer.h" - -/*---------------------------------------------------------------------- -| PLT_PipeInputStream -+---------------------------------------------------------------------*/ -class PLT_PipeInputStream -{ -public: - // constructor and destructor - virtual ~PLT_PipeInputStream() {}; - - // methods - virtual NPT_Result Receive(NPT_InputStream& stream, NPT_Size max_bytes_to_read, NPT_Size* bytes_read = 0) = 0; -}; - -typedef NPT_Reference<PLT_PipeInputStream> PLT_PipeInputStreamReference; - -/*---------------------------------------------------------------------- -| PLT_PipeOutputStream -+---------------------------------------------------------------------*/ -class PLT_PipeOutputStream -{ -public: - // constructor and destructor - virtual ~PLT_PipeOutputStream() {}; - - // methods - virtual NPT_Result Transmit(NPT_OutputStream& stream) = 0; -}; - -typedef NPT_Reference<PLT_PipeOutputStream> PLT_PipeOutputStreamReference; - -/*---------------------------------------------------------------------- -| PLT_StreamPump class -+---------------------------------------------------------------------*/ -class PLT_StreamPump -{ -public: - virtual ~PLT_StreamPump(); - -protected: - // methods - PLT_StreamPump(NPT_Size size = 65535); - NPT_Result PullData(NPT_InputStream& input, NPT_Size max_bytes_to_read); - NPT_Result PushData(NPT_OutputStream& output, NPT_Size& bytes_written); - - // members - NPT_RingBuffer* m_RingBuffer; - NPT_Offset m_TotalBytesRead; - NPT_Offset m_TotalBytesWritten; -}; - -/*---------------------------------------------------------------------- -| PLT_PipeInputStreamPump class -+---------------------------------------------------------------------*/ -class PLT_PipeInputStreamPump : public PLT_StreamPump, - public PLT_PipeInputStream -{ -public: - PLT_PipeInputStreamPump(NPT_OutputStreamReference& output, NPT_Size size = 65535); - virtual ~PLT_PipeInputStreamPump(); - - NPT_Result Receive(NPT_InputStream& input, NPT_Size max_bytes_to_read, NPT_Size* bytes_read); - -protected: - NPT_OutputStreamReference m_Output; - NPT_Result m_LastRes; -}; - -/*---------------------------------------------------------------------- -| PLT_PipeInputStreamPump class -+---------------------------------------------------------------------*/ -class PLT_PipeOutputStreamPump : public PLT_StreamPump, - public PLT_PipeOutputStream -{ -public: - PLT_PipeOutputStreamPump(NPT_InputStreamReference& input, - NPT_Size size = 65535, - NPT_Size max_bytes_to_read = 0); - virtual ~PLT_PipeOutputStreamPump(); - - NPT_Result Transmit(NPT_OutputStream& output); - -protected: - NPT_InputStreamReference m_Input; - NPT_Size m_MaxBytesToRead; - NPT_Result m_LastRes; -}; - - -#endif // _PLT_STREAM_PUMP_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltSyncMediaBrowser.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltSyncMediaBrowser.h deleted file mode 100644 index 0fe43b5cc5..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltSyncMediaBrowser.h +++ /dev/null @@ -1,173 +0,0 @@ -/***************************************************************** -| -| Platinum - Synchronous Media Browser -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP AV Media Controller synchronous implementation. - */ - -#ifndef _PLT_SYNC_MEDIA_BROWSER_ -#define _PLT_SYNC_MEDIA_BROWSER_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltCtrlPoint.h" -#include "PltMediaBrowser.h" -#include "PltMediaCache.h" - -/*---------------------------------------------------------------------- -| types -+---------------------------------------------------------------------*/ -typedef NPT_Map<NPT_String, PLT_DeviceDataReference> PLT_DeviceMap; -typedef NPT_Map<NPT_String, PLT_DeviceDataReference>::Entry PLT_DeviceMapEntry; - -typedef struct PLT_BrowseData { - NPT_SharedVariable shared_var; - NPT_Result res; - PLT_BrowseInfo info; -} PLT_BrowseData; - -typedef NPT_Reference<PLT_BrowseData> PLT_BrowseDataReference; - -/*---------------------------------------------------------------------- -| PLT_MediaContainerListener -+---------------------------------------------------------------------*/ -class PLT_MediaContainerChangesListener -{ -public: - virtual ~PLT_MediaContainerChangesListener() {} - virtual void OnContainerChanged(PLT_DeviceDataReference& device, - const char* item_id, - const char* update_id) = 0; -}; - -/*---------------------------------------------------------------------- -| PLT_SyncMediaBrowser -+---------------------------------------------------------------------*/ -class PLT_SyncMediaBrowser : public PLT_MediaBrowser, - public PLT_MediaBrowserDelegate -{ -public: - PLT_SyncMediaBrowser(PLT_CtrlPointReference& ctrlPoint, - bool use_cache = false, - PLT_MediaContainerChangesListener* listener = NULL); - virtual ~PLT_SyncMediaBrowser(); - - // PLT_MediaBrowser methods - virtual NPT_Result OnDeviceAdded(PLT_DeviceDataReference& device); - virtual NPT_Result OnDeviceRemoved(PLT_DeviceDataReference& device); - - // PLT_MediaBrowserDelegate methods - virtual void OnMSStateVariablesChanged(PLT_Service* service, - NPT_List<PLT_StateVariable*>* vars); - virtual void OnBrowseResult(NPT_Result res, - PLT_DeviceDataReference& device, - PLT_BrowseInfo* info, - void* userdata); - - // methods - void SetContainerListener(PLT_MediaContainerChangesListener* listener) { - m_ContainerListener = listener; - } - NPT_Result BrowseSync(PLT_DeviceDataReference& device, - const char* id, - PLT_MediaObjectListReference& list, - bool metadata = false, - NPT_Int32 start = 0, - NPT_Cardinal max_results = 0); // 0 means all - - const NPT_Lock<PLT_DeviceMap>& GetMediaServersMap() const { return m_MediaServers; } - bool IsCached(const char* uuid, const char* object_id); - -protected: - NPT_Result BrowseSync(PLT_BrowseDataReference& browse_data, - PLT_DeviceDataReference& device, - const char* object_id, - NPT_Int32 index, - NPT_Int32 count, - bool browse_metadata = false, - const char* filter = "dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author,searchable,childCount", // explicitely specify res otherwise WMP won't return a URL! - const char* sort = ""); -private: - NPT_Result Find(const char* ip, PLT_DeviceDataReference& device); - NPT_Result WaitForResponse(NPT_SharedVariable& shared_var); - -private: - NPT_Lock<PLT_DeviceMap> m_MediaServers; - PLT_MediaContainerChangesListener* m_ContainerListener; - bool m_UseCache; - PLT_MediaCache<PLT_MediaObjectListReference,NPT_String> m_Cache; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceMapFinderByIp -+---------------------------------------------------------------------*/ -class PLT_DeviceMapFinderByIp -{ -public: - // methods - PLT_DeviceMapFinderByIp(const char* ip) : m_IP(ip) {} - - bool operator()(const PLT_DeviceMapEntry* const& entry) const { - const PLT_DeviceDataReference& device = entry->GetValue(); - return (device->GetURLBase().GetHost() == m_IP); - } - -private: - // members - NPT_String m_IP; -}; - -/*---------------------------------------------------------------------- -| PLT_DeviceFinderByUUID -+---------------------------------------------------------------------*/ -class PLT_DeviceMapFinderByUUID -{ -public: - // methods - PLT_DeviceMapFinderByUUID(const char* uuid) : m_UUID(uuid) {} - - bool operator()(const PLT_DeviceMapEntry* const& entry) const { - PLT_DeviceDataReference device = entry->GetValue(); - return device->GetUUID() == m_UUID; - } - -private: - // members - NPT_String m_UUID; -}; - -#endif /* _PLT_SYNC_MEDIA_BROWSER_ */ - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltTaskManager.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltTaskManager.h deleted file mode 100644 index cf8f4cb428..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltTaskManager.h +++ /dev/null @@ -1,117 +0,0 @@ -/***************************************************************** -| -| Platinum - Task Manager -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - Runnable Tasks Manager - */ - -#ifndef _PLT_TASKMANAGER_H_ -#define _PLT_TASKMANAGER_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| forward declarations -+---------------------------------------------------------------------*/ -class PLT_ThreadTask; - -/*---------------------------------------------------------------------- -| PLT_TaskManager class -+---------------------------------------------------------------------*/ -/** - The PLT_TaskManager class maintains a list of runnable tasks. During shutdown, it - can stop all running tasks. Additionally, it can limit the number of - tasks that can run at any given time. - */ -class PLT_TaskManager -{ -public: - /** - Create a new Task Manager. - @param max_tasks Maximum number of concurrent tasks that the task manager - will allow. When the value is reached, a thread calling AddTask will block until - a task has finished. - */ - PLT_TaskManager(NPT_Cardinal max_tasks = 0); - virtual ~PLT_TaskManager(); - - /** - Start a new new task and associates it with this task manager. - @param task new task - @param delay optional time interval to wait before launching the new task - @param auto_destroy a flag to indicate if the task is owned by someone else - and thus should not destroy itself when done. - */ - virtual NPT_Result StartTask(PLT_ThreadTask* task, - NPT_TimeInterval* delay = NULL, - bool auto_destroy = true); - - /** - Stop all tasks associated with this task manager. - */ - NPT_Result Abort(); - - /** - Reset task manager after an Abort so new tasks can be queued. - */ - NPT_Result Reset(); - - /** - Returns the max number of concurrent tasks allowed. 0 for no limit. - */ - NPT_Cardinal GetMaxTasks() { return m_MaxTasks; } - -private: - friend class PLT_ThreadTask; - - // called by PLT_ThreadTask - NPT_Result AddTask(PLT_ThreadTask* task); - NPT_Result RemoveTask(PLT_ThreadTask* task); - -private: - NPT_List<PLT_ThreadTask*> m_Tasks; - NPT_Mutex m_TasksLock; - NPT_Mutex m_CallbackLock; - NPT_Queue<int>* m_Queue; - NPT_Cardinal m_MaxTasks; - NPT_Cardinal m_RunningTasks; - bool m_Stopping; -}; - -typedef NPT_Reference<PLT_TaskManager> PLT_TaskManagerReference; - -#endif /* _PLT_TASKMANAGER_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltThreadTask.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltThreadTask.h deleted file mode 100644 index 8315999c8e..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltThreadTask.h +++ /dev/null @@ -1,140 +0,0 @@ -/***************************************************************** -| -| Platinum - Thread Tasks -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - Runnable Task - */ - -#ifndef _PLT_THREADTASK_H_ -#define _PLT_THREADTASK_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" -#include "PltTaskManager.h" - -/*---------------------------------------------------------------------- -| PLT_ThreadTask class -+---------------------------------------------------------------------*/ -/** - The PLT_ThreadTask class is a base class for executing a given task in a worker - thread. A PLT_ThreadTask is usually always associated to a PLT_TaskManager - which maintains a list to stop and destroy tasks when finished. - */ -class PLT_ThreadTask : public NPT_Runnable -{ -public: - friend class PLT_TaskManager; - - /** - When a task is not managed by a PLT_TaskManager, the owner must call - this to stop and destroy it. - */ - NPT_Result Kill(); - -protected: - /** - Return whether this task is in the process of stopping. - @param timeout number of milliseconds to wait - @return boolean indicating if the task is stopping - */ - virtual bool IsAborting(NPT_Timeout timeout) { - return NPT_SUCCEEDED(m_Abort.WaitUntilEquals(1, timeout)); - } - - /** - Start a task by associating it with a task manager. - @param task_manager PLT_TaskManager pointer - @param delay optional time interval to wait before launching the new task - @param auto_destroy a flag to indicate if the task is owned by someone else - and thus should not destroy itself when done. - */ - NPT_Result Start(PLT_TaskManager* task_manager = NULL, - NPT_TimeInterval* delay = NULL, - bool auto_destroy = true); - /** - Stop the task. This is either called by a task manager or the Kill method. - @param blocking Whether the method should block until the task has finished. - */ - NPT_Result Stop(bool blocking = true); - - /** - This method to override in derived classes is called when the task is about - to start. - */ - virtual void DoInit() {} - - /** - This method to override in derived classes is called when the task is about - to stop. - */ - virtual void DoAbort() {} - - /** - This method to override in derived classes is the main task loop. - */ - virtual void DoRun() {} - - /** - A PLT_ThreadTask base class is never instantiated directly. - */ - PLT_ThreadTask(); - - /** - The task manager will destroy the task when finished if m_AutoDestroy is - true otherwise the owner of this task must use the Kill method. - */ - virtual ~PLT_ThreadTask(); - -private: - NPT_Result StartThread(); - - // NPT_Thread methods - void Run(); - -protected: - // members - PLT_TaskManager* m_TaskManager; - -private: - // members - NPT_SharedVariable m_Started; - NPT_SharedVariable m_Abort; - NPT_Thread* m_Thread; - bool m_AutoDestroy; - NPT_TimeInterval m_Delay; -}; - -#endif /* _PLT_THREADTASK_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltUPnP.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltUPnP.h deleted file mode 100644 index 7822bf3458..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltUPnP.h +++ /dev/null @@ -1,143 +0,0 @@ -/***************************************************************** -| -| Platinum - UPnP Engine -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -/** @file - UPnP Devices and ControlPoints Manager - */ - -#ifndef _PLT_UPNP_H_ -#define _PLT_UPNP_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltTaskManager.h" -#include "PltCtrlPoint.h" -#include "PltDeviceHost.h" -#include "PltUtilities.h" - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define PLT_DLNA_SSDP_DELAY 0.05f -#define PLT_DLNA_SSDP_DELAY_GROUP 0.2f - -/*---------------------------------------------------------------------- -| forward definitions -+---------------------------------------------------------------------*/ -class PLT_SsdpListenTask; - -/*---------------------------------------------------------------------- -| PLT_UPnP class -+---------------------------------------------------------------------*/ -/** - The PLT_UPnP class maintains a list of devices (PLT_DeviceHost) to advertise and/or - control points (PLT_CtrlPoint). - */ -class PLT_UPnP -{ -public: - /** - Create a UPnP instance. - */ - PLT_UPnP(); - ~PLT_UPnP(); - - /** - Add and start a device inside this UPnP context. - @param device device to start. - */ - NPT_Result AddDevice(PLT_DeviceHostReference& device); - - /** - Add and start a control point inside this UPnP context. - @param ctrlpoint control point to start. - */ - NPT_Result AddCtrlPoint(PLT_CtrlPointReference& ctrlpoint); - - /** - Remove an existing device from this UPnP context. - @param device device to stop. - */ - NPT_Result RemoveDevice(PLT_DeviceHostReference& device); - - /** - Remove an existing control point from this UPnP context. - @param ctrlpoint control point to stop. - */ - NPT_Result RemoveCtrlPoint(PLT_CtrlPointReference& ctrlpoint); - - /** - Start the UPnP context and all existing devices and control points - associated with it. - */ - NPT_Result Start(); - - /** - Stop the UPnP context and all existing devices and control points - associated with it. - */ - NPT_Result Stop(); - - /** - Return the UPnP Engine state. - @return True if the UPnP engine is running. - */ - bool IsRunning() { return m_Started; } - - /** - When a device and a control point are added to the same UPnP context, it is - desired that the device be not discovered by the control point. For example when - creating a combo UPnP Renderer/CtrlPoint. This methods tells the control point - to ignore devices associated with the same UPnP context. - @param ignore boolean to ignore devices in context - */ - void SetIgnoreLocalUUIDs(bool ignore) { m_IgnoreLocalUUIDs = ignore; } - -private: - // members - NPT_Mutex m_Lock; - NPT_List<PLT_DeviceHostReference> m_Devices; - NPT_List<PLT_CtrlPointReference> m_CtrlPoints; - NPT_Reference<PLT_TaskManager> m_TaskManager; - - // Since we can only have one socket listening on port 1900, - // we create it in here and we will attach every control points - // and devices to it when they're added - bool m_Started; - PLT_SsdpListenTask* m_SsdpListenTask; - bool m_IgnoreLocalUUIDs; -}; - -#endif /* _PLT_UPNP_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltUPnPObject.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltUPnPObject.h deleted file mode 100644 index b7bf9e790b..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltUPnPObject.h +++ /dev/null @@ -1,65 +0,0 @@ -// -// PltUPnPObject.h -// Platinum -// -// Created by Sylvain on 9/14/10. -// Copyright 2010 Plutinosoft LLC. All rights reserved. -// - -#import "NptConfig.h" -#import "NptTypes.h" -#import "NptResults.h" - -#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE -#include <UIKit/UIKit.h> -#else -#import <Cocoa/Cocoa.h> -#endif - - -#if !defined(_PLATINUM_H_) -typedef struct PLT_UPnP PLT_UPnP; -typedef struct PLT_Action PLT_Action; -typedef struct PLT_DeviceHostReference PLT_DeviceHostReference; -#endif - -/*---------------------------------------------------------------------- -| PLT_ActionObject -+---------------------------------------------------------------------*/ -@interface PLT_ActionObject : NSObject { -@private - PLT_Action* action; -} - -- (id)initWithAction:(PLT_Action *)_action; -- (NPT_Result)setValue:(NSString*)value forArgument:(NSString*)argument; -- (NPT_Result)setErrorCode:(unsigned int)code withDescription:(NSString*)description; -@end - -/*---------------------------------------------------------------------- -| PLT_DeviceHostObject -+---------------------------------------------------------------------*/ -@interface PLT_DeviceHostObject : NSObject { -@private - PLT_DeviceHostReference* device; -} - -- (id)initWithDeviceHost:(PLT_DeviceHostReference*)device; -@end - -/*---------------------------------------------------------------------- -| PLT_UPnPObject -+---------------------------------------------------------------------*/ -@interface PLT_UPnPObject : NSObject { -@private - PLT_UPnP* upnp; -} - -- (NPT_Result)start; -- (NPT_Result)stop; -- (bool)isRunning; - -- (NPT_Result)addDevice:(PLT_DeviceHostObject*)device; -- (NPT_Result)removeDevice:(PLT_DeviceHostObject*)device; - -@end diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltUtilities.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltUtilities.h deleted file mode 100644 index bdc1340173..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltUtilities.h +++ /dev/null @@ -1,765 +0,0 @@ -/***************************************************************** -| -| Platinum - Utilities -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_UTILITIES_H_ -#define _PLT_UTILITIES_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "Neptune.h" - -/*---------------------------------------------------------------------- -| PLT_XmlAttributeFinder -+---------------------------------------------------------------------*/ -/** - The PLT_XmlAttributeFinder class is used to determine if an attribute - exists given an xml element node, an attribute name and namespace. - */ -class PLT_XmlAttributeFinder -{ -public: - // if 'namespc' is NULL, we're looking for ANY namespace - // if 'namespc' is '\0', we're looking for NO namespace - // if 'namespc' is non-empty, look for that SPECIFIC namespace - PLT_XmlAttributeFinder(const NPT_XmlElementNode& element, - const char* name, - const char* namespc) : - m_Element(element), m_Name(name), m_Namespace(namespc) {} - - bool operator()(const NPT_XmlAttribute* const & attribute) const { - if (attribute->GetName() == m_Name) { - if (m_Namespace) { - const NPT_String& prefix = attribute->GetPrefix(); - if (m_Namespace[0] == '\0') { - // match if the attribute has NO namespace - return prefix.IsEmpty(); - } else { - // match if the attribute has the SPECIFIC namespace - // we're looking for - const NPT_String* namespc = m_Element.GetNamespaceUri(prefix); - return namespc && *namespc == m_Namespace; - } - } else { - // ANY namespace will match - return true; - } - } else { - return false; - } - } - -private: - const NPT_XmlElementNode& m_Element; - const char* m_Name; - const char* m_Namespace; -}; - -/*---------------------------------------------------------------------- -| PLT_XmlHelper -+---------------------------------------------------------------------*/ -/** - The PLT_XmlHelper class is a set of utility functions for manipulating - xml documents and DOM trees. - */ -class PLT_XmlHelper -{ -public: - - // static methods - - static NPT_Result Parse(const NPT_String& xml, NPT_XmlElementNode*& tree) { - // reset tree - tree = NULL; - - // parse body - NPT_XmlParser parser; - NPT_XmlNode* node; - NPT_Result result = parser.Parse(xml, node); - if (NPT_FAILED(result)) { - //NPT_LOG_FINEST_1("Failed to parse %s", xml.IsEmpty()?"(empty string)":xml.GetChars()); - NPT_CHECK(result); - } - - tree = node->AsElementNode(); - if (!tree) { - delete node; - return NPT_FAILURE; - } - - return NPT_SUCCESS; - } - - static NPT_Result GetChildText(NPT_XmlElementNode* node, - const char* tag, - NPT_String& value, - const char* namespc = "", - NPT_Cardinal max_size = 1024) { - value = ""; - - if (!node) return NPT_FAILURE; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - NPT_XmlElementNode* child = node->GetChild(tag, namespc); - if (!child) return NPT_FAILURE; - - const NPT_String* text = child->GetText(); - // DLNA 7.3.17 - value = text?text->SubString(0, max_size):""; - return NPT_SUCCESS; - } - - static NPT_Result RemoveAttribute(NPT_XmlElementNode* node, - const char* name, - const char* namespc = "") { - if (!node) return NPT_FAILURE; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - NPT_List<NPT_XmlAttribute*>::Iterator attribute; - attribute = node->GetAttributes().Find(PLT_XmlAttributeFinder(*node, name, namespc)); - if (!attribute) return NPT_FAILURE; - - delete *attribute; - NPT_CHECK(node->GetAttributes().Erase(attribute)); - - return NPT_SUCCESS; - } - - static NPT_Result GetAttribute(NPT_XmlElementNode* node, - const char* name, - NPT_XmlAttribute*& attr, - const char* namespc = "") { - attr = NULL; - - if (!node) return NPT_FAILURE; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - NPT_List<NPT_XmlAttribute*>::Iterator attribute; - attribute = node->GetAttributes().Find(PLT_XmlAttributeFinder(*node, name, namespc)); - if (!attribute) { - //NPT_Debug("Failed to find attribute [%s]:%s", namespc, name); - return NPT_FAILURE; - } - - attr = (*attribute); - return NPT_SUCCESS; - } - - static NPT_Result GetAttribute(NPT_XmlElementNode* node, - const char* name, - NPT_String& value, - const char* namespc = "", - NPT_Cardinal max_size = 1024) { - value = ""; - - NPT_XmlAttribute* attribute = NULL; - NPT_Result result = GetAttribute(node, name, attribute, namespc); - if (NPT_FAILED(result)) return result; - - if (!attribute) return NPT_FAILURE; - // DLNA 7.3.17 truncate to 1024 bytes - value = attribute->GetValue().SubString(0, max_size); - return NPT_SUCCESS; - } - - static NPT_Result SetAttribute(NPT_XmlElementNode* node, - const char* name, - const char* value, - const char* namespc = "") { - NPT_XmlAttribute* attribute = NULL; - NPT_CHECK(GetAttribute(node, name, attribute, namespc)); - if (!attribute) return NPT_FAILURE; - - attribute->SetValue(value); - return NPT_SUCCESS; - } - - static NPT_Result AddChildText(NPT_XmlElementNode* node, - const char* tag, - const char* text, - const char* prefix = NULL) { - if (!node) return NPT_FAILURE; - NPT_XmlElementNode* child = new NPT_XmlElementNode(prefix, tag); - child->AddText(text); - return node->AddChild(child); - } - - static bool IsMatch(const NPT_XmlNode* const & node, const char* tag, const char* namespc_mapped) { - // if m_Namespace is NULL, we're looking for ANY namespace - // if m_Namespace is '\0', we're looking for NO namespace - // if m_Namespace is non-empty, look for that SPECIFIC namespace - - const NPT_XmlElementNode* element = node->AsElementNode(); - // is tag the same (case sensitive)? - if (element && element->GetTag() == tag) { - if (namespc_mapped) { - // look for a SPECIFIC namespace or NO namespace - const NPT_String* namespc = element->GetNamespace(); - if (namespc) { - // the element has a namespace, match if it is equal to - // what we're looking for - return *namespc == namespc_mapped; - } else { - // the element does not have a namespace, match if we're - // looking for NO namespace - return namespc_mapped[0] == '\0'; - } - } else { - // ANY namespace will match - return true; - } - } - return false; - } - - static NPT_Result GetChildren(NPT_XmlElementNode* node, - NPT_Array<NPT_XmlElementNode*>& children, - const char* tag, - const char* namespc = "") { - if (!node) return NPT_FAILURE; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - const char* namespc_mapped = (namespc==NULL)?"":(namespc[0]=='*' && namespc[1]=='\0')?NULL:namespc; - - // get all children first - NPT_List<NPT_XmlNode*>& allchildren = node->GetChildren(); - - // iterate through children and add only elements with matching tag - NPT_List<NPT_XmlNode*>::Iterator child = allchildren.GetFirstItem(); - while (child) { - if (IsMatch(*child, tag, namespc_mapped)) { - children.Add((*child)->AsElementNode()); - } - ++child; - } - return NPT_SUCCESS; - } - - static NPT_XmlElementNode* GetChild(NPT_XmlElementNode* node, - const char* tag, - const char* namespc = "") { - if (!node) return NULL; - - // special case "" means we look for the same namespace as the parent - if (namespc && namespc[0] == '\0') { - namespc = node->GetNamespace()?node->GetNamespace()->GetChars():NPT_XML_NO_NAMESPACE; - } - - return node->GetChild(tag, namespc); - } - - static NPT_Result GetChild(NPT_XmlElementNode* parent, - NPT_XmlElementNode*& child, - NPT_Ordinal n = 0) { - if (!parent) return NPT_FAILURE; - - // reset child - child = NULL; - - // get all children first - NPT_List<NPT_XmlNode*>::Iterator children = parent->GetChildren().GetFirstItem(); - while (children) { - if ((*children)->AsElementNode() && n-- == 0) { - child = (*children)->AsElementNode(); - return NPT_SUCCESS; - } - children++; - } - - return NPT_FAILURE; - } - - static NPT_Result Serialize(NPT_XmlNode& node, NPT_String& xml, bool add_header = true, NPT_Int8 indentation = 0) { - NPT_XmlWriter writer(indentation); - NPT_StringOutputStreamReference stream(new NPT_StringOutputStream(&xml)); - NPT_CHECK(writer.Serialize(node, *stream, add_header)); - return NPT_SUCCESS; - } - - static NPT_String Serialize(NPT_XmlNode& node, bool add_header = true, NPT_Int8 indentation = 0) { - NPT_XmlWriter writer(indentation); - NPT_String xml; - NPT_StringOutputStreamReference stream(new NPT_StringOutputStream(&xml)); - if (NPT_FAILED(writer.Serialize(node, *stream, add_header))) { - NPT_Debug("Failed to serialize xml node"); - return ""; - } - - return xml; - } -private: - // members -}; - -/*---------------------------------------------------------------------- -| NPT_StringFinder -+---------------------------------------------------------------------*/ -/** - The NPT_StringFinder class is used to determine if a string is found - as part of a list of strings. - */ -class NPT_StringFinder -{ -public: - // methods - explicit NPT_StringFinder(NPT_String& value, bool ignore_case = false) : - m_Value(value.GetChars()), m_IgnoreCase(ignore_case) {} - - explicit NPT_StringFinder(const char* value, bool ignore_case = false) : - m_Value(value), m_IgnoreCase(ignore_case) {} - - virtual ~NPT_StringFinder() {} - - bool operator()(const NPT_String* const & value) const { - return value->Compare(m_Value, m_IgnoreCase) ? false : true; - } - bool operator()(const NPT_String& value) const { - return value.Compare(m_Value, m_IgnoreCase) ? false : true; - } - -private: - // members - const char* m_Value; - bool m_IgnoreCase; -}; - -/*---------------------------------------------------------------------- -| NPT_IpAddressFinder -+---------------------------------------------------------------------*/ -/** - The NPT_IpAddressFinder class is used to determine if a IP Address is found - as part of a list of IP Addresses. - */ -class NPT_IpAddressFinder -{ -public: - // methods - NPT_IpAddressFinder(NPT_IpAddress ip) : m_Value(ip) {} - virtual ~NPT_IpAddressFinder() {} - - bool operator()(const NPT_IpAddress* const & value) const { - return *value == m_Value; - } - bool operator()(const NPT_IpAddress& value) const { - return value == m_Value; - } - -private: - // members - NPT_IpAddress m_Value; -}; - - -/*---------------------------------------------------------------------- -| PLT_UPnPMessageHelper class -+---------------------------------------------------------------------*/ -/** - The PLT_UPnPMessageHelper class is a set of utility functions for manipulating - specific UPnP HTTP headers. - */ -class PLT_UPnPMessageHelper -{ -public: - // methods - static const NPT_String* GetST(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("ST"); - } - static NPT_Result SetST(NPT_HttpMessage& message, - const char* st) { - return message.GetHeaders().SetHeader("ST", st); - } - - static const NPT_String* GetNT(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("NT"); - } - static NPT_Result SetNT(NPT_HttpMessage& message, - const char* nt) { - return message.GetHeaders().SetHeader("NT", nt); - } - - static const NPT_String* GetNTS(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("NTS"); - } - static NPT_Result SetNTS(NPT_HttpMessage& message, - const char* nts) { - return message.GetHeaders().SetHeader("NTS", nts); - } - - static const NPT_String* GetMAN(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("MAN"); - } - static NPT_Result SetMAN(NPT_HttpMessage& message, - const char* man) { - return message.GetHeaders().SetHeader("MAN", man); - } - - static const NPT_String* GetLocation(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("Location"); - } - static NPT_Result SetLocation(NPT_HttpMessage& message, - const char* location) { - return message.GetHeaders().SetHeader("Location", location); - } - - static const NPT_String* GetServer(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue(NPT_HTTP_HEADER_SERVER); - } - static NPT_Result SetServer(NPT_HttpMessage& message, - const char* server, - bool replace = true) { - return message.GetHeaders().SetHeader( - NPT_HTTP_HEADER_SERVER, - server, - replace); - } - - static const NPT_String* GetUSN(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("USN"); - } - static NPT_Result SetUSN(NPT_HttpMessage& message, - const char* usn) { - return message.GetHeaders().SetHeader("USN", usn); - } - - static const NPT_String* GetCallbacks(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("CALLBACK"); - } - static NPT_Result SetCallbacks(NPT_HttpMessage& message, const char* callbacks) { - return message.GetHeaders().SetHeader("CALLBACK", callbacks); - } - - static const NPT_String* GetSID(const NPT_HttpMessage& message) { - return message.GetHeaders().GetHeaderValue("SID"); - } - static NPT_Result SetSID(NPT_HttpMessage& message, - const char* sid) { - return message.GetHeaders().SetHeader("SID", sid); - } - - static NPT_Result GetLeaseTime(const NPT_HttpMessage& message, NPT_TimeInterval& lease) { - const NPT_String* cc = - message.GetHeaders().GetHeaderValue("Cache-Control"); - NPT_CHECK_POINTER(cc); - return ExtractLeaseTime(*cc, lease); - } - static NPT_Result SetLeaseTime(NPT_HttpMessage& message, const NPT_TimeInterval& lease) { - return message.GetHeaders().SetHeader("Cache-Control", - "max-age="+NPT_String::FromInteger(lease.ToSeconds())); - } - - static NPT_Result GetBootId(const NPT_HttpMessage& message, NPT_UInt32& bootId) { - bootId = 0; - const NPT_String* bid = message.GetHeaders().GetHeaderValue("BOOTID.UPNP.ORG"); - NPT_CHECK_POINTER(bid); - return NPT_ParseInteger32(*bid, bootId, false); - } - static NPT_Result SetBootId(NPT_HttpMessage& message, const NPT_UInt32& bootId) { - return message.GetHeaders().SetHeader("BOOTID.UPNP.ORG", - NPT_String::FromInteger(bootId)); - } - - static NPT_Result GetNextBootId(const NPT_HttpMessage& message, NPT_UInt32& nextBootId) { - nextBootId = 0; - const NPT_String* nbid = message.GetHeaders().GetHeaderValue("NEXTBOOTID.UPNP.ORG"); - NPT_CHECK_POINTER(nbid); - return NPT_ParseInteger32(*nbid, nextBootId, false); - } - static NPT_Result SetNextBootId(NPT_HttpMessage& message, const NPT_UInt32& nextBootId) { - return message.GetHeaders().SetHeader("NEXTBOOTID.UPNP.ORG", - NPT_String::FromInteger(nextBootId)); - } - - static NPT_Result GetConfigId(const NPT_HttpMessage& message, NPT_UInt32& configId) { - configId = 0; - const NPT_String* cid = message.GetHeaders().GetHeaderValue("CONFIGID.UPNP.ORG"); - NPT_CHECK_POINTER(cid); - return NPT_ParseInteger32(*cid, configId, false); - } - static NPT_Result SetConfigId(NPT_HttpMessage& message, const NPT_UInt32& configId) { - return message.GetHeaders().SetHeader("CONFIGID.UPNP.ORG", NPT_String::FromInteger(configId)); - } - - static NPT_Result GetTimeOut(const NPT_HttpMessage& message, NPT_Int32& seconds) { - seconds = 0; - const NPT_String* timeout = - message.GetHeaders().GetHeaderValue("TIMEOUT"); - NPT_CHECK_POINTER(timeout); - return ExtractTimeOut(*timeout, seconds); - } - static NPT_Result SetTimeOut(NPT_HttpMessage& message, const NPT_Int32 seconds) { - if (seconds >= 0) { - return message.GetHeaders().SetHeader("TIMEOUT", "Second-"+NPT_String::FromInteger(seconds)); - } else { - return message.GetHeaders().SetHeader("TIMEOUT", "Second-infinite"); - } - } - - static NPT_Result SetDate(NPT_HttpMessage& message) { - NPT_TimeStamp now; - NPT_System::GetCurrentTimeStamp(now); - NPT_DateTime date(now); - - return message.GetHeaders().SetHeader("Date", date.ToString(NPT_DateTime::FORMAT_RFC_1123)); - } - - static NPT_Result GetIfModifiedSince(const NPT_HttpMessage& message, NPT_DateTime& date) { - const NPT_String* value = message.GetHeaders().GetHeaderValue("If-Modified-Since"); - if (!value) return NPT_FAILURE; - - // Try RFC 1123, RFC 1036, then ANSI - if (NPT_SUCCEEDED(date.FromString(*value, NPT_DateTime::FORMAT_RFC_1123))) - return NPT_SUCCESS; - - if (NPT_SUCCEEDED(date.FromString(*value, NPT_DateTime::FORMAT_RFC_1036))) - return NPT_SUCCESS; - - return date.FromString(*value, NPT_DateTime::FORMAT_ANSI); - } - static NPT_Result SetIfModifiedSince(NPT_HttpMessage& message, const NPT_DateTime& date) { - return message.GetHeaders().SetHeader("If-Modified-Since", - date.ToString(NPT_DateTime::FORMAT_RFC_1123)); - } - - static NPT_Result GetMX(const NPT_HttpMessage& message, NPT_UInt32& value) { - value = 0; - const NPT_String* mx = - message.GetHeaders().GetHeaderValue("MX"); - NPT_CHECK_POINTER(mx); - return NPT_ParseInteger32(*mx, value, false); // no relax to be UPnP compliant - } - static NPT_Result SetMX(NPT_HttpMessage& message, const NPT_UInt32 mx) { - return message.GetHeaders().SetHeader("MX", - NPT_String::FromInteger(mx)); - } - - static NPT_Result GetSeq(const NPT_HttpMessage& message, NPT_UInt32& value) { - value = 0; - const NPT_String* seq = - message.GetHeaders().GetHeaderValue("SEQ"); - NPT_CHECK_POINTER(seq); - return NPT_ParseInteger32(*seq, value); - } - static NPT_Result SetSeq(NPT_HttpMessage& message, const NPT_UInt32 seq) { - return message.GetHeaders().SetHeader("SEQ", - NPT_String::FromInteger(seq)); - } - - static const char* GenerateUUID(int count, NPT_String& uuid) { - uuid = ""; - for (int i=0;i<(count<100?count:100);i++) { - int random = NPT_System::GetRandomInteger(); - uuid += (char)((random % 25) + 66); - } - return uuid; - } - - static const char* GenerateSerialNumber(NPT_String& sn, int count = 40) { - sn = "{"; - for (int i=0;i<count;i++) { - char nibble = (char)(NPT_System::GetRandomInteger() % 16); - sn += (nibble < 10) ? ('0' + nibble) : ('a' + (nibble-10)); - } - sn += "}"; - return sn; - } - - static const char* GenerateGUID(NPT_String& guid) { - guid = ""; - for (int i=0;i<32;i++) { - char nibble = (char)(NPT_System::GetRandomInteger() % 16); - guid += (nibble < 10) ? ('0' + nibble) : ('a' + (nibble-10)); - if (i == 7 || i == 11 || i == 15 || i == 19) { - guid += '-'; - } - } - return guid; - } - - static NPT_Result ExtractLeaseTime(const NPT_String& cache_control, NPT_TimeInterval& lease) { - NPT_Int32 value; - if (cache_control.StartsWith("max-age=", true) && - NPT_SUCCEEDED(NPT_ParseInteger32(cache_control.GetChars()+8, value))) { - lease.SetSeconds(value); - return NPT_SUCCESS; - } - return NPT_FAILURE; - } - - static NPT_Result ExtractTimeOut(const char* timeout, NPT_Int32& len) { - NPT_String temp = timeout; - if (temp.CompareN("Second-", 7, true)) { - return NPT_ERROR_INVALID_FORMAT; - } - - if (temp.Compare("Second-infinite", true) == 0) { - len = NPT_TIMEOUT_INFINITE; - return NPT_SUCCESS; - } - return temp.SubString(7).ToInteger(len); - } - - static NPT_Result GetIPAddresses(NPT_List<NPT_IpAddress>& ips, bool with_localhost = false) { - NPT_List<NPT_NetworkInterface*> if_list; - NPT_CHECK(GetNetworkInterfaces(if_list, with_localhost)); - - NPT_List<NPT_NetworkInterface*>::Iterator iface = if_list.GetFirstItem(); - while (iface) { - NPT_IpAddress ip = (*(*iface)->GetAddresses().GetFirstItem()).GetPrimaryAddress(); - if (ip.ToString().Compare("0.0.0.0") && - (with_localhost || ip.ToString().Compare("127.0.0.1"))) { - ips.Add(ip); - } - ++iface; - } - - if (with_localhost && !ips.Find(NPT_IpAddressFinder(NPT_IpAddress(127, 0, 0, 1)))) { - NPT_IpAddress localhost; - localhost.Parse("127.0.0.1"); - ips.Add(localhost); - } - - if_list.Apply(NPT_ObjectDeleter<NPT_NetworkInterface>()); - return NPT_SUCCESS; - } - - static NPT_Result GetNetworkInterfaces(NPT_List<NPT_NetworkInterface*>& if_list, - bool with_localhost = false) { - NPT_CHECK(_GetNetworkInterfaces(if_list, with_localhost, false)); - - // if no valid interfaces or if requested, add localhost interface - if (if_list.GetItemCount() == 0) { - NPT_CHECK(_GetNetworkInterfaces(if_list, true, true)); - } - return NPT_SUCCESS; - } - - static NPT_Result GetMACAddresses(NPT_List<NPT_String>& addresses) { - NPT_List<NPT_NetworkInterface*> if_list; - NPT_CHECK(GetNetworkInterfaces(if_list)); - - NPT_List<NPT_NetworkInterface*>::Iterator iface = if_list.GetFirstItem(); - while (iface) { - NPT_String ip = (*(*iface)->GetAddresses().GetFirstItem()).GetPrimaryAddress().ToString(); - if (ip.Compare("0.0.0.0") && ip.Compare("127.0.0.1")) { - addresses.Add((*iface)->GetMacAddress().ToString()); - } - ++iface; - } - - if_list.Apply(NPT_ObjectDeleter<NPT_NetworkInterface>()); - return NPT_SUCCESS; - } - - - static bool IsLocalNetworkAddress(const NPT_IpAddress& address) { - if (address.ToString() == "127.0.0.1") return true; - - NPT_List<NPT_NetworkInterface*> if_list; - NPT_NetworkInterface::GetNetworkInterfaces(if_list); - - NPT_List<NPT_NetworkInterface*>::Iterator iface = if_list.GetFirstItem(); - while (iface) { - if((*iface)->IsAddressInNetwork(address)) return true; - ++iface; - } - - if_list.Apply(NPT_ObjectDeleter<NPT_NetworkInterface>()); - return false; - } - -private: - - static NPT_Result _GetNetworkInterfaces(NPT_List<NPT_NetworkInterface*>& if_list, - bool include_localhost = false, - bool only_localhost = false) { - NPT_List<NPT_NetworkInterface*> _if_list; - NPT_CHECK(NPT_NetworkInterface::GetNetworkInterfaces(_if_list)); - - NPT_NetworkInterface* iface; - while (NPT_SUCCEEDED(_if_list.PopHead(iface))) { - // only interested in non PTP & multicast capable interfaces - if ((iface->GetAddresses().GetItemCount() == 0) || - !(iface->GetFlags() & NPT_NETWORK_INTERFACE_FLAG_MULTICAST) || - (iface->GetFlags() & NPT_NETWORK_INTERFACE_FLAG_POINT_TO_POINT)) { - delete iface; - continue; - } - - NPT_String ip = iface->GetAddresses().GetFirstItem()->GetPrimaryAddress().ToString(); - - if (iface->GetFlags() & NPT_NETWORK_INTERFACE_FLAG_LOOPBACK) { - if (include_localhost || only_localhost) { - if_list.Add(iface); - continue; - } - } else if (ip.Compare("0.0.0.0") && !only_localhost) { - if_list.Add(iface); - continue; - } - - delete iface; - } - - // cleanup any remaining items in list if we breaked early - _if_list.Apply(NPT_ObjectDeleter<NPT_NetworkInterface>()); - return NPT_SUCCESS; - } -}; - -#endif // _PLT_UTILITIES_H_ - - - - - - - - - diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltVersion.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltVersion.h deleted file mode 100644 index 5101009cc1..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltVersion.h +++ /dev/null @@ -1,44 +0,0 @@ -/***************************************************************** -| -| Platinum - Version Info -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_VERSION_H_ -#define _PLT_VERSION_H_ - -/*---------------------------------------------------------------------- -| constants -+---------------------------------------------------------------------*/ -#define PLT_PLATINUM_SDK_VERSION 0x00010513 -#define PLT_PLATINUM_SDK_VERSION_STRING "1.0.5.13" - -#endif // _PLT_VERSION_H_ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltXbox360.h b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltXbox360.h deleted file mode 100644 index 6bae726213..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Headers/PltXbox360.h +++ /dev/null @@ -1,73 +0,0 @@ -/***************************************************************** -| -| Platinum - XBox 360 -| -| Copyright (c) 2004-2010, Plutinosoft, LLC. -| All rights reserved. -| http://www.plutinosoft.com -| -| This program is free software; you can redistribute it and/or -| modify it under the terms of the GNU General Public License -| as published by the Free Software Foundation; either version 2 -| of the License, or (at your option) any later version. -| -| OEMs, ISVs, VARs and other distributors that combine and -| distribute commercially licensed software with Platinum software -| and do not wish to distribute the source code for the commercially -| licensed software under version 2, or (at your option) any later -| version, of the GNU General Public License (the "GPL") must enter -| into a commercial license agreement with Plutinosoft, LLC. -| licensing@plutinosoft.com -| -| This program is distributed in the hope that it will be useful, -| but WITHOUT ANY WARRANTY; without even the implied warranty of -| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -| GNU General Public License for more details. -| -| You should have received a copy of the GNU General Public License -| along with this program; see the file LICENSE.txt. If not, write to -| the Free Software Foundation, Inc., -| 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -| http://www.gnu.org/licenses/gpl-2.0.html -| -****************************************************************/ - -#ifndef _PLT_XBOX360_H_ -#define _PLT_XBOX360_H_ - -/*---------------------------------------------------------------------- -| includes -+---------------------------------------------------------------------*/ -#include "PltMediaRenderer.h" - -class PLT_Xbox360 : public PLT_MediaRenderer -{ -public: - PLT_Xbox360(const char* uuid = NULL, - unsigned int port = 0, - bool port_rebind = false); - -protected: - // PLT_DeviceHost methods - virtual NPT_Result SetupServices(); - virtual NPT_Result SetupIcons(); - virtual NPT_Result InitServiceURLs(PLT_Service* service, const char* service_name); - - virtual NPT_Result Announce(PLT_DeviceData* device, - NPT_HttpRequest& request, - NPT_UdpSocket& socket, - PLT_SsdpAnnounceType type); - - // PLT_DeviceData methods - virtual NPT_Result GetDescription(NPT_String& desc) { return PLT_MediaRenderer::GetDescription(desc); } - virtual NPT_Result GetDescription(NPT_XmlElementNode* parent, - NPT_XmlElementNode** device = NULL); - -protected: - virtual ~PLT_Xbox360(); - - virtual NPT_Result AnnouncePresence(NPT_UdpSocket& socket, - const char* serial_number); -}; - -#endif /* _PLT_XBOX360_H_ */ diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Platinum b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Platinum Binary files differdeleted file mode 100644 index 4bc29da4d6..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Platinum +++ /dev/null diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Resources/Info.plist b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Resources/Info.plist deleted file mode 100644 index c16027bbaf..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Resources/Info.plist +++ /dev/null @@ -1,42 +0,0 @@ -<?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>BuildMachineOSBuild</key> - <string>13C64</string> - <key>CFBundleDevelopmentRegion</key> - <string>English</string> - <key>CFBundleExecutable</key> - <string>Platinum</string> - <key>CFBundleIdentifier</key> - <string>com.plutinosoft.Platinum</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>Platinum</string> - <key>CFBundlePackageType</key> - <string>FMWK</string> - <key>CFBundleShortVersionString</key> - <string>0.6.9</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>0.6.9</string> - <key>DTCompiler</key> - <string>com.apple.compilers.llvm.clang.1_0</string> - <key>DTPlatformBuild</key> - <string>5B130a</string> - <key>DTPlatformVersion</key> - <string>GM</string> - <key>DTSDKBuild</key> - <string>13C64</string> - <key>DTSDKName</key> - <string>macosx10.9</string> - <key>DTXcode</key> - <string>0510</string> - <key>DTXcodeBuild</key> - <string>5B130a</string> - <key>NSHumanReadableCopyright</key> - <string>Copyright © 2011 Plutinosoft LLC. All rights reserved.</string> -</dict> -</plist> diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Resources/en.lproj/InfoPlist.strings b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Resources/en.lproj/InfoPlist.strings Binary files differdeleted file mode 100644 index 5e45963c38..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/A/Resources/en.lproj/InfoPlist.strings +++ /dev/null diff --git a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/Current b/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/Current deleted file mode 100644 index 8c7e5a667f..0000000000 --- a/lib/libUPnP/Platinum/Targets/universal-apple-macosx/Release/Platinum.framework/Versions/Current +++ /dev/null @@ -1 +0,0 @@ -A
\ No newline at end of file diff --git a/lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch b/lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch index eb467c6d2a..d397ee72d9 100644 --- a/lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch +++ b/lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch @@ -21,7 +21,7 @@ index f948dd1..32503fe 100644 - m_FriendlyName += ": " + hostname; - } else if (m_FriendlyName.Find(":") == -1) { - m_FriendlyName += ": 1"; -+ if (signature == PLT_DEVICE_XBOX /*|| signature == PLT_SONOS*/) { ++ if (signature == PLT_DEVICE_XBOX_360 || signature == PLT_DEVICE_XBOX_ONE /*|| signature == PLT_SONOS*/) { + // XBox needs to see something behind a ':' to even show it + if (m_AddHostname && hostname.GetLength() > 0) { + m_FriendlyName += ": " + hostname; diff --git a/lib/libUPnP/patches/0032-platinum-improve-logging-on-bad-HTTP-requests.patch b/lib/libUPnP/patches/0032-platinum-improve-logging-on-bad-HTTP-requests.patch index c141244758..d8715c0398 100644 --- a/lib/libUPnP/patches/0032-platinum-improve-logging-on-bad-HTTP-requests.patch +++ b/lib/libUPnP/patches/0032-platinum-improve-logging-on-bad-HTTP-requests.patch @@ -140,7 +140,7 @@ index 4d9524b..6fbe7a7 100644 return NPT_SUCCESS; } -@@ -896,4 +946,3 @@ PLT_DeviceHost::OnAction(PLT_ActionReference& action, +@@ -901,4 +951,3 @@ PLT_DeviceHost::OnAction(PLT_ActionReference& action, action->SetError(401, "Invalid Action"); return NPT_FAILURE; } diff --git a/lib/libUPnP/patches/0044-platinum-Prefer-override-usage.patch b/lib/libUPnP/patches/0044-platinum-Prefer-override-usage.patch index 443af0ad99..b1ff8e391e 100644 --- a/lib/libUPnP/patches/0044-platinum-Prefer-override-usage.patch +++ b/lib/libUPnP/patches/0044-platinum-Prefer-override-usage.patch @@ -1548,7 +1548,7 @@ diff --git a/lib/libUPnP/Platinum/Source/Core/PltHttp.h b/lib/libUPnP/Platinum/S index fc3d1b55c0ff..00e2b9f570e3 100644 --- a/lib/libUPnP/Platinum/Source/Core/PltHttp.h +++ b/lib/libUPnP/Platinum/Source/Core/PltHttp.h -@@ -155,12 +155,12 @@ class PLT_HttpRequestHandler : public NPT_HttpRequestHandler +@@ -198,12 +198,12 @@ class PLT_HttpRequestHandler : public NPT_HttpRequestHandler public: PLT_HttpRequestHandler(NPT_HttpRequestHandler* delegate) : m_Delegate(delegate) {} @@ -2212,7 +2212,7 @@ diff --git a/lib/libUPnP/Platinum/Source/Extras/PltRingBufferStream.h b/lib/libU index d8ecd11d8eca..e5f98b2f350f 100644 --- a/lib/libUPnP/Platinum/Source/Extras/PltRingBufferStream.h +++ b/lib/libUPnP/Platinum/Source/Extras/PltRingBufferStream.h -@@ -51,7 +51,7 @@ class PLT_RingBufferStream : public NPT_DelegatingInputStream, +@@ -49,7 +49,7 @@ class PLT_RingBufferStream : public NPT_DelegatingInputStream, public: PLT_RingBufferStream(NPT_Size buffer_size = 4096, bool blocking = true); PLT_RingBufferStream(NPT_RingBufferReference& buffer, bool blocking = true); @@ -2221,7 +2221,7 @@ index d8ecd11d8eca..e5f98b2f350f 100644 // methods bool IsAborted() { return m_Aborted; } -@@ -59,8 +59,8 @@ class PLT_RingBufferStream : public NPT_DelegatingInputStream, +@@ -57,8 +57,8 @@ class PLT_RingBufferStream : public NPT_DelegatingInputStream, // NPT_InputStream methods NPT_Result Read(void* buffer, NPT_Size bytes_to_read, @@ -2232,7 +2232,7 @@ index d8ecd11d8eca..e5f98b2f350f 100644 NPT_COMPILER_UNUSED(size); return NPT_ERROR_NOT_SUPPORTED; } -@@ -69,7 +69,7 @@ class PLT_RingBufferStream : public NPT_DelegatingInputStream, +@@ -67,7 +67,7 @@ class PLT_RingBufferStream : public NPT_DelegatingInputStream, space = m_RingBuffer->GetSpace(); return NPT_SUCCESS; } @@ -2241,7 +2241,7 @@ index d8ecd11d8eca..e5f98b2f350f 100644 NPT_AutoLock autoLock(m_Lock); available = m_RingBuffer->GetAvailable(); return NPT_SUCCESS; -@@ -78,29 +78,29 @@ class PLT_RingBufferStream : public NPT_DelegatingInputStream, +@@ -76,29 +76,29 @@ class PLT_RingBufferStream : public NPT_DelegatingInputStream, // NPT_OutputStream methods NPT_Result Write(const void* buffer, NPT_Size bytes_to_write, @@ -2281,7 +2281,7 @@ diff --git a/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.h b/lib/libUPnP/Pl index 58ef256581a5..a022b88518e4 100644 --- a/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.h +++ b/lib/libUPnP/Platinum/Source/Extras/PltStreamPump.h -@@ -99,9 +99,9 @@ class PLT_PipeInputStreamPump : public PLT_StreamPump, +@@ -98,9 +98,9 @@ class PLT_PipeInputStreamPump : public PLT_StreamPump, { public: PLT_PipeInputStreamPump(NPT_OutputStreamReference& output, NPT_Size size = 65535); @@ -2293,7 +2293,7 @@ index 58ef256581a5..a022b88518e4 100644 protected: NPT_OutputStreamReference m_Output; -@@ -118,9 +118,9 @@ class PLT_PipeOutputStreamPump : public PLT_StreamPump, +@@ -117,9 +117,9 @@ class PLT_PipeOutputStreamPump : public PLT_StreamPump, PLT_PipeOutputStreamPump(NPT_InputStreamReference& input, NPT_Size size = 65535, NPT_Size max_bytes_to_read = 0); |