Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#65 glasgow win32 fixes

open
nobody
None
5
2005-09-14
2005-09-14
Tom Baker
No

1. Added file to core:
FileManager.cpp

2. Added files to gui:
FlipFrameController.cpp
FlipFrameDisplayHandler.cpp
FlipFrameDriver.cpp
FrameManagerWindow.cpp
FrameStore.cpp
SheetSelectionTools.cpp
SimpleDisplayWindow.cpp

3. Put '#ifdef WIN32' wrappers around includes of
unistd.h.

4. The functions usleep() and sleep() aren't define in
VC. I added macros to conditionally call the Win32
Sleep() function. These macros should be put into a
single global include file. The file
FlipFrameDriver.cpp has a sleep of 1000 seconds. Do we
really want this?

5. The function FrameStore::preload_run() in is defined
to return a void*. There are no return statements in
that function. It looks like it should be defined as
void because the thread exits the application at the
end of the function. I added a return statement to
avoid compiler errors.

6. I replaced the function S_ISREG() in
SheetSelectionTools.cpp with the code that actually
tests the flag bit.

7. I had trouble exporting the static const
FrameManager::INVALID_INDEX. I converted it to an enum.

Discussion

  • Tom Baker
    Tom Baker
    2005-09-14

    Glasgow patch for Win32 build

     
    Attachments