2 * Copyright 2017, Andrew Lindesay <apl@lindesay.co.nz>.
3 * All rights reserved. Distributed under the terms of the MIT License.
6 #ifndef PACKAGE_DATA_UPDATE_PROCESS_H
7 #define PACKAGE_DATA_UPDATE_PROCESS_H
10 #include "AbstractSingleFileServerProcess.h"
13 #include "PackageInfo.h"
21 class PkgDataUpdateProcess
: public AbstractSingleFileServerProcess
{
24 AbstractServerProcessListener
* listener
,
25 const BPath
& localFilePath
,
26 BString naturalLanguageCode
,
27 BString repositorySourceCode
,
31 virtual ~PkgDataUpdateProcess();
36 void GetStandardMetaDataPath(BPath
& path
) const;
37 void GetStandardMetaDataJsonPath(
38 BString
& jsonPath
) const;
40 BString
UrlPathComponent();
41 status_t
ProcessLocalData();
47 BString fNaturalLanguageCode
;
48 BString fRepositorySourceCode
;
55 #endif // PACKAGE_DATA_UPDATE_PROCESS_H