From 0345245e860375a32c9a437c4a9d9cae807134e9 Mon Sep 17 00:00:00 2001 From: Shashank Date: Mon, 29 May 2017 12:40:26 +0530 Subject: CMSCOPE changed --- modules/sound/src/c/DllmainSound.c | 33 ++++ modules/sound/src/c/sound.rc | 97 +++++++++++ modules/sound/src/nosound/nosound.c | 23 +++ modules/sound/src/nosound/nosound.rc | 97 +++++++++++ modules/sound/src/nosound/nosound.vcxproj | 195 ++++++++++++++++++++++ modules/sound/src/nosound/nosound.vcxproj.filters | 30 ++++ 6 files changed, 475 insertions(+) create mode 100755 modules/sound/src/c/DllmainSound.c create mode 100755 modules/sound/src/c/sound.rc create mode 100755 modules/sound/src/nosound/nosound.c create mode 100755 modules/sound/src/nosound/nosound.rc create mode 100755 modules/sound/src/nosound/nosound.vcxproj create mode 100755 modules/sound/src/nosound/nosound.vcxproj.filters (limited to 'modules/sound/src') diff --git a/modules/sound/src/c/DllmainSound.c b/modules/sound/src/c/DllmainSound.c new file mode 100755 index 000000000..65d317a20 --- /dev/null +++ b/modules/sound/src/c/DllmainSound.c @@ -0,0 +1,33 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006 - INRIA - Allan CORNET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ +/*--------------------------------------------------------------------------*/ +#include +/*--------------------------------------------------------------------------*/ +#pragma comment(lib,"../../bin/libintl.lib") +/*--------------------------------------------------------------------------*/ +int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved) +{ + switch (reason) + { + case DLL_PROCESS_ATTACH: + break; + case DLL_PROCESS_DETACH: + break; + case DLL_THREAD_ATTACH: + break; + case DLL_THREAD_DETACH: + break; + } + return 1; +} +/*--------------------------------------------------------------------------*/ + diff --git a/modules/sound/src/c/sound.rc b/modules/sound/src/c/sound.rc new file mode 100755 index 000000000..4a5fb168d --- /dev/null +++ b/modules/sound/src/c/sound.rc @@ -0,0 +1,97 @@ +// Microsoft Visual C++ generated resource script. +// + + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +//#include "afxres.h" +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// French (France) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) +#ifdef _WIN32 +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 5,5,2,0 + PRODUCTVERSION 5,5,2,0 + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040c04b0" + BEGIN + VALUE "CompanyName", "Scilab" + VALUE "FileDescription", "sound module" + VALUE "FileVersion", "5, 5, 2, 0" + VALUE "InternalName", "sound" + VALUE "LegalCopyright", "Copyright (C) 2017" + VALUE "OriginalFilename", "sound.rc" + VALUE "ProductName", " sound" + VALUE "ProductVersion", "5, 5, 2, 0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x40c, 1200 + END +END + +#endif // French (France) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/modules/sound/src/nosound/nosound.c b/modules/sound/src/nosound/nosound.c new file mode 100755 index 000000000..f9b24ba68 --- /dev/null +++ b/modules/sound/src/nosound/nosound.c @@ -0,0 +1,23 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006 - INRIA - Allan CORNET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +/*--------------------------------------------------------------------------*/ +#include "gw_sound.h" +#include "localization.h" +#include "Scierror.h" +/*--------------------------------------------------------------------------*/ +int gw_sound(void) +{ + Scierror(999, _("Scilab sound module not installed.\n")); + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/sound/src/nosound/nosound.rc b/modules/sound/src/nosound/nosound.rc new file mode 100755 index 000000000..313f3d30c --- /dev/null +++ b/modules/sound/src/nosound/nosound.rc @@ -0,0 +1,97 @@ +// Microsoft Visual C++ generated resource script. +// + + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +//#include "afxres.h" +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// French (France) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) +#ifdef _WIN32 +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 5,5,2,0 + PRODUCTVERSION 5,5,2,0 + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040c04b0" + BEGIN + VALUE "FileDescription", "nosound module" + VALUE "FileVersion", "5, 5, 2, 0" + VALUE "InternalName", "nosound module" + VALUE "LegalCopyright", "Copyright (C) 2017" + VALUE "OriginalFilename", "nosound.dll" + VALUE "ProductName", " nosound" + VALUE "ProductVersion", "5, 5, 2, 0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x40c, 1200 + END +END + +#endif // French (France) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/modules/sound/src/nosound/nosound.vcxproj b/modules/sound/src/nosound/nosound.vcxproj new file mode 100755 index 000000000..bbf901306 --- /dev/null +++ b/modules/sound/src/nosound/nosound.vcxproj @@ -0,0 +1,195 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {B2A7F55B-8449-47FE-A1BB-5E77EC18DE43} + nosound + Win32Proj + + + + DynamicLibrary + MultiByte + false + v110 + + + DynamicLibrary + MultiByte + v110 + + + DynamicLibrary + MultiByte + false + v110 + + + DynamicLibrary + MultiByte + v110 + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + $(SolutionDir)bin\ + $(ProjectDir)$(Configuration)\ + false + $(SolutionDir)bin\ + $(ProjectDir)$(Configuration)\ + false + $(SolutionDir)bin\ + $(ProjectDir)$(Configuration)\ + false + $(SolutionDir)bin\ + $(ProjectDir)$(Configuration)\ + false + + + + Disabled + ../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../api_scilab/includes;../../includes;%(AdditionalIncludeDirectories) + _CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;SOUND_EXPORTS;%(PreprocessorDefinitions) + MultiThreadedDebugDLL + Level3 + + + ../../../../bin/libintl.lib;%(AdditionalDependencies) + $(SolutionDir)bin\$(ProjectName).dll + true + Windows + $(SolutionDir)bin\$(ProjectName).lib + MachineX86 + true + false + + + + + X64 + + + Disabled + ../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../api_scilab/includes;../../includes;%(AdditionalIncludeDirectories) + _CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;SOUND_EXPORTS;%(PreprocessorDefinitions) + MultiThreadedDebugDLL + Level3 + + + ../../../../bin/libintl.lib;%(AdditionalDependencies) + $(SolutionDir)bin\$(ProjectName).dll + true + Windows + $(SolutionDir)bin\$(ProjectName).lib + MachineX64 + true + false + + + + + Speed + false + ../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../api_scilab/includes;../../includes;%(AdditionalIncludeDirectories) + _CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;SOUND_EXPORTS;%(PreprocessorDefinitions) + true + MultiThreadedDLL + Level3 + true + + + ../../../../bin/libintl.lib;%(AdditionalDependencies) + $(SolutionDir)bin\$(ProjectName).dll + false + Windows + true + true + $(SolutionDir)bin\$(ProjectName).lib + MachineX86 + true + false + + + + + X64 + + + Speed + false + ../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../api_scilab/includes;../../includes;%(AdditionalIncludeDirectories) + _CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;SOUND_EXPORTS;%(PreprocessorDefinitions) + true + MultiThreadedDLL + Level3 + true + + + ../../../../bin/libintl.lib;%(AdditionalDependencies) + $(SolutionDir)bin\$(ProjectName).dll + false + Windows + true + true + $(SolutionDir)bin\$(ProjectName).lib + MachineX64 + true + false + + + + + + + + + + + {3170e4c2-1173-4264-a222-7ee8ccb3ddf7} + false + + + {ecffeb0c-1eda-45ee-9a10-b18143852e17} + false + + + {a5911cd7-f8e8-440c-a23e-4843a0636f3a} + false + + + + + + \ No newline at end of file diff --git a/modules/sound/src/nosound/nosound.vcxproj.filters b/modules/sound/src/nosound/nosound.vcxproj.filters new file mode 100755 index 000000000..66c644b4c --- /dev/null +++ b/modules/sound/src/nosound/nosound.vcxproj.filters @@ -0,0 +1,30 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + {ef3ab8de-c345-414d-805e-058bef85a0bc} + + + + + Source Files + + + + + Resource Files + + + \ No newline at end of file -- cgit