Commit 6610397f authored by JP Dinger's avatar JP Dinger

Pack up a lot of repetetive exception handling into appropriate functions.

parent a7ad1f73
This diff is collapsed.
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License along
* along with this program; if not, write to the Free Software * with this program; if not, write to the Free Software Foundation, Inc.,
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#ifndef _VLCCONTROL2_H_ #ifndef _VLCCONTROL2_H_
...@@ -74,6 +74,7 @@ public: ...@@ -74,6 +74,7 @@ public:
protected: protected:
HRESULT loadTypeInfo(); HRESULT loadTypeInfo();
HRESULT exception_bridge(libvlc_exception_t *ex);
private: private:
VLCPlugin* _p_instance; VLCPlugin* _p_instance;
...@@ -129,6 +130,7 @@ public: ...@@ -129,6 +130,7 @@ public:
protected: protected:
HRESULT loadTypeInfo(); HRESULT loadTypeInfo();
HRESULT exception_bridge(libvlc_exception_t *ex);
private: private:
VLCPlugin* _p_instance; VLCPlugin* _p_instance;
...@@ -251,6 +253,7 @@ public: ...@@ -251,6 +253,7 @@ public:
protected: protected:
HRESULT loadTypeInfo(); HRESULT loadTypeInfo();
HRESULT exception_bridge(libvlc_exception_t *ex);
private: private:
VLCPlugin* _p_instance; VLCPlugin* _p_instance;
...@@ -305,6 +308,7 @@ public: ...@@ -305,6 +308,7 @@ public:
protected: protected:
HRESULT loadTypeInfo(); HRESULT loadTypeInfo();
HRESULT exception_bridge(libvlc_exception_t *ex);
VLCLog* _p_vlclog; VLCLog* _p_vlclog;
...@@ -363,6 +367,7 @@ public: ...@@ -363,6 +367,7 @@ public:
protected: protected:
HRESULT loadTypeInfo(); HRESULT loadTypeInfo();
HRESULT exception_bridge(libvlc_exception_t *ex);
libvlc_log_t *_p_log; libvlc_log_t *_p_log;
...@@ -413,6 +418,7 @@ public: ...@@ -413,6 +418,7 @@ public:
protected: protected:
HRESULT loadTypeInfo(); HRESULT loadTypeInfo();
HRESULT exception_bridge(libvlc_exception_t *ex);
private: private:
VLCPlugin* _p_instance; VLCPlugin* _p_instance;
...@@ -474,6 +480,7 @@ public: ...@@ -474,6 +480,7 @@ public:
protected: protected:
HRESULT loadTypeInfo(); HRESULT loadTypeInfo();
HRESULT exception_bridge(libvlc_exception_t *ex);
private: private:
VLCPlugin* _p_instance; VLCPlugin* _p_instance;
...@@ -534,6 +541,7 @@ public: ...@@ -534,6 +541,7 @@ public:
protected: protected:
HRESULT loadTypeInfo(); HRESULT loadTypeInfo();
HRESULT exception_bridge(libvlc_exception_t *ex);
private: private:
VLCPlugin* _p_instance; VLCPlugin* _p_instance;
......
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