2 * Copyright 2017, Andrew Lindesay <apl@lindesay.co.nz>.
3 * All rights reserved. Distributed under the terms of the MIT License.
6 #ifndef REPOSITORY_DATA_UPDATE_PROCESS_H
7 #define REPOSITORY_DATA_UPDATE_PROCESS_H
10 #include "AbstractServerProcess.h"
12 #include "PackageInfo.h"
20 class RepositoryDataUpdateProcess
: public AbstractServerProcess
{
23 RepositoryDataUpdateProcess(
24 const BPath
& localFilePath
,
25 DepotList
* depotList
);
26 virtual ~RepositoryDataUpdateProcess();
31 void GetStandardMetaDataPath(BPath
& path
) const;
32 void GetStandardMetaDataJsonPath(
33 BString
& jsonPath
) const;
34 const char* LoggingName() const;
37 status_t
PopulateDataToDepots();
40 DepotList
* fDepotList
;
44 #endif // REPOSITORY_DATA_UPDATE_PROCESS_H