//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//
// IFACE.H
// --------------------------------
// COMImage component object and interface definition
//
//
//
#ifndef __IFACE_H__
#define __IFACE_H__

#include <objbase.h>

//{{COMASPECT_INTERFACEDECL

interface IImageInfo : IUnknown 
{
     virtual HRESULT __stdcall GetSize(int *Width, int *Height) = 0; 
     virtual HRESULT __stdcall GetPosition(int *X, int *Y) = 0; 
};

interface IImageProcessing : IUnknown 
{
     virtual HRESULT __stdcall Rotate(int* result_arg, int AngleDegrees) = 0; 
     virtual HRESULT __stdcall Resize(int* result_arg, int Width, int Height) = 0; 
};

interface IPersistence : IUnknown 
{
     virtual HRESULT __stdcall Load(int* result_arg, char *Filename) = 0; 
     virtual HRESULT __stdcall Save(int* result_arg, char *Filename) = 0; 
};

//}}COMASPECT_INTERFACEDECL

//{{COMASPECT_GUIDDECL
DEFINE_GUID(CLSID_COMImage, 0xcbeea2d0, 0xe3a7, 0x11d1, 0xa2, 0xdd, 0x00, 0x60, 0x08, 0x1c, 0x46, 0xcb);

DEFINE_GUID(IID_IImageInfo, 0x90240720, 0xe3a8, 0x11d1,0xa2, 0xdd, 0x00, 0x60, 0x08, 0x1c, 0x46, 0xcb);
DEFINE_GUID(IID_IImageProcessing, 0x90240721, 0xe3a8, 0x11d1, 0xa2, 0xdd, 0x00, 0x60, 0x08, 0x1c, 0x46, 0xcb);
DEFINE_GUID(IID_IPersistence, 0x90240722, 0xe3a8, 0x11d1, 0xa2, 0xdd, 0x00, 0x60, 0x08, 0x1c, 0x46, 0xcb);

//}}COMASPECT_GUIDDECL

#endif

