Back to index

unity  6.0.0
ShortcutHintPrivate.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2011 Canonical Ltd
00003  *
00004  * This program is free software: you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License version 3 as
00006  * published by the Free Software Foundation.
00007  *
00008  * This program is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  * GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU General Public License
00014  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00015  *
00016  * Authored by: Andrea Azzarone <azzaronea@gmail.com>
00017  */
00018 
00019 #ifndef UNITYSHELL_SHORTCUT_HINT_PRIVATE_H
00020 #define UNITYSHELL_SHORTCUT_HINT_PRIVATE_H
00021 
00022 #include <string>
00023 
00024 namespace unity
00025 {
00026 namespace shortcut
00027 {
00028 namespace impl
00029 {
00030 
00031 std::string GetMetaKey(std::string const& scut);
00032 std::string FixShortcutFormat(std::string const& scut);
00033 std::string GetTranslatableLabel(std::string const& scut);
00034 std::string FixMouseShortcut(std::string const& scut);
00035 std::string ProperCase(std::string const& str);
00036 
00037 } // namespace impl
00038 } // namespace shortcut
00039 } // namespace unity
00040 
00041 #endif // UNITYSHELL_SHORTCUT_HINT_PRIVATE_H