diff layer/LayerFactory.h @ 373:0895517bb2d1 1.2-stable

* merge from trunk (1.2 ended up being tracked from trunk, but we may want this branch for fixes later)
author Chris Cannam
date Wed, 27 Feb 2008 10:32:45 +0000
parents 4f4f38a11cd2
children 96e4d7b9e165
line wrap: on
line diff
--- a/layer/LayerFactory.h	Thu Nov 29 10:43:54 2007 +0000
+++ b/layer/LayerFactory.h	Wed Feb 27 10:32:45 2008 +0000
@@ -21,6 +21,7 @@
 
 class Layer;
 class Model;
+class Clipboard;
 
 class LayerFactory
 {
@@ -76,6 +77,8 @@
     QString getLayerTypeName(LayerType);
     LayerType getLayerTypeForName(QString);
 
+    LayerType getLayerTypeForClipboardContents(const Clipboard &);
+
 protected:
     template <typename LayerClass, typename ModelClass>
     bool trySetModel(Layer *layerBase, Model *modelBase) {