From bf83d5a03bf856e34bd0a6e2656a5b2dcfe8aafb Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Mon, 15 Mar 2010 00:58:16 +0100 Subject: Move around files to remove some vanity directories. Also remove the obsolete IDL file stub. (bzr r9194) --- src/traits/CMakeLists.txt | 2 - src/traits/Makefile_insert | 5 -- src/traits/copy.h | 48 ------------------ src/traits/function.h | 122 --------------------------------------------- src/traits/list-copy.h | 45 ----------------- src/traits/makefile.in | 17 ------- src/traits/reference.h | 49 ------------------ 7 files changed, 288 deletions(-) delete mode 100644 src/traits/CMakeLists.txt delete mode 100644 src/traits/Makefile_insert delete mode 100644 src/traits/copy.h delete mode 100644 src/traits/function.h delete mode 100644 src/traits/list-copy.h delete mode 100644 src/traits/makefile.in delete mode 100644 src/traits/reference.h (limited to 'src/traits') diff --git a/src/traits/CMakeLists.txt b/src/traits/CMakeLists.txt deleted file mode 100644 index 791f9cd85..000000000 --- a/src/traits/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -SET(traits_SRC -) diff --git a/src/traits/Makefile_insert b/src/traits/Makefile_insert deleted file mode 100644 index 4290ac2dd..000000000 --- a/src/traits/Makefile_insert +++ /dev/null @@ -1,5 +0,0 @@ - -traits/all: - -traits/clean: - diff --git a/src/traits/copy.h b/src/traits/copy.h deleted file mode 100644 index 27038ff2d..000000000 --- a/src/traits/copy.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Inkscape::Traits::Copy - traits class to determine types to use when copying - * - * Authors: - * MenTaLguY - * - * Copyright (C) 2004 MenTaLguY - * - * Released under GNU GPL, read the file 'COPYING' for more information - */ - -#ifndef SEEN_INKSCAPE_TRAITS_COPY_H -#define SEEN_INKSCAPE_TRAITS_COPY_H - -namespace Inkscape { - -namespace Traits { - -template -struct Copy { - typedef T Type; -}; - -template -struct Copy { - typedef T Type; -}; - -template -struct Copy { - typedef T &Type; -}; - -} - -} - -#endif -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : diff --git a/src/traits/function.h b/src/traits/function.h deleted file mode 100644 index d0dd5d87c..000000000 --- a/src/traits/function.h +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Inkscape::Traits::Function - traits class for C++ "functors" - * - * Authors: - * MenTaLguY - * - * Copyright (C) 2004 MenTaLguY - * - * Released under GNU GPL, read the file 'COPYING' for more information - */ - -#ifndef SEEN_INKSCAPE_TRAITS_FUNCTION_H -#define SEEN_INKSCAPE_TRAITS_FUNCTION_H - -namespace Inkscape { - -namespace Traits { - -template struct Function; - -template -struct Function { - typedef R Result; - - typedef void Arg0; - typedef void Arg1; - typedef void Arg2; - typedef void Arg3; - typedef void Arg4; - typedef void Arg5; -}; - -template -struct Function { - typedef R Result; - - typedef A0 Arg0; - typedef void Arg1; - typedef void Arg2; - typedef void Arg3; - typedef void Arg4; - typedef void Arg5; -}; - -template -struct Function { - typedef R Result; - - typedef A0 Arg0; - typedef A1 Arg1; - typedef void Arg2; - typedef void Arg3; - typedef void Arg4; - typedef void Arg5; -}; - -template -struct Function { - typedef R Result; - - typedef A0 Arg0; - typedef A1 Arg1; - typedef A2 Arg2; - typedef void Arg3; - typedef void Arg4; - typedef void Arg5; -}; - -template -struct Function { - typedef R Result; - - typedef A0 Arg0; - typedef A1 Arg1; - typedef A2 Arg2; - typedef A3 Arg3; - typedef void Arg4; - typedef void Arg5; -}; - -template -struct Function { - typedef R Result; - - typedef A0 Arg0; - typedef A1 Arg1; - typedef A2 Arg2; - typedef A3 Arg3; - typedef A4 Arg4; - typedef void Arg5; -}; - -template -struct Function { - typedef R Result; - - typedef A0 Arg0; - typedef A1 Arg1; - typedef A2 Arg2; - typedef A3 Arg3; - typedef A4 Arg4; - typedef A5 Arg5; -}; - -} - -} - -#endif -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : diff --git a/src/traits/list-copy.h b/src/traits/list-copy.h deleted file mode 100644 index 9d99c4f29..000000000 --- a/src/traits/list-copy.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Inkscape::Traits::ListCopy - helper traits class for copying lists - * - * Authors: - * MenTaLguY - * - * Copyright (C) 2004 MenTaLguY - * - * Released under GNU GPL, read the file 'COPYING' for more information - */ - -#ifndef SEEN_INKSCAPE_TRAITS_LIST_COPY_H -#define SEEN_INKSCAPE_TRAITS_LIST_COPY_H - -#include -#include "traits/copy.h" -#include "util/list.h" - -namespace Inkscape { - -namespace Traits { - -template -struct ListCopy { - typedef typename Copy< - typename std::iterator_traits::value_type - >::Type ResultValue; - typedef typename Util::MutableList ResultList; -}; - -} - -} - -#endif -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : diff --git a/src/traits/makefile.in b/src/traits/makefile.in deleted file mode 100644 index c0f07d432..000000000 --- a/src/traits/makefile.in +++ /dev/null @@ -1,17 +0,0 @@ -# Convenience stub makefile to call the real Makefile. - -@SET_MAKE@ - -OBJEXT = @OBJEXT@ - -# Explicit so that it's the default rule. -all: - cd .. && $(MAKE) traits/all - -clean %.a %.$(OBJEXT): - cd .. && $(MAKE) traits/$@ - -.PHONY: all clean - -.SUFFIXES: -.SUFFIXES: .a .$(OBJEXT) diff --git a/src/traits/reference.h b/src/traits/reference.h deleted file mode 100644 index 199ae8929..000000000 --- a/src/traits/reference.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Inkscape::Traits::Reference - traits class for dealing with reference types - * - * Authors: - * MenTaLguY - * - * Copyright (C) 2004 MenTaLguY - * - * Released under GNU GPL, read the file 'COPYING' for more information - */ - -#ifndef SEEN_INKSCAPE_TRAITS_REFERENCE_H -#define SEEN_INKSCAPE_TRAITS_REFERENCE_H - -namespace Inkscape { - -namespace Traits { - -template -struct Reference { - typedef T const &RValue; - typedef T &LValue; - typedef T *Pointer; - typedef T const *ConstPointer; -}; - -template -struct Reference { - typedef T &RValue; - typedef T &LValue; - typedef T *Pointer; - typedef T const *ConstPointer; -}; - -} - -} - -#endif -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : -- cgit v1.2.3