now can package ipa, still problems with signing
This commit is contained in:
31
fpc/public/appletool.h
Normal file
31
fpc/public/appletool.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef Apple_TOOL_H
|
||||
#define Apple_TOOL_H
|
||||
|
||||
#include "tier0/platform.h"
|
||||
#include "tier1/utlstring.h"
|
||||
#include "legal.h"
|
||||
|
||||
struct AppleManifest_t
|
||||
{
|
||||
public:
|
||||
void SetPackageID( CUtlString szPackageID );
|
||||
void SetPackageName( CUtlString szPackageName );
|
||||
void SetPackageExecutable( CUtlString szPackageExecutable );
|
||||
|
||||
CUtlString BuildManifest();
|
||||
|
||||
CUtlString m_szPackageName;
|
||||
CUtlString m_szPackageID;
|
||||
CUtlString m_szPackageExecutable;
|
||||
};
|
||||
|
||||
abstract_class IAppleTool
|
||||
{
|
||||
public:
|
||||
virtual CUtlString BuildPackage( AppleManifest_t manifest, CUtlString szManifestDir ) = 0;
|
||||
virtual CUtlString SignPackage( const char *szIpa, const char *szPassword ) = 0;
|
||||
};
|
||||
|
||||
IAppleTool *AppleTool();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user