Files
funnygame/fpc/public/appletool.h
2026-01-05 14:34:34 +02:00

34 lines
686 B
C++

#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