~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/src/config/yamlnode.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *  Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
 
2
 *  Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
3
3
 *  Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
4
4
 *
5
5
 *  This program is free software; you can redistribute it and/or modify
65
65
        virtual YamlNode *getValue(const std::string &key) const = 0;
66
66
        virtual void getValue(const std::string &key UNUSED, bool *b) const = 0;
67
67
        virtual void getValue(const std::string &key UNUSED, int *i) const = 0;
 
68
        virtual void getValue(const std::string &key UNUSED, double *d) const = 0;
68
69
        virtual void getValue(const std::string &key UNUSED, std::string *s) const = 0;
69
70
 
70
71
    private:
89
90
        virtual YamlNode *getValue(const std::string &key UNUSED) const { return NULL; }
90
91
        virtual void getValue(const std::string &key UNUSED, bool *b) const { *b = false; }
91
92
        virtual void getValue(const std::string &key UNUSED, int *i) const { *i = 0; }
 
93
        virtual void getValue(const std::string &key UNUSED, double *d) const { *d = 0.0; }
92
94
        virtual void getValue(const std::string &key UNUSED, std::string *s) const { *s = ""; }
93
95
 
94
96
    private:
110
112
        virtual YamlNode *getValue(const std::string &key UNUSED) const { return NULL; }
111
113
        virtual void getValue(const std::string &key UNUSED, bool *b) const { *b = false; }
112
114
        virtual void getValue(const std::string &key UNUSED, int *i) const { *i = 0; }
 
115
        virtual void getValue(const std::string &key UNUSED, double *d) const { *d = 0.0; }
113
116
        virtual void getValue(const std::string &key UNUSED, std::string *s) const { *s = ""; }
114
117
 
115
118
 
136
139
        YamlNode *getValue(const std::string &key) const;
137
140
        void getValue(const std::string &key, bool *b) const;
138
141
        void getValue(const std::string &key, int *i) const;
 
142
        void getValue(const std::string &key, double *d) const;
139
143
        void getValue(const std::string &key, std::string *s) const;
140
144
 
141
145
        virtual void deleteChildNodes();
160
164
        virtual YamlNode *getValue(const std::string &key UNUSED) const { return NULL; }
161
165
        virtual void getValue(const std::string &key UNUSED, bool *b) const { *b = false; }
162
166
        virtual void getValue(const std::string &key UNUSED, int *i) const { *i = 0; }
 
167
        virtual void getValue(const std::string &key UNUSED, double *d) const { *d = 0.0; }
163
168
        virtual void getValue(const std::string &key UNUSED, std::string *s) const { *s = ""; }
164
169
 
165
170
        virtual void deleteChildNodes() {}