Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
f13c2a6d
Commit
f13c2a6d
authored
8 years ago
by
Callum Linden
Browse files
Options
Downloads
Patches
Plain Diff
First set of changes to build (tests off) to build correctly against Xcode 8 and SDK 10.12
parent
f40bd0fa
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/media_plugins/cef/CMakeLists.txt
+0
-20
0 additions, 20 deletions
indra/media_plugins/cef/CMakeLists.txt
indra/media_plugins/cef/media_plugin_cef.cpp
+1
-5
1 addition, 5 deletions
indra/media_plugins/cef/media_plugin_cef.cpp
with
1 addition
and
25 deletions
indra/media_plugins/cef/CMakeLists.txt
+
0
−
20
View file @
f13c2a6d
...
@@ -46,10 +46,6 @@ set(media_plugin_cef_SOURCE_FILES
...
@@ -46,10 +46,6 @@ set(media_plugin_cef_SOURCE_FILES
media_plugin_cef.cpp
media_plugin_cef.cpp
)
)
set
(
media_plugin_cef_HEADER_FILES
volume_catcher.h
)
set
(
media_plugin_cef_LINK_LIBRARIES
set
(
media_plugin_cef_LINK_LIBRARIES
${
LLPLUGIN_LIBRARIES
}
${
LLPLUGIN_LIBRARIES
}
${
MEDIA_PLUGIN_BASE_LIBRARIES
}
${
MEDIA_PLUGIN_BASE_LIBRARIES
}
...
@@ -58,22 +54,6 @@ set (media_plugin_cef_LINK_LIBRARIES
...
@@ -58,22 +54,6 @@ set (media_plugin_cef_LINK_LIBRARIES
${
PLUGIN_API_WINDOWS_LIBRARIES
}
)
${
PLUGIN_API_WINDOWS_LIBRARIES
}
)
# Select which VolumeCatcher implementation to use
if
(
LINUX
)
message
(
FATAL_ERROR
"CEF plugin has been enabled for a Linux compile.
\n
"
" Please create a volume_catcher implementation for this platform."
)
elseif
(
DARWIN
)
list
(
APPEND media_plugin_cef_SOURCE_FILES mac_volume_catcher.cpp
)
find_library
(
CORESERVICES_LIBRARY CoreServices
)
find_library
(
AUDIOUNIT_LIBRARY AudioUnit
)
list
(
APPEND media_plugin_cef_LINK_LIBRARIES
${
CORESERVICES_LIBRARY
}
# for Component Manager calls
${
AUDIOUNIT_LIBRARY
}
# for AudioUnit calls
)
elseif
(
WINDOWS
)
list
(
APPEND media_plugin_cef_SOURCE_FILES windows_volume_catcher.cpp
)
endif
(
LINUX
)
set_source_files_properties
(
${
media_plugin_cef_HEADER_FILES
}
set_source_files_properties
(
${
media_plugin_cef_HEADER_FILES
}
PROPERTIES HEADER_FILE_ONLY TRUE
)
PROPERTIES HEADER_FILE_ONLY TRUE
)
...
...
This diff is collapsed.
Click to expand it.
indra/media_plugins/cef/media_plugin_cef.cpp
+
1
−
5
View file @
f13c2a6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
#include
"boost/function.hpp"
#include
"boost/function.hpp"
#include
"boost/bind.hpp"
#include
"boost/bind.hpp"
#include
"llCEFLib.h"
#include
"llCEFLib.h"
#include
"volume_catcher.h"
//
#include "volume_catcher.h"
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//
//
...
@@ -99,8 +99,6 @@ class MediaPluginCEF :
...
@@ -99,8 +99,6 @@ class MediaPluginCEF :
std
::
string
mPickedFile
;
std
::
string
mPickedFile
;
LLCEFLib
*
mLLCEFLib
;
LLCEFLib
*
mLLCEFLib
;
VolumeCatcher
mVolumeCatcher
;
U8
*
mPopupBuffer
;
U8
*
mPopupBuffer
;
U32
mPopupW
;
U32
mPopupW
;
U32
mPopupH
;
U32
mPopupH
;
...
@@ -432,7 +430,6 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
...
@@ -432,7 +430,6 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
{
{
mLLCEFLib
->
update
();
mLLCEFLib
->
update
();
mVolumeCatcher
.
pump
();
// this seems bad but unless the state changes (it won't until we figure out
// this seems bad but unless the state changes (it won't until we figure out
// how to get CEF to tell us if copy/cut/paste is available) then this function
// how to get CEF to tell us if copy/cut/paste is available) then this function
// will return immediately
// will return immediately
...
@@ -926,7 +923,6 @@ void MediaPluginCEF::checkEditState()
...
@@ -926,7 +923,6 @@ void MediaPluginCEF::checkEditState()
void
MediaPluginCEF
::
setVolume
(
F32
vol
)
void
MediaPluginCEF
::
setVolume
(
F32
vol
)
{
{
mVolumeCatcher
.
setVolume
(
vol
);
}
}
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment