diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-05 18:10:46 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-05 18:10:46 +1000 |
commit | 566f389fb9f7f2b124e6055947c9edc8820107b6 (patch) | |
tree | 84a0a78abab9006e7d6fea1897346633b42c3e18 /pkgconfig.h | |
parent | 8c841a582f45d8a6cc1b3c439d4f660099e34d1b (diff) |
Return the requested label.
This completes this code to a basic working level. It usable for the
RTEMS pc files but not as a full pkgconfig replacement. The python
version in the RSB is more complete.
Diffstat (limited to 'pkgconfig.h')
-rw-r--r-- | pkgconfig.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgconfig.h b/pkgconfig.h index 93c0972..57b1c3b 100644 --- a/pkgconfig.h +++ b/pkgconfig.h @@ -35,6 +35,14 @@ namespace pkgconfig */ typedef std::map < std::string, std::string > table; + /** + * Constructor and load the file. + */ + package (const std::string& name); + + /** + * Default constructor. + */ package (); /** @@ -57,7 +65,6 @@ namespace pkgconfig private: table defines; ///< The defines. table fields; ///< The fields. - }; } |