Fix test for bug #32625
[gnash.git] / libbase / SharedMemW32.cpp
blobc6bb1fd28613563d47cf28d9014bf081ab2f07d3
1 // SharedMem implementation for w32
2 //
3 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
4 // Foundation, Inc
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifdef HAVE_CONFIG_H
21 # include "gnashconfig.h"
22 #endif
24 #include "SharedMem.h"
26 #include <windows.h>
27 #include <process.h>
28 #include <io.h>
30 #include "log.h"
31 #include "rc.h"
33 namespace {
34 gnash::RcInitFile& rcfile = gnash::RcInitFile::getDefaultInstance();
37 namespace gnash {
39 SharedMem::SharedMem(size_t size)
41 _addr(0),
42 _size(size),
43 _semid(0),
44 _shmid(0),
45 _shmkey(0)
47 log_unimpl(_("%s on w32"), __FUNCTION__);
50 SharedMem::~SharedMem()
52 log_unimpl(_("%s on w32"), __FUNCTION__);
55 bool
56 SharedMem::lock() const
58 log_unimpl(_("%s on w32"), __FUNCTION__);
59 return false;
62 bool
63 SharedMem::unlock() const
65 log_unimpl(_("%s on w32"), __FUNCTION__);
66 return false;
69 bool
70 SharedMem::attach()
72 log_unimpl(_("%s on w32"), __FUNCTION__);
73 return false;
76 } // end of gnash namespace
78 // Local Variables:
79 // mode: C++
80 // indent-tabs-mode: t
81 // End: