Switch to unified view

a/upmpd/upmpd.hxx b/upmpd/upmpd.hxx
...
...
37
        // Export OpenHome services
37
        // Export OpenHome services
38
        upmpdDoOH,
38
        upmpdDoOH,
39
    };
39
    };
40
    UpMpd(const string& deviceid, const string& friendlyname,
40
    UpMpd(const string& deviceid, const string& friendlyname,
41
          const unordered_map<string, string>& xmlfiles,
41
          const unordered_map<string, string>& xmlfiles,
42
          MPDCli *mpdcli, unsigned int opts = upmpdNone);
42
          MPDCli *mpdcli, unsigned int opts, const std::string& cachefn);
43
    ~UpMpd();
43
    ~UpMpd();
44
44
45
    const MpdStatus &getMpdStatus();
45
    const MpdStatus &getMpdStatus();
46
    const MpdStatus &getMpdStatusNoUpdate()
46
    const MpdStatus &getMpdStatusNoUpdate()
47
        {
47
        {
48
            return *m_mpds;
48
            return *m_mpds;
49
        }
49
        }
50
50
51
    const string& getMetaCacheFn() 
52
        {
53
            return m_mcachefn;
54
        }
55
51
private:
56
private:
52
    MPDCli *m_mpdcli;
57
    MPDCli *m_mpdcli;
53
    const MpdStatus *m_mpds;
58
    const MpdStatus *m_mpds;
54
55
    unsigned int m_options;
59
    unsigned int m_options;
60
    string m_mcachefn;
56
    vector<UpnpService*> m_services;
61
    vector<UpnpService*> m_services;
57
};
62
};
58
63
59
64
60
extern string upmpdProtocolInfo;
65
extern string upmpdProtocolInfo;