Refactoring some more classes, making easier code in plug-ins possible. Needed this for better testing some problems with the CreateShadow function.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2094 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-09-25 11:36:52 +00:00
commit 9488200886
20 changed files with 128 additions and 190 deletions

View file

@ -24,6 +24,7 @@ using System.Drawing.Imaging;
using System.Windows.Forms;
using Greenshot.Plugin.Drawing;
using System.IO;
namespace Greenshot.Plugin {
/// <summary>
@ -111,6 +112,8 @@ namespace Greenshot.Plugin {
ICursorContainer AddCursorContainer(string filename, int x, int y);
IIconContainer AddIconContainer(string filename, int x, int y);
IMetafileContainer AddMetafileContainer(string filename, int x, int y);
long SaveElementsToStream(Stream stream);
void LoadElementsFromStream(Stream stream);
bool HasSelectedElements();
void RemoveSelectedElements();