coding-style improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@698 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -48,7 +48,7 @@ public:
|
||||
|
||||
|
||||
protected:
|
||||
Sint32 FASTCALL writeData( const void * _data, Sint32 _len );
|
||||
Sint32 writeData( const void * _data, Sint32 _len );
|
||||
void seekToBegin( void );
|
||||
|
||||
inline bool useVBR( void ) const
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* export.h - header which is needed for song-export
|
||||
*
|
||||
* Copyright (c) 2004-2006 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -43,18 +43,18 @@ typedef audioFileDevice * ( * getDeviceInst)( const sample_rate_t _sample_rate,
|
||||
mixer * _mixer );
|
||||
|
||||
|
||||
enum fileTypes
|
||||
enum ExportFileTypes
|
||||
{
|
||||
WAVE_FILE,
|
||||
OGG_FILE,
|
||||
NULL_FILE = 0xFF
|
||||
WaveFile,
|
||||
OggFile,
|
||||
NullFile = 0xFF
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
struct fileEncodeDevice
|
||||
{
|
||||
fileTypes m_fileType;
|
||||
ExportFileTypes m_fileType;
|
||||
const char * m_description;
|
||||
const char * m_extension;
|
||||
getDeviceInst m_getDevInst;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* export_project_dialog.h - declaration of class exportProjectDialog which is
|
||||
* responsible for exporting project
|
||||
*
|
||||
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -69,7 +69,7 @@ private:
|
||||
void finishProjectExport( void );
|
||||
void abortProjectExport( void );
|
||||
|
||||
static fileTypes getFileTypeFromExtension( const QString & _ext );
|
||||
static ExportFileTypes getFileTypeFromExtension( const QString & _ext );
|
||||
static Sint16 s_availableBitrates[];
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ private:
|
||||
QProgressBar * m_exportProgressBar;
|
||||
|
||||
QString m_fileName;
|
||||
fileTypes m_fileType;
|
||||
ExportFileTypes m_fileType;
|
||||
bool m_deleteFile;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -49,7 +49,7 @@ class pluginView;
|
||||
class plugin : public journallingObject, public model
|
||||
{
|
||||
public:
|
||||
enum pluginTypes
|
||||
enum PluginTypes
|
||||
{
|
||||
Instrument, // instrument being used in channel-track
|
||||
Effect, // effect-plugin for effect-board
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
const char * description;
|
||||
const char * author;
|
||||
int version;
|
||||
pluginTypes type;
|
||||
PluginTypes type;
|
||||
const QPixmap * logo;
|
||||
class subPluginFeatures
|
||||
{
|
||||
@@ -120,7 +120,7 @@ public:
|
||||
};
|
||||
typedef QList<key> keyList;
|
||||
|
||||
subPluginFeatures( plugin::pluginTypes _type ) :
|
||||
subPluginFeatures( plugin::PluginTypes _type ) :
|
||||
m_type( _type )
|
||||
{
|
||||
}
|
||||
@@ -146,7 +146,7 @@ public:
|
||||
|
||||
|
||||
protected:
|
||||
const plugin::pluginTypes m_type;
|
||||
const plugin::PluginTypes m_type;
|
||||
}
|
||||
* sub_plugin_features;
|
||||
|
||||
@@ -163,7 +163,7 @@ public:
|
||||
}
|
||||
|
||||
// return plugin-type
|
||||
inline pluginTypes type( void ) const
|
||||
inline PluginTypes type( void ) const
|
||||
{
|
||||
return( m_descriptor->type );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user