summaryrefslogtreecommitdiff
path: root/indra/llvfs/llpidlock.h
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2014-04-14 10:49:18 -0700
committerCallum Prentice <callum@lindenlab.com>2014-04-14 10:49:18 -0700
commit8fd239233dca9639c6d0139e8f697da97bfe036e (patch)
tree000d3bd2eb0619a1fdf24ff080ecfe212c2ea6f8 /indra/llvfs/llpidlock.h
parentef095034d17bfa71dbd8525fcdda8a520bd7e20f (diff)
parent7e966f28da79d2d24f93a2615c8807421300700c (diff)
Merge with head of viewer-releasE
Diffstat (limited to 'indra/llvfs/llpidlock.h')
-rwxr-xr-xindra/llvfs/llpidlock.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/indra/llvfs/llpidlock.h b/indra/llvfs/llpidlock.h
index d3295f4911..334f26bb29 100755
--- a/indra/llvfs/llpidlock.h
+++ b/indra/llvfs/llpidlock.h
@@ -39,21 +39,22 @@ namespace LLPidLock
{
void initClass(); // { (void) LLPidLockFile::instance(); }
- bool requestLock( LLNameTable<void *> *name_table=NULL, bool autosave=TRUE,
- bool force_immediate=FALSE, F32 timeout=300.0);
- bool checkLock();
- void releaseLock();
- bool isClean();
-
- //getters
- LLNameTable<void *> * getNameTable();
- bool getAutosave();
- bool getClean();
- std::string getSaveName();
-
- //setters
- void setClean(bool clean);
- void setSaveName(std::string savename);
+ bool requestLock( LLNameTable<void *> *name_table=NULL, bool autosave=TRUE,
+ bool force_immediate=FALSE, F32 timeout=300.0);
+ bool checkLock();
+ void releaseLock();
+ bool isClean();
+
+ //getters
+ LLNameTable<void *> * getNameTable();
+ bool getAutosave();
+ bool getClean();
+ std::string getSaveName();
+ S32 getPID();
+
+ //setters
+ void setClean(bool clean);
+ void setSaveName(std::string savename);
};
#endif // LL_PIDLOCK_H