~ubuntu-branches/ubuntu/oneiric/muse/oneiric

« back to all changes in this revision

Viewing changes to muse/stringparam.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-11-17 21:43:38 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101117214338-1hvfl7oo2dsqnvrb
Tags: 1.1-0ubuntu1
* New upstream release (LP: #668631)
* Switch to dpkg-source 3.0 (quilt) format
* Switch to dh7 short form
* debian/rules:
  - added --enable-dssi and --enable-osc to conf flags for dssi support
  - added -ljackserver to LDFLAGS to fix a FTBFS because of --as-needed
* debian/control:
  - added build build dependency on liblo-dev and dssi-dev for dssi support
  - bump Standards-version to 3.9.1. No changes required.
* debian/muse.desktop, debian/muse.xpm: dropped as desktop file and icon is
  now shipped upstream.
* fix-desktop-categories.patch: fix Categories tag in upstream desktop file
* 10_es_locale_fix.dpatch: refreshed and converted to quilt as
  fix_es_locale.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//=============================================================================
 
2
//  MusE
 
3
//  Linux Music Editor
 
4
//  $Id: stringparam.h,v 1.0.0.0 2010/04/24 01:01:01 terminator356 Exp $
 
5
//
 
6
//  Copyright (C) 1999-2010 by Werner Schweer and others
 
7
//
 
8
//  This program is free software; you can redistribute it and/or modify
 
9
//  it under the terms of the GNU General Public License version 2.
 
10
//
 
11
//  This program is distributed in the hope that it will be useful,
 
12
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
//  GNU General Public License for more details.
 
15
//
 
16
//  You should have received a copy of the GNU General Public License
 
17
//  along with this program; if not, write to the Free Software
 
18
//  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
19
//=============================================================================
 
20
 
 
21
 
 
22
#ifndef __STRINGPARAM_H__
 
23
#define __STRINGPARAM_H__
 
24
 
 
25
#include <string>
 
26
#include <map>
 
27
 
 
28
class QString;
 
29
class Xml;
 
30
 
 
31
//typedef std::pair<std::string, std::string >                 StringParamMapItem;
 
32
typedef std::map<std::string, std::string >::iterator           iStringParamMap;
 
33
typedef std::map<std::string, std::string >::const_iterator     ciStringParamMap;
 
34
 
 
35
class StringParamMap : public std::map<std::string, std::string > 
 
36
{
 
37
  public:
 
38
    void set(const char* /*key*/, const char* /*value*/);
 
39
    void remove(const char* /*key*/);
 
40
    
 
41
    iStringParamMap findKey(const char* /*key*/);
 
42
    //int index(char* /*key*/);
 
43
    
 
44
    void read(Xml& /*xml*/, const QString& /*name*/);
 
45
    void write(int /*level*/, Xml& /*xml*/, const char* /*name*/) const;
 
46
};
 
47
 
 
48
 
 
49
#endif //__STRINGPARAM_H__
 
 
b'\\ No newline at end of file'