profile-manager.cpp revision 7470494cb0c0634ac4278a274fdf7f1814b81ab5
/*
* Inkscape::ProfileManager - a view of a document's color profiles.
*
* Copyright 2007 Jon A. Cruz <jon@joncruz.org>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <algorithm>
#include "profile-manager.h"
#include "document.h"
#include "color-profile.h"
namespace Inkscape {
{
_resource_connection = sp_document_resources_changed_connect( _doc, "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:encoding=utf-8:textwidth=99 :