]> cygwin.com Git - cygwin-apps/setup.git/blob - IniDBBuilderPackage.h
copyright
[cygwin-apps/setup.git] / IniDBBuilderPackage.h
1 /*
2 * Copyright (c) 2002, Robert Collins.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by Robert Collins <rbtcollins@hotmail.com>
13 *
14 */
15
16 #ifndef _INIDBBUILDERPACKAGE_H_
17 #define _INIDBBUILDERPACKAGE_H_
18
19 #include "IniDBBuilder.h"
20 class packagesource;
21 class packagemeta;
22 class cygpackage;
23
24 class IniDBBuilderPackage:public IniDBBuilder
25 {
26 public:
27 virtual void buildTimestamp (String const &);
28 virtual void buildVersion (String const &);
29 virtual void buildPackage (String const &);
30 virtual void buildPackageVersion (String const &);
31 virtual void buildPackageSDesc (String const &);
32 virtual void buildPackageLDesc (String const &);
33 virtual void buildPackageInstall (String const &, String const &,
34 String const & =String());
35 virtual void buildPackageSource (String const &, String const &,
36 String const & =String());
37 virtual void buildPackageTrust (int);
38 virtual void buildPackageRequirement (String const &);
39 virtual void buildPackageCategory (String const &);
40
41 private:
42 void add_correct_version();
43 void process_src (packagesource &src, String const &, String const &,
44 String const & = String());
45 packagemeta *cp;
46 cygpackage *cpv;
47 int trust;
48 };
49
50 #endif /* _INIDBBUILDERPACKAGE_H_ */
This page took 0.03675 seconds and 5 git commands to generate.