mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 08:23:50 -04:00
g13d: More cleanups
Double underbars are reserved for the compiler and system, so we shouldn't use them for header guards. Additionally, remove a bunch of these line breaks.
This commit is contained in:
parent
22cd1c9351
commit
b81ec75c82
@ -55,4 +55,4 @@ class CommandException : public std::exception {
|
||||
|
||||
} // namespace G13
|
||||
|
||||
#endif // __G13_H__
|
||||
#endif // G13_H
|
||||
|
@ -28,8 +28,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __HELPER_HPP__
|
||||
#define __HELPER_HPP__
|
||||
#ifndef HELPER_HPP
|
||||
#define HELPER_HPP
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
@ -44,12 +44,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// *************************************************************************
|
||||
|
||||
namespace Helper {
|
||||
|
||||
// *************************************************************************
|
||||
|
||||
template <class MAP_T>
|
||||
struct _map_keys_out {
|
||||
_map_keys_out(const MAP_T &c, const std::string &s) : container(c), sep(s) {
|
||||
@ -79,10 +75,6 @@ _map_keys_out<MAP_T> map_keys_out(const MAP_T &c,
|
||||
return _map_keys_out<MAP_T>(c, sep);
|
||||
};
|
||||
|
||||
// *************************************************************************
|
||||
|
||||
}; // namespace Helper
|
||||
|
||||
// *************************************************************************
|
||||
|
||||
#endif // __HELPER_HPP__
|
||||
#endif // HELPER_HPP
|
||||
|
@ -60,8 +60,6 @@ class Manager {
|
||||
static void set_stop(int);
|
||||
};
|
||||
|
||||
// *************************************************************************
|
||||
|
||||
// inlines
|
||||
|
||||
inline Manager &Action::manager() {
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "repr.h"
|
||||
|
||||
namespace G13 {
|
||||
// *************************************************************************
|
||||
|
||||
void Key::dump(std::ostream &o) const {
|
||||
o << manager().find_g13_key_name(index()) << "(" << index() << ") : ";
|
||||
|
Loading…
Reference in New Issue
Block a user