From 63049c7d279957ded28d64b7dac637d8b7c45489 Mon Sep 17 00:00:00 2001 From: Artem Budarin Date: Tue, 14 Aug 2018 17:01:21 +0500 Subject: [PATCH] added missing header --- .../Double Hit Balls.xcodeproj/project.pbxproj | 4 ++-- proj.ios/SoundCalls.h | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 proj.ios/SoundCalls.h diff --git a/proj.ios/Double Hit Balls.xcodeproj/project.pbxproj b/proj.ios/Double Hit Balls.xcodeproj/project.pbxproj index 7458ca2..404b25f 100755 --- a/proj.ios/Double Hit Balls.xcodeproj/project.pbxproj +++ b/proj.ios/Double Hit Balls.xcodeproj/project.pbxproj @@ -115,9 +115,9 @@ AC67C880211C8E24003AA164 /* gunshot_sound.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = gunshot_sound.mp3; sourceTree = ""; }; AC67C881211C8E24003AA164 /* background_sound.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = background_sound.mp3; sourceTree = ""; }; AC8032242122F8B100DEA5AC /* SoundCalls.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SoundCalls.cpp; sourceTree = ""; }; - AC8032252122F8B100DEA5AC /* SoundCalls.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SoundCalls.h; path = ../../../../ios/MediaPlayerC/MediaPlayerC/SoundCalls.h; sourceTree = ""; }; AC8032282122F8DC00DEA5AC /* BridgeDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = BridgeDelegate.mm; sourceTree = ""; }; AC8032292122F8DD00DEA5AC /* BridgeDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BridgeDelegate.h; sourceTree = ""; }; + AC80322B2122FBC100DEA5AC /* SoundCalls.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SoundCalls.h; sourceTree = ""; }; ACC6F8372121E8DF00CEDC5C /* Sounds.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Sounds.m; sourceTree = ""; }; ACC6F8392121E8ED00CEDC5C /* Sounds.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Sounds.h; sourceTree = ""; }; /* End PBXFileReference section */ @@ -250,7 +250,7 @@ 84D0FECA1E274EBC00EC3FE5 /* main_code.cpp */, 84D0FECB1E274EBC00EC3FE5 /* main_code.h */, AC8032242122F8B100DEA5AC /* SoundCalls.cpp */, - AC8032252122F8B100DEA5AC /* SoundCalls.h */, + AC80322B2122FBC100DEA5AC /* SoundCalls.h */, ); name = Game; sourceTree = ""; diff --git a/proj.ios/SoundCalls.h b/proj.ios/SoundCalls.h new file mode 100644 index 0000000..76c5f6f --- /dev/null +++ b/proj.ios/SoundCalls.h @@ -0,0 +1,16 @@ +#ifndef __SOUND_CALLS_H__ +#define __SOUND_CALLS_H__ + +class SoundCalls +{ + +public: + + void playBackgroundSound(); + void stopBackgroundSound(); + void playGunshotSound(); + void stopGunshotSound(); + +}; + +#endif // __SOUND_CALLS_H__