Commit aea17550 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Remove more excess whitespace

parent 0175513e
...@@ -132,7 +132,7 @@ STDMETHODIMP VLCControl::play(void) ...@@ -132,7 +132,7 @@ STDMETHODIMP VLCControl::play(void)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::pause(void) STDMETHODIMP VLCControl::pause(void)
{ {
int i_vlc; int i_vlc;
...@@ -144,7 +144,7 @@ STDMETHODIMP VLCControl::pause(void) ...@@ -144,7 +144,7 @@ STDMETHODIMP VLCControl::pause(void)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::stop(void) STDMETHODIMP VLCControl::stop(void)
{ {
int i_vlc; int i_vlc;
...@@ -156,7 +156,7 @@ STDMETHODIMP VLCControl::stop(void) ...@@ -156,7 +156,7 @@ STDMETHODIMP VLCControl::stop(void)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::get_Playing(VARIANT_BOOL *isPlaying) STDMETHODIMP VLCControl::get_Playing(VARIANT_BOOL *isPlaying)
{ {
if( NULL == isPlaying ) if( NULL == isPlaying )
...@@ -176,7 +176,7 @@ STDMETHODIMP VLCControl::get_Playing(VARIANT_BOOL *isPlaying) ...@@ -176,7 +176,7 @@ STDMETHODIMP VLCControl::get_Playing(VARIANT_BOOL *isPlaying)
*isPlaying = VARIANT_FALSE; *isPlaying = VARIANT_FALSE;
return result; return result;
}; };
STDMETHODIMP VLCControl::get_Position(float *position) STDMETHODIMP VLCControl::get_Position(float *position)
{ {
if( NULL == position ) if( NULL == position )
...@@ -196,7 +196,7 @@ STDMETHODIMP VLCControl::get_Position(float *position) ...@@ -196,7 +196,7 @@ STDMETHODIMP VLCControl::get_Position(float *position)
*position = 0.0f; *position = 0.0f;
return result; return result;
}; };
STDMETHODIMP VLCControl::put_Position(float position) STDMETHODIMP VLCControl::put_Position(float position)
{ {
HRESULT result = E_UNEXPECTED; HRESULT result = E_UNEXPECTED;
...@@ -211,7 +211,7 @@ STDMETHODIMP VLCControl::put_Position(float position) ...@@ -211,7 +211,7 @@ STDMETHODIMP VLCControl::put_Position(float position)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::get_Time(int *seconds) STDMETHODIMP VLCControl::get_Time(int *seconds)
{ {
if( NULL == seconds ) if( NULL == seconds )
...@@ -232,14 +232,14 @@ STDMETHODIMP VLCControl::get_Time(int *seconds) ...@@ -232,14 +232,14 @@ STDMETHODIMP VLCControl::get_Time(int *seconds)
return result; return result;
}; };
STDMETHODIMP VLCControl::put_Time(int seconds) STDMETHODIMP VLCControl::put_Time(int seconds)
{ {
_p_instance->setTime(seconds); _p_instance->setTime(seconds);
return NOERROR; return NOERROR;
}; };
STDMETHODIMP VLCControl::shuttle(int seconds) STDMETHODIMP VLCControl::shuttle(int seconds)
{ {
HRESULT result = E_UNEXPECTED; HRESULT result = E_UNEXPECTED;
...@@ -254,7 +254,7 @@ STDMETHODIMP VLCControl::shuttle(int seconds) ...@@ -254,7 +254,7 @@ STDMETHODIMP VLCControl::shuttle(int seconds)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::fullscreen(void) STDMETHODIMP VLCControl::fullscreen(void)
{ {
HRESULT result = E_UNEXPECTED; HRESULT result = E_UNEXPECTED;
...@@ -269,7 +269,7 @@ STDMETHODIMP VLCControl::fullscreen(void) ...@@ -269,7 +269,7 @@ STDMETHODIMP VLCControl::fullscreen(void)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::get_Length(int *seconds) STDMETHODIMP VLCControl::get_Length(int *seconds)
{ {
if( NULL == seconds ) if( NULL == seconds )
...@@ -289,7 +289,7 @@ STDMETHODIMP VLCControl::get_Length(int *seconds) ...@@ -289,7 +289,7 @@ STDMETHODIMP VLCControl::get_Length(int *seconds)
*seconds = 0; *seconds = 0;
return result; return result;
}; };
STDMETHODIMP VLCControl::playFaster(void) STDMETHODIMP VLCControl::playFaster(void)
{ {
HRESULT result = E_UNEXPECTED; HRESULT result = E_UNEXPECTED;
...@@ -304,7 +304,7 @@ STDMETHODIMP VLCControl::playFaster(void) ...@@ -304,7 +304,7 @@ STDMETHODIMP VLCControl::playFaster(void)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::playSlower(void) STDMETHODIMP VLCControl::playSlower(void)
{ {
HRESULT result = E_UNEXPECTED; HRESULT result = E_UNEXPECTED;
...@@ -319,7 +319,7 @@ STDMETHODIMP VLCControl::playSlower(void) ...@@ -319,7 +319,7 @@ STDMETHODIMP VLCControl::playSlower(void)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::get_Volume(int *volume) STDMETHODIMP VLCControl::get_Volume(int *volume)
{ {
if( NULL == volume ) if( NULL == volume )
...@@ -328,13 +328,13 @@ STDMETHODIMP VLCControl::get_Volume(int *volume) ...@@ -328,13 +328,13 @@ STDMETHODIMP VLCControl::get_Volume(int *volume)
*volume = _p_instance->getVolume(); *volume = _p_instance->getVolume();
return NOERROR; return NOERROR;
}; };
STDMETHODIMP VLCControl::put_Volume(int volume) STDMETHODIMP VLCControl::put_Volume(int volume)
{ {
_p_instance->setVolume(volume); _p_instance->setVolume(volume);
return NOERROR; return NOERROR;
}; };
STDMETHODIMP VLCControl::toggleMute(void) STDMETHODIMP VLCControl::toggleMute(void)
{ {
int i_vlc; int i_vlc;
...@@ -362,7 +362,7 @@ STDMETHODIMP VLCControl::setVariable(BSTR name, VARIANT value) ...@@ -362,7 +362,7 @@ STDMETHODIMP VLCControl::setVariable(BSTR name, VARIANT value)
int i_type; int i_type;
vlc_value_t val; vlc_value_t val;
if( VLC_SUCCESS == VLC_VariableType(i_vlc, psz_varname, &i_type) ) if( VLC_SUCCESS == VLC_VariableType(i_vlc, psz_varname, &i_type) )
{ {
VARIANT arg; VARIANT arg;
...@@ -771,7 +771,7 @@ STDMETHODIMP VLCControl::addTarget( BSTR uri, VARIANT options, enum VLCPlaylistM ...@@ -771,7 +771,7 @@ STDMETHODIMP VLCControl::addTarget( BSTR uri, VARIANT options, enum VLCPlaylistM
} }
return hr; return hr;
}; };
STDMETHODIMP VLCControl::get_PlaylistIndex(int *index) STDMETHODIMP VLCControl::get_PlaylistIndex(int *index)
{ {
if( NULL == index ) if( NULL == index )
...@@ -787,7 +787,7 @@ STDMETHODIMP VLCControl::get_PlaylistIndex(int *index) ...@@ -787,7 +787,7 @@ STDMETHODIMP VLCControl::get_PlaylistIndex(int *index)
*index = 0; *index = 0;
return result; return result;
}; };
STDMETHODIMP VLCControl::get_PlaylistCount(int *count) STDMETHODIMP VLCControl::get_PlaylistCount(int *count)
{ {
int i_vlc; int i_vlc;
...@@ -800,7 +800,7 @@ STDMETHODIMP VLCControl::get_PlaylistCount(int *count) ...@@ -800,7 +800,7 @@ STDMETHODIMP VLCControl::get_PlaylistCount(int *count)
*count = 0; *count = 0;
return result; return result;
}; };
STDMETHODIMP VLCControl::playlistNext(void) STDMETHODIMP VLCControl::playlistNext(void)
{ {
int i_vlc; int i_vlc;
...@@ -812,7 +812,7 @@ STDMETHODIMP VLCControl::playlistNext(void) ...@@ -812,7 +812,7 @@ STDMETHODIMP VLCControl::playlistNext(void)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::playlistPrev(void) STDMETHODIMP VLCControl::playlistPrev(void)
{ {
int i_vlc; int i_vlc;
...@@ -824,7 +824,7 @@ STDMETHODIMP VLCControl::playlistPrev(void) ...@@ -824,7 +824,7 @@ STDMETHODIMP VLCControl::playlistPrev(void)
} }
return result; return result;
}; };
STDMETHODIMP VLCControl::playlistClear(void) STDMETHODIMP VLCControl::playlistClear(void)
{ {
int i_vlc; int i_vlc;
...@@ -851,7 +851,7 @@ STDMETHODIMP VLCControl::get_VersionInfo(BSTR *version) ...@@ -851,7 +851,7 @@ STDMETHODIMP VLCControl::get_VersionInfo(BSTR *version)
*version = NULL; *version = NULL;
return E_FAIL; return E_FAIL;
}; };
STDMETHODIMP VLCControl::get_MRL(BSTR *mrl) STDMETHODIMP VLCControl::get_MRL(BSTR *mrl)
{ {
if( NULL == mrl ) if( NULL == mrl )
...@@ -898,4 +898,3 @@ STDMETHODIMP VLCControl::put_AutoLoop(VARIANT_BOOL autoloop) ...@@ -898,4 +898,3 @@ STDMETHODIMP VLCControl::put_AutoLoop(VARIANT_BOOL autoloop)
_p_instance->setAutoLoop((VARIANT_FALSE != autoloop) ? TRUE: FALSE); _p_instance->setAutoLoop((VARIANT_FALSE != autoloop) ? TRUE: FALSE);
return S_OK; return S_OK;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment