profile-manager.cpp revision 47badd0035ae8c9135c51444f3770b17ae504dda
/*
* Inkscape::ProfileManager - a view of a document's color profiles.
*
* Copyright 2007 Jon A. Cruz <jon@joncruz.org>
* Abhishek Sharma
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <algorithm>
#include "profile-manager.h"
#include "document.h"
#include "color-profile.h"
#include <cstring>
namespace Inkscape {
{
_resource_connection = _doc->connectResourcesChanged( "iccprofile", sigc::mem_fun(*this, &ProfileManager::_resourcesChanged) );
}
{
_doc = 0;
}
void ProfileManager::_resourcesChanged()
{
if (_doc) {
while ( current ) {
}
}
_knownProfiles.erase( remove(_knownProfiles.begin(), _knownProfiles.end(), tmp), _knownProfiles.end() );
}
}
}
}
}
}
{
ColorProfile* match = 0;
if ( name ) {
break;
}
}
}
return match;
}
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :