mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[c-host] added linux platform stubs
This commit is contained in:
parent
a8622be1c6
commit
fb2a2076a2
@ -23,6 +23,8 @@ ifdef OS
|
||||
DLLS += dll/libd3d11.a
|
||||
OBJS += capture/dxgi.o
|
||||
endif
|
||||
else
|
||||
OBJS += linux/platform.o
|
||||
endif
|
||||
|
||||
all: $(OBJS) $(DLLS)
|
||||
|
45
c-host/linux/platform.c
Normal file
45
c-host/linux/platform.c
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
Looking Glass - KVM FrameRelay (KVMFR) Client
|
||||
Copyright (C) 2017-2019 Geoffrey McRae <geoff@hostfission.com>
|
||||
https://looking-glass.hostfission.com
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; either version 2 of the License, or (at your option) any later
|
||||
version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "app.h"
|
||||
#include "debug.h"
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
int result = app_main();
|
||||
os_shmemUnmap();
|
||||
return result;
|
||||
}
|
||||
|
||||
unsigned int os_shmemSize()
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool os_shmemMmap(void **ptr)
|
||||
{
|
||||
// TODO
|
||||
return false;
|
||||
}
|
||||
|
||||
void os_shmemUnmap()
|
||||
{
|
||||
// TODO
|
||||
}
|
Loading…
Reference in New Issue
Block a user