Changeset 11043

Show
Ignore:
Timestamp:
03/05/12 09:06:04 (15 months ago)
Author:
Snyder.Jason
Message:

checking in changes related to shared libraries.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/branches/jsnyder/trunk/system/ossie/framework/LoadableDevice_impl.cpp

    r9807 r11043  
    8282               ("Cannot load. System is either LOCKED, SHUTTING DOWN or DISABLED.")); 
    8383    } 
    84  
    85 // verify that the loadKind is supported (only executable is supported by this version) 
    86     if (loadKind != CF::LoadableDevice::EXECUTABLE) { 
    87         throw CF::LoadableDevice::InvalidLoadKind (); 
    88     } 
    89  
     84    // verify that the loadKind is supported (only executable and shared libraries are supported) 
     85    if (!(loadKind == CF::LoadableDevice::EXECUTABLE || loadKind == CF::LoadableDevice::SHARED_LIBRARY)) { 
     86        throw CF::LoadableDevice::InvalidLoadKind (); 
     87    } 
     88    else 
     89        loadType = loadKind; 
    9090// verify the file name exists in the file system and get a pointer to it 
    9191// NOTE: in this context, this step is redundant; the 'installApplication' method