aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/adv1
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/tutorial/adv1')
-rw-r--r--externals/grill/flext/tutorial/adv1/Makefile.am51
-rwxr-xr-xexternals/grill/flext/tutorial/adv1/adv1.mcpbin146697 -> 0 bytes
-rw-r--r--externals/grill/flext/tutorial/adv1/adv1.vcproj177
-rw-r--r--externals/grill/flext/tutorial/adv1/main.cpp101
-rw-r--r--externals/grill/flext/tutorial/adv1/package.txt2
5 files changed, 0 insertions, 331 deletions
diff --git a/externals/grill/flext/tutorial/adv1/Makefile.am b/externals/grill/flext/tutorial/adv1/Makefile.am
deleted file mode 100644
index d849ba2f..00000000
--- a/externals/grill/flext/tutorial/adv1/Makefile.am
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# automake template
-# added by tim blechmann
-#
-
-NAME = adv1
-
-BUILT_SOURCES = main.cpp
-
-EXTRA_DIST = main.cpp \
- $(NAME).mcp \
- $(NAME).vcproj
-
-CXXFLAGS = @CXXFLAGS@ \
- @OPT_FLAGS@ \
- @INCLUDEDIR@ \
- -I../../source \
- $(DEFS) \
- -DFLEXT_SHARED
-
-LDFLAGS = @DYNAMIC_LDFLAGS@ @LDFLAGS@ \
- $(patsubst %,-framework %,$(FRAMEWORKS))
-
-LIBS = @LIBS@ -lflext-pd
-
-FRAMEWORKS = @FRAMEWORKS@
-
-TARGETDIR = @TARGETDIR@
-
-TARGET =$(NAME).@EXTENSION@
-
-OBJECTS = $(patsubst %.cpp,./%.@OBJEXT@,$(BUILT_SOURCES))
-
-SYSDIR = @SYSDIR@
-
-
-# ----------------------------- targets --------------------------------
-
-all-local: $(OBJECTS)
- $(CXX) $(LDFLAGS) ./*.@OBJEXT@ $(LIBS) -o ../$(TARGETDIR)/$(TARGET)
- strip --strip-unneeded ../$(TARGETDIR)/$(TARGET)
-
-./%.@OBJEXT@ : %.cpp
- $(CXX) -c $(CXXFLAGS) $< -o $@
-
-clean-local:
- rm -f ../$(TARGETDIR)/$(TARGET)
- rm -f ./$(OBJECTS)
-
-install-exec-local:
- install ../$(TARGET) $(SYSDIR)extra
diff --git a/externals/grill/flext/tutorial/adv1/adv1.mcp b/externals/grill/flext/tutorial/adv1/adv1.mcp
deleted file mode 100755
index 7b89200a..00000000
--- a/externals/grill/flext/tutorial/adv1/adv1.mcp
+++ /dev/null
Binary files differ
diff --git a/externals/grill/flext/tutorial/adv1/adv1.vcproj b/externals/grill/flext/tutorial/adv1/adv1.vcproj
deleted file mode 100644
index 3737a2a8..00000000
--- a/externals/grill/flext/tutorial/adv1/adv1.vcproj
+++ /dev/null
@@ -1,177 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="adv1"
- SccProjectName="adv1"
- SccAuxPath=""
- SccLocalPath="."
- SccProvider="MSSCCI:Jalindi Igloo">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory=".\msvc"
- IntermediateDirectory=".\msvc"
- ConfigurationType="2"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="FALSE"
- CharacterSet="2">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="c:\programme\audio\pd\src,..\..\source"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;PD"
- StringPooling="TRUE"
- RuntimeLibrary="4"
- EnableFunctionLevelLinking="TRUE"
- UsePrecompiledHeader="2"
- PrecompiledHeaderFile=".\msvc/adv1.pch"
- AssemblerListingLocation=".\msvc/"
- ObjectFile=".\msvc/"
- ProgramDataBaseFileName=".\msvc/"
- WarningLevel="3"
- SuppressStartupBanner="TRUE"
- CompileAs="0"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="pd.lib flext-pdwin.lib"
- OutputFile="../pd-msvc/adv1.dll"
- LinkIncremental="1"
- SuppressStartupBanner="TRUE"
- AdditionalLibraryDirectories="..\..\pd-msvc"
- ProgramDatabaseFile=".\msvc/adv1.pdb"
- ImportLibrary=".\msvc/adv1.lib"
- TargetMachine="1"/>
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="TRUE"
- SuppressStartupBanner="TRUE"
- TargetEnvironment="1"
- TypeLibraryName=".\msvc/adv1.tlb"
- HeaderFileName=""/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="3079"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory=".\msvc-debug"
- IntermediateDirectory=".\msvc-debug"
- ConfigurationType="2"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="FALSE"
- CharacterSet="2">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="c:\programme\audio\pd\src,..\..\source"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PD"
- BasicRuntimeChecks="3"
- RuntimeLibrary="5"
- UsePrecompiledHeader="2"
- PrecompiledHeaderFile=".\msvc-debug/adv1.pch"
- AssemblerListingLocation=".\msvc-debug/"
- ObjectFile=".\msvc-debug/"
- ProgramDataBaseFileName=".\msvc-debug/"
- BrowseInformation="1"
- BrowseInformationFile=".\msvc-debug/"
- WarningLevel="3"
- SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
- CompileAs="0"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="pd.lib flext_d-pdwin.lib"
- OutputFile=".\msvc-debug/adv1.dll"
- LinkIncremental="1"
- SuppressStartupBanner="TRUE"
- AdditionalLibraryDirectories="..\..\pd-msvc"
- GenerateDebugInformation="TRUE"
- ProgramDatabaseFile=".\msvc-debug/adv1.pdb"
- ImportLibrary=".\msvc-debug/adv1.lib"
- TargetMachine="1"/>
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="TRUE"
- SuppressStartupBanner="TRUE"
- TargetEnvironment="1"
- TypeLibraryName=".\msvc-debug/adv1.tlb"
- HeaderFileName=""/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="3079"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <File
- RelativePath="main.cpp">
- <FileConfiguration
- Name="Release|Win32">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_MBCS;_USRDLL;PD;$(NoInherit)"/>
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;PD;$(NoInherit)"
- BasicRuntimeChecks="3"
- BrowseInformation="1"/>
- </FileConfiguration>
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/externals/grill/flext/tutorial/adv1/main.cpp b/externals/grill/flext/tutorial/adv1/main.cpp
deleted file mode 100644
index 4150800f..00000000
--- a/externals/grill/flext/tutorial/adv1/main.cpp
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
-flext tutorial - advanced 1
-
-Copyright (c) 2002,2003 Thomas Grill (xovo@gmx.net)
-For information on usage and redistribution, and for a DISCLAIMER OF ALL
-WARRANTIES, see the file, "license.txt," in this distribution.
-
--------------------------------------------------------------------------
-
-This is an example of a simplified prepend object
-*/
-
-#include <flext.h>
-
-#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 401)
-#error You need at least flext version 0.4.1
-#endif
-
-
-class adv1:
- public flext_base
-{
- FLEXT_HEADER(adv1,flext_base)
-
-public:
- // constructor with variable argument list
- adv1(int argc,t_atom *argv);
-
-protected:
- void m_any(const t_symbol *s,int argc,t_atom *argv); // method which digests anything
-
- AtomList lst;
-private:
- FLEXT_CALLBACK_A(m_any); // callback for method "m_any" (with anything argument)
-};
-
-// instantiate the class (constructor has a variable argument list)
-// note the two words in the string: prepend acts as an alias for adv1!
-FLEXT_NEW_V("adv1 prepend",adv1)
-
-
-
-// constructor
-
-adv1::adv1(int argc,t_atom *argv)
-{
- AddInAnything(); // one inlet that can receive anything
- AddOutAnything(); // one outlet for anything
-
- // register method
- FLEXT_ADDMETHOD(0,m_any); // register method "m_any" for inlet 0
-
- if(argc != 0) { // check for arg count
- // store arg list
- lst(argc,argv);
- }
- else {
- // no args given
- post("%s - no arguments given",thisName());
-
- // tell flext that the initialization was not successful... object will not live
- InitProblem();
- }
-}
-
-
-
-// method
-
-void adv1::m_any(const t_symbol *s,int argc,t_atom *argv)
-{
- // reserve space for as many atoms as possibly necessary
- AtomList result(lst.Count()+argc+2);
-
- // ix is our counter of atoms to output
- int ix = 0;
-
- int i = 0;
- if(!IsSymbol(lst[0])) {
- // if first element to prepend is no symbol then make it a "list"
- SetSymbol(result[ix++],sym_list);
- }
- // copy atoms to prepend to result list
- for(; i < lst.Count(); ++i) CopyAtom(&result[ix++],&lst[i]);
-
- // if anything is no "list" or "float" then append it to result list
- if(s != sym_list && s != sym_float
-#if FLEXT_SYS == FLEXT_SYS_MAX
- && s != sym_int // in Max integers are system data types
-#endif
- )
- SetSymbol(result[ix++],s);
-
- // append pending arguments to result list
- for(i = 0; i < argc; ++i) CopyAtom(&result[ix++],argv+i);
-
- // output result list as an anything
- ToOutAnything(0,GetSymbol(result[0]),ix-1,result.Atoms()+1);
-}
-
-
diff --git a/externals/grill/flext/tutorial/adv1/package.txt b/externals/grill/flext/tutorial/adv1/package.txt
deleted file mode 100644
index f685a0e2..00000000
--- a/externals/grill/flext/tutorial/adv1/package.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-NAME=adv1
-SRCS=main.cpp