mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-11-22 05:29:14 +01:00
da59f4ec49
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@2 389f4c8b-5dfe-645f-db0e-df882bc27289
21 lines
502 B
C
21 lines
502 B
C
#ifndef TOOLS_H
|
|
#define TOOLS_H
|
|
#include "includes.h"
|
|
|
|
#define RU(x,n) (-(-(x) & -(n))) //round up
|
|
|
|
#define MIN( x, y ) ( ( x ) < ( y ) ? ( x ) : ( y ) )
|
|
#define MAX( x, y ) ( ( x ) > ( y ) ? ( x ) : ( y ) )
|
|
|
|
char ascii( char s );
|
|
void hexdump( const void *d, int len );
|
|
void hexdump( const QByteArray &d, int from = 0, int len = -1 );
|
|
|
|
//keep track of the last folder browsed to when looking for files
|
|
extern QString currentDir;
|
|
|
|
extern QString pcPath;
|
|
extern QString sneekPath;
|
|
|
|
#endif // TOOLS_H
|