mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
clean code
This commit is contained in:
parent
8b1b2a1628
commit
d3cf46e469
|
@ -7,7 +7,6 @@
|
|||
#include "langcoder.hh"
|
||||
#include "gddebug.hh"
|
||||
#include "ufile.hh"
|
||||
#include "wstring_qt.hh"
|
||||
#include "utf8.hh"
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -12,21 +12,6 @@ struct GDLangCode
|
|||
std::string lang; // Language name in English
|
||||
};
|
||||
|
||||
|
||||
template< typename T, int N >
|
||||
inline int arraySize( T ( & )[ N ] )
|
||||
{
|
||||
return N;
|
||||
}
|
||||
|
||||
struct LangStruct
|
||||
{
|
||||
int order;
|
||||
quint32 code;
|
||||
QIcon icon;
|
||||
QString lang;
|
||||
};
|
||||
|
||||
class LangCoder
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue