Renaming of files in preparation for code style tools.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
feat/cmake_update
Michele Calgaro 4 years ago
parent 2f53bfe61c
commit 00d4f92b71
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -104,7 +104,7 @@ set_property( TARGET artsc-shared APPEND PROPERTY COMPILE_DEFINITIONS ARTSC_BACK
##### artscbackend (shared lib) #################
tde_add_library( artscbackend SHARED
SOURCES artscbackend.cc
SOURCES artscbackend.cpp
VERSION 0.0.0
LINK soundserver_idl-shared artsflow-shared
DESTINATION ${LIB_INSTALL_DIR}

@ -151,7 +151,7 @@
## Misc
- put streamwise blocking into MCOP, see artscat.cc to read really ugly
- put streamwise blocking into MCOP, see artscat.cpp to read really ugly
source which lives without that feature
- implement plugins that transfer non-standard datatypes such as midi events,
video frames, fft packets, oscilloscope views, ... (which was impossible
@ -185,7 +185,7 @@ Flowsystem transactions:
Example: problematic assertion
assert(done[i] <= samples); /* synthschedule.cc:998 */
assert(done[i] <= samples); /* synthschedule.cpp:998 */
the problem with the assertion here is this - suppose some object reacts
in a way on some signal that will lead to the creation of new objects,

@ -32,7 +32,7 @@
using namespace Arts;
using namespace std;
/* copypasted from simplesoundserver_impl.cc */
/* copypasted from simplesoundserver_impl.cpp */
PlayObject createPlayObject(const string& filename)
{
string objectType = "";

@ -48,19 +48,19 @@ install( FILES
set( target artsflow )
set( ${target}_SRCS
synth_play_impl.cc gslschedule.cc audiosubsys.cc
pipebuffer.cc convert.cc synth_wave_sin_impl.cc
synth_frequency_impl.cc synth_multi_add_impl.cc
synth_add_impl.cc synth_mul_impl.cc synth_play_wav_impl.cc
stdsynthmodule.cc cache.cc asyncschedule.cc bytestreamtoaudio_impl.cc
stereovolumecontrol_impl.cc stereoeffectstack_impl.cc
fft.c stereofftscope_impl.cc virtualports.cc bus.cc
audiomanager_impl.cc synth_record_impl.cc resample.cc
audioio.cc audioiooss.cc audioioalsa.cc audioioalsa9.cc
audioionull.cc audioiolibaudioio.cc audioioesd.cc audioiosndio.cc
audioiojack.cc audioiosun.cc audioioaix.cc audioionas.cc
cpuinfo.cc audioioossthreaded.cc audiotobytestream_impl.cc
audioiosgi.cc audioiocsl.cc audioiomas.cc datahandle_impl.cc
synth_play_impl.cpp gslschedule.cpp audiosubsys.cpp
pipebuffer.cpp convert.cpp synth_wave_sin_impl.cpp
synth_frequency_impl.cpp synth_multi_add_impl.cpp
synth_add_impl.cpp synth_mul_impl.cpp synth_play_wav_impl.cpp
stdsynthmodule.cpp cache.cpp asyncschedule.cpp bytestreamtoaudio_impl.cpp
stereovolumecontrol_impl.cpp stereoeffectstack_impl.cpp
fft.c stereofftscope_impl.cpp virtualports.cpp bus.cpp
audiomanager_impl.cpp synth_record_impl.cpp resample.cpp
audioio.cpp audioiooss.cpp audioioalsa.cpp audioioalsa9.cpp
audioionull.cpp audioiolibaudioio.cpp audioioesd.cpp audioiosndio.cpp
audioiojack.cpp audioiosun.cpp audioioaix.cpp audioionas.cpp
cpuinfo.cpp audioioossthreaded.cpp audiotobytestream_impl.cpp
audioiosgi.cpp audioiocsl.cpp audioiomas.cpp datahandle_impl.cpp
)
tde_add_library( ${target} SHARED
@ -73,13 +73,13 @@ tde_add_library( ${target} SHARED
##### artsflow_idl (shared lib) #################
add_custom_command(
OUTPUT artsflow.cc
OUTPUT artsflow.cpp
COMMAND ../mcopidl/mcopidl
ARGS -t ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl
)
tde_add_library( artsflow_idl SHARED
SOURCES artsflow.cc
SOURCES artsflow.cpp
VERSION 1.0.0
LINK mcop-shared ${ALSA_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}

@ -3,7 +3,7 @@
Copyright (C) 2001 Takashi Iwai <tiwai@suse.de>
Copyright (C) 2004 Allan Sandfeld Jensen <kde@carewolf.com>
based on audioalsa.cc:
based on audioalsa.cpp:
Copyright (C) 2000,2001 Jozef Kosoru
jozef.kosoru@pobox.sk
(C) 2000,2001 Stefan Westerfeld

@ -144,7 +144,7 @@ set( ${target}_SRCS
gslconvert.c gslfft.c gslsignal.c gslloader.c
gslwaveosc.c gslengine.c gsloputil.c gslopmaster.c
gslopschedule.c gsldatahandle-mad.c gslosctable.c
gsloscillator.c gslfilehash.c gslartsthreads.cc
gsloscillator.c gslfilehash.c gslartsthreads.cpp
)
tde_add_library( ${target} STATIC_PIC

@ -26,7 +26,7 @@ install( FILES
##### gmcop (shared lib) ########################
tde_add_library( gmcop SHARED
SOURCES giomanager.cc
SOURCES giomanager.cpp
VERSION 1.0.0
LINK mcop-shared ${GLIB2_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}

@ -52,16 +52,16 @@ install( FILES
set( target mcop )
set( ${target}_SRCS
buffer.cc connection.cc core.cc debug.cc dispatcher.cc
iomanager.cc object.cc socketconnection.cc tcpconnection.cc
unixconnection.cc tcpserver.cc unixserver.cc objectmanager.cc
factory.cc idlfilereg.cc ifacerepo_impl.cc mcoputils.cc
startupmanager.cc md5.c md5auth.cc referenceclean.cc
datapacket.cc asyncstream.cc notification.cc
flowsystem.cc extensionloader.cc tmpglobalcomm.cc
mcopconfig.cc connect.cc reference.cc type.cc
trader_impl.cc dynamicrequest.cc anyref.cc
loopback.cc delayedreturn.cc thread.cc dynamicskeleton.cc
buffer.cpp connection.cpp core.cpp debug.cpp dispatcher.cpp
iomanager.cpp object.cpp socketconnection.cpp tcpconnection.cpp
unixconnection.cpp tcpserver.cpp unixserver.cpp objectmanager.cpp
factory.cpp idlfilereg.cpp ifacerepo_impl.cpp mcoputils.cpp
startupmanager.cpp md5.c md5auth.cpp referenceclean.cpp
datapacket.cpp asyncstream.cpp notification.cpp
flowsystem.cpp extensionloader.cpp tmpglobalcomm.cpp
mcopconfig.cpp connect.cpp reference.cpp type.cpp
trader_impl.cpp dynamicrequest.cpp anyref.cpp
loopback.cpp delayedreturn.cpp thread.cpp dynamicskeleton.cpp
)
tde_add_library( ${target} SHARED

@ -86,7 +86,7 @@ void Buffer::writeLongSeq(const vector<long>& seq) {
void Buffer::writeFloat(float f) {
// FIXME: on some machines this may fail badly (there is explicit
// float marshalling and demarshalling code in mico/orb/util.cc)
// float marshalling and demarshalling code in mico/orb/util.cpp)
union { float f; long l; } u = {f};
writeLong(u.l);
}

@ -1086,5 +1086,5 @@ void Dispatcher::wakeUp()
}
/*
void Dispatcher::reloadTraderData() is declared in trader_impl.cc
void Dispatcher::reloadTraderData() is declared in trader_impl.cpp
*/

@ -38,7 +38,7 @@
// However, we can not include config.h in a header file.
// The right solution would be not to use "fd_set" in the
// header file but to use it only in a private datastructure
// defined in the .cc file.
// defined in the .cpp file.
using namespace std;
using namespace Arts;

@ -32,7 +32,7 @@
* BC - Status (2002-03-08): NamedStore
*
* None of these classes is considered part of the public API. Do NOT use it
* in your apps. These are part of the implementation of object.cc and not
* in your apps. These are part of the implementation of object.cpp and not
* to be used elsewhere.
*/

@ -22,7 +22,7 @@ include_directories(
##### mcop_mt (shared lib ) #####################
tde_add_library( mcop_mt SHARED
SOURCES threads_posix.cc
SOURCES threads_posix.cpp
VERSION 1.0.0
LINK artsflow-shared pthread
DESTINATION ${LIB_INSTALL_DIR}

@ -20,7 +20,7 @@ include_directories(
set( target mcopidl )
set( ${target}_SRCS
mcopidl.cc yacc.cc scanner.cc namespace.cc
mcopidl.cpp yacc.cpp scanner.cpp namespace.cpp
)
tde_add_executable( ${target}

@ -749,7 +749,7 @@ void endHeader(FILE *header, string prefix)
FILE *startSource(string prefix)
{
string header_name = prefix+".h";
string source_name = prefix+".cc.new";
string source_name = prefix+".cpp.new";
FILE *source = fopen(source_name.c_str(),"w");
fprintf(source,"%s", generated_disclaimer);
@ -2636,7 +2636,7 @@ int main(int argc, char **argv)
doInterfacesSource(source);
doInterfaceRepoSource(source,prefix);
endSource(source);
moveIfChanged(string(prefix)+".cc");
moveIfChanged(string(prefix)+".cpp");
// create type file
if(makeTypeInfo)

@ -1,4 +1,4 @@
#line 2 "scanner.cc"
#line 2 "scanner.cpp"
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
@ -678,7 +678,7 @@ using namespace std;
using namespace Arts;
#ifndef KDE_USE_FINAL
#include "yacc.cc.h"
#include "yacc.cpp.h"
#endif
extern int idl_line_no;
@ -705,7 +705,7 @@ extern void endInclude();
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
#line 710 "scanner.cc"
#line 710 "scanner.cpp"
/* Macros after this point can all be overridden by user definitions in
* section 1.
@ -859,7 +859,7 @@ YY_DECL
#line 100 "scanner.ll"
#line 864 "scanner.cc"
#line 864 "scanner.cpp"
if ( yy_init )
{
@ -1200,7 +1200,7 @@ YY_RULE_SETUP
#line 177 "scanner.ll"
ECHO;
YY_BREAK
#line 1205 "scanner.cc"
#line 1205 "scanner.cpp"
case YY_STATE_EOF(INITIAL):
yyterminate();

@ -40,7 +40,7 @@ using namespace std;
using namespace Arts;
#ifndef KDE_USE_FINAL
#include "yacc.cc.h"
#include "yacc.cpp.h"
#endif
extern int idl_line_no;

@ -1,6 +1,6 @@
#ifndef YACC_CC_H
#define YACC_CC_H
#ifndef YACC_CPP_H
#define YACC_CPP_H
typedef union
{
@ -71,5 +71,5 @@ typedef union
extern YYSTYPE yylval;
#endif // YACC_CC_H
#endif // YACC_CPP_H

@ -34,7 +34,7 @@ install( FILES
##### qtmcop ##############################
set( qtmcop_SRCS qiomanager.cc )
set( qtmcop_SRCS qiomanager.cpp )
tde_add_library( qtmcop SHARED AUTOMOC
SOURCES ${qtmcop_SRCS}

@ -59,13 +59,13 @@ install( FILES
##### kmedia2_idl (shared lib) ##################
add_custom_command(
OUTPUT kmedia2.cc
OUTPUT kmedia2.cpp
COMMAND ../mcopidl/mcopidl ARGS -t ${MCOPINC} ${CMAKE_CURRENT_SOURCE_DIR}/kmedia2.idl
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/kmedia2.idl
)
tde_add_library( kmedia2_idl SHARED
SOURCES kmedia2.cc
SOURCES kmedia2.cpp
VERSION 1.0.0
LINK artsflow_idl-shared
DESTINATION ${LIB_INSTALL_DIR}
@ -76,13 +76,13 @@ tde_add_library( kmedia2_idl SHARED
##### soundserver_idl (shared lib) ##############
add_custom_command(
OUTPUT soundserver.cc soundserver.h
OUTPUT soundserver.cpp soundserver.h
COMMAND ../mcopidl/mcopidl ARGS -t ${MCOPINC} ${CMAKE_CURRENT_SOURCE_DIR}/soundserver.idl
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/soundserver.idl
)
tde_add_library( soundserver_idl SHARED
SOURCES soundserver.cc
SOURCES soundserver.cpp
VERSION 1.0.0
LINK kmedia2_idl-shared
DESTINATION ${LIB_INSTALL_DIR}
@ -93,7 +93,7 @@ tde_add_library( soundserver_idl SHARED
##### artsgslplayobject (shared lib) ############
tde_add_library( artsgslplayobject SHARED
SOURCES gslplayobject_impl.cc
SOURCES gslplayobject_impl.cpp
VERSION 0.0.0
LINK soundserver_idl-shared artsflow-shared
DESTINATION ${LIB_INSTALL_DIR}
@ -103,7 +103,7 @@ tde_add_library( artsgslplayobject SHARED
##### artswavplayobject (shared lib) ############
tde_add_library( artswavplayobject SHARED
SOURCES wavplayobject_impl.cc
SOURCES wavplayobject_impl.cpp
VERSION 0.0.0
LINK soundserver_idl-shared artsflow-shared
DESTINATION ${LIB_INSTALL_DIR}
@ -113,7 +113,7 @@ tde_add_library( artswavplayobject SHARED
##### kmedia2 (shared lib) ######################
tde_add_library( kmedia2 SHARED
SOURCES fileinputstream_impl.cc stdoutwriter_impl.cc
SOURCES fileinputstream_impl.cpp stdoutwriter_impl.cpp
VERSION 1.0.0
LINK kmedia2_idl-shared artsflow-shared
DESTINATION ${LIB_INSTALL_DIR}
@ -125,9 +125,9 @@ tde_add_library( kmedia2 SHARED
set( target artsd )
set( ${target}_SRCS
soundserverv2_impl.cc soundserver_impl.cc simplesoundserver_impl.cc
artsd.cc cpuusage.cc samplestorage_impl.cc crashhandler.cc
soundserverstartup_impl.cc
soundserverv2_impl.cpp soundserver_impl.cpp simplesoundserver_impl.cpp
artsd.cpp cpuusage.cpp samplestorage_impl.cpp crashhandler.cpp
soundserverstartup_impl.cpp
)
tde_add_executable( ${target}
@ -140,7 +140,7 @@ tde_add_executable( ${target}
##### artsplay ##################################
tde_add_executable( artsplay
SOURCES artsplay.cc
SOURCES artsplay.cpp
LINK soundserver_idl-shared
DESTINATION ${BIN_INSTALL_DIR}
)
@ -149,7 +149,7 @@ tde_add_executable( artsplay
##### artscat ###################################
tde_add_executable( artscat
SOURCES artscat.cc
SOURCES artscat.cpp
LINK soundserver_idl-shared artsflow-shared
DESTINATION ${BIN_INSTALL_DIR}
)
@ -171,7 +171,7 @@ set_property( TARGET artswrapper APPEND PROPERTY COMPILE_DEFINITIONS EXECUTE="${
##### artsshell #################################
tde_add_executable( artsshell
SOURCES artsshell.cc tradercheck.cc
SOURCES artsshell.cpp tradercheck.cpp
LINK soundserver_idl-shared
DESTINATION ${BIN_INSTALL_DIR}
)
@ -180,7 +180,7 @@ tde_add_executable( artsshell
##### artsrec ###################################
tde_add_executable( artsrec
SOURCES artsrec.cc
SOURCES artsrec.cpp
LINK soundserver_idl-shared artsflow-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -365,7 +365,7 @@ int main(int argc, char **argv)
}
#ifdef __SUNPRO_CC
/* See bottom of simplesoundserver_impl.cc for the reason this is here. */
/* See bottom of simplesoundserver_impl.cpp for the reason this is here. */
#include "simplesoundserver_impl.h"
REGISTER_IMPLEMENTATION(SimpleSoundServer_impl);
#include "soundserver_impl.h"

@ -85,6 +85,6 @@ bool SoundServer_impl::terminate() {
}
#ifndef __SUNPRO_CC
/* See bottom of simplesoundserver_impl.cc for the reason this is here. */
/* See bottom of simplesoundserver_impl.cpp for the reason this is here. */
REGISTER_IMPLEMENTATION(SoundServer_impl);
#endif

@ -93,7 +93,7 @@ void SoundServerStartup_impl::unlock()
namespace Arts {
#ifndef __SUNPRO_CC
/* See bottom of simplesoundserver_impl.cc for the reason this is here. */
/* See bottom of simplesoundserver_impl.cpp for the reason this is here. */
REGISTER_IMPLEMENTATION(SoundServerStartup_impl);
#endif
}

@ -381,6 +381,6 @@ float SoundServerV2_impl::cpuUsage()
#ifndef __SUNPRO_CC
/* See bottom of simplesoundserver_impl.cc for the reason this is here. */
/* See bottom of simplesoundserver_impl.cpp for the reason this is here. */
REGISTER_IMPLEMENTATION(SoundServerV2_impl);
#endif

@ -23,7 +23,7 @@ likely at least.
How to add a new set of tests:
==============================
1. create a new .cc file, for this example we'll suppose testarithmetic.cc
1. create a new .cpp file, for this example we'll suppose testarithmetic.cpp
2. #include "test.h"
3. create a struct which will hold all your tests
@ -67,6 +67,6 @@ TESTMAIN(TestArithmetic);
7. add the following to the Makefile.am (you may want to add more source files,
as required)
testarithmetic_SOURCES = testarithmetic.cc
testarithmetic_SOURCES = testarithmetic.cpp
8. add it to check_PROGRAMS

Loading…
Cancel
Save