~ubuntu-branches/ubuntu/trusty/plee-the-bear/trusty-proposed

« back to all changes in this revision

Viewing changes to bear-factory/bear-editor/src/bf/xml/item_instance_field_node.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Julien Jorge, Julien Jorge
  • Date: 2010-11-17 20:13:34 UTC
  • mfrom: (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20101117201334-o4dp7uq437to7oxb
Tags: 0.5.1-1
[ Julien Jorge ]
* New upstream release (Closes: #565062, #546514).
* Add armhf architecture (Closes: #604689).
* Remove patches integrated upstream: rpath-editors.diff, rpath-game.diff,
  editors-menu-section.diff.
* Bump the Standard-Version, no changes.
* Update my email address.
* Set build dependency of libclaw to 1.6.0.
* Add the missing ${misc:Depends} in debian/control.
* List gettext translations in bear-factory.install and plee-the-bear.install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    Bear Engine - Editor library
3
3
 
4
 
    Copyright (C) 2005-2009 Julien Jorge, Sebastien Angibaud
 
4
    Copyright (C) 2005-2010 Julien Jorge, Sebastien Angibaud
5
5
 
6
6
    This program is free software; you can redistribute it and/or modify it
7
7
    under the terms of the GNU General Public License as published by the
60
60
      ( const item_instance& item, const type_field& f,
61
61
        std::ostream& os ) const;
62
62
 
63
 
      void save_string
64
 
      ( std::ostream& os, const std::string& field_name,
65
 
        const item_instance& item ) const;
66
63
      void save_sprite
67
64
      ( std::ostream& os, const std::string& field_name,
68
65
        const item_instance& item ) const;
75
72
      void save_sample
76
73
      ( std::ostream& os, const std::string& field_name,
77
74
        const item_instance& item ) const;
78
 
      void save_string_list
79
 
      ( std::ostream& os, const std::string& field_name,
80
 
        const item_instance& item ) const;
81
75
      void save_sprite_list
82
76
      ( std::ostream& os, const std::string& field_name,
83
77
        const item_instance& item ) const;
91
85
      ( std::ostream& os, const std::string& field_name,
92
86
        const item_instance& item ) const;
93
87
 
94
 
      void string_to_xml( std::ostream& os, const string_type& v ) const;
95
 
 
96
88
      template<typename Type>
97
89
      void load_value
98
90
      ( item_instance& item, const std::string& field_name,
99
 
        const std::string& node_name, const wxXmlNode* node ) const;
 
91
        const wxXmlNode* node ) const;
100
92
 
101
93
      template<typename Type>
102
94
      void load_value_list
103
95
      ( item_instance& item, const std::string& field_name,
104
 
        const std::string& node_name, const wxXmlNode* node ) const;
 
96
        const wxXmlNode* node ) const;
105
97
 
106
98
      template<typename Type>
107
99
      void save_value
117
109
  } // namespace xml
118
110
} // namespace bf
119
111
 
120
 
#include "bf/xml/impl/item_instance_field_node.tpp"
121
 
 
122
112
#endif // __BF_XML_ITEM_INSTANCE_FIELD_NODE_HPP__