From 8f5c4e358a71fd5c82709da686121cac476f952d Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Mon, 4 Jan 2010 12:55:30 +0100 Subject: rename Uncopyable.h to uncopyable.h --- Makefile | 2 +- Uncopyable.h | 38 -------------------------------------- dxr3audiodecoder.h | 2 +- dxr3output.h | 2 +- dxr3pesframe.h | 2 +- dxr3syncbuffer.h | 2 +- uncopyable.h | 38 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 Uncopyable.h create mode 100644 uncopyable.h diff --git a/Makefile b/Makefile index 0eec9a8..279aff8 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ p ### The C++ compiler and options: CXX = g++ -CXXFLAGS = -O2 -fPIC -Wall -Wextra -Woverloaded-virtual +CXXFLAGS = -O2 -fPIC -Wall -Wextra -Woverloaded-virtual -Weffc++ ### The directory environment: diff --git a/Uncopyable.h b/Uncopyable.h deleted file mode 100644 index 17517cd..0000000 --- a/Uncopyable.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Uncopyable.h - * - * Copyright (C) 2004 Christian Gmeiner - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either version 2.1 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - -#ifndef _UNCOPYABLE_H_ -#define _UNCOPYABLE_H_ - -class Uncopyable { -protected: - // allow construction and deconstruction - // of subclasses - Uncopyable() {} - ~Uncopyable() {} - -private: - // disallow copy operations - Uncopyable(const Uncopyable&); - Uncopyable& operator=(const Uncopyable&); -}; - -#endif /*_UNCOPYABLE_H_*/ diff --git a/dxr3audiodecoder.h b/dxr3audiodecoder.h index c5daf10..62eb806 100644 --- a/dxr3audiodecoder.h +++ b/dxr3audiodecoder.h @@ -30,7 +30,7 @@ extern "C" { #include "dxr3syncbuffer.h" #include "dxr3multichannelaudio.h" -#include "Uncopyable.h" +#include "uncopyable.h" class cDxr3PesFrame; diff --git a/dxr3output.h b/dxr3output.h index 7d94e7d..abd21c6 100644 --- a/dxr3output.h +++ b/dxr3output.h @@ -24,7 +24,7 @@ #include "dxr3syncbuffer.h" #include "dxr3audiodecoder.h" -#include "Uncopyable.h" +#include "uncopyable.h" class iAudio; diff --git a/dxr3pesframe.h b/dxr3pesframe.h index b911c34..6eddd68 100644 --- a/dxr3pesframe.h +++ b/dxr3pesframe.h @@ -24,7 +24,7 @@ #include #include "dxr3audio.h" -#include "Uncopyable.h" +#include "uncopyable.h" // ================================== enum eVideoFrameType diff --git a/dxr3syncbuffer.h b/dxr3syncbuffer.h index c428a73..053851f 100644 --- a/dxr3syncbuffer.h +++ b/dxr3syncbuffer.h @@ -26,7 +26,7 @@ #include #include "dxr3interface.h" #include "dxr3generaldefines.h" -#include "Uncopyable.h" +#include "uncopyable.h" // ================================== const uint32_t UNKNOWN_CHANNEL_COUNT = 0xFFFFFFFF; diff --git a/uncopyable.h b/uncopyable.h new file mode 100644 index 0000000..17517cd --- /dev/null +++ b/uncopyable.h @@ -0,0 +1,38 @@ +/* + * Uncopyable.h + * + * Copyright (C) 2004 Christian Gmeiner + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef _UNCOPYABLE_H_ +#define _UNCOPYABLE_H_ + +class Uncopyable { +protected: + // allow construction and deconstruction + // of subclasses + Uncopyable() {} + ~Uncopyable() {} + +private: + // disallow copy operations + Uncopyable(const Uncopyable&); + Uncopyable& operator=(const Uncopyable&); +}; + +#endif /*_UNCOPYABLE_H_*/ -- cgit v1.2.3