/* This file is part of Machina. Copyright 2007-2013 David Robillard Machina is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. Machina is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Machina. If not, see . */ #ifndef MACHINA_URIS_HPP #define MACHINA_URIS_HPP #include #include "raul/Atom.hpp" #include "machina/types.hpp" namespace machina { class URIs { public: static void init() { _instance = new URIs(); } static inline const URIs& instance() { assert(_instance); return *_instance; } URIInt machina_Edge; URIInt machina_MidiAction; URIInt machina_Node; URIInt machina_active; URIInt machina_canvas_x; URIInt machina_canvas_y; URIInt machina_duration; URIInt machina_enter_action; URIInt machina_exit_action; URIInt machina_head_id; URIInt machina_initial; URIInt machina_note_number; URIInt machina_probability; URIInt machina_selector; URIInt machina_tail_id; URIInt rdf_type; private: URIs() : machina_Edge(100) , machina_MidiAction(101) , machina_Node(102) , machina_active(1) , machina_canvas_x(2) , machina_canvas_y(3) , machina_duration(4) , machina_enter_action(11) , machina_exit_action(12) , machina_head_id(5) , machina_initial(6) , machina_note_number(13) , machina_probability(7) , machina_selector(8) , machina_tail_id(9) , rdf_type(10) {} static URIs* _instance; }; } // namespace machina #endif // MACHINA_URIS_HPP