Skip to content

Commit

Permalink
isReadOnly added
Browse files Browse the repository at this point in the history
  • Loading branch information
nenada committed Dec 18, 2024
1 parent 79d06e9 commit 48533ca
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion MMDevice/MMDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -1513,10 +1513,15 @@ namespace MM {
virtual int Close(const char* handle) = 0;

/**
* Returns true if it can accept new images.
* Returns true if file(s) are loaded
*/
virtual bool IsOpen(const char* handle) = 0;

/**
* Returns false if it can accept new images.
*/
virtual bool IsReadOnly(const char* handle) = 0;

/**
* Load
* Load an existing dataset.
Expand Down Expand Up @@ -1592,6 +1597,8 @@ namespace MM {
virtual int GetDimension(const char* handle, int dimension, char* name, int nameLength, char* meaning, int meaningLength) = 0;

virtual int GetCoordinate(const char* handle, int dimension, int coordinate, char* name, int nameLength) = 0;

virtual int GetImageCount(const char* handle, int& imgcount) = 0;
};


Expand Down

0 comments on commit 48533ca

Please sign in to comment.