summaryrefslogtreecommitdiff
path: root/ace/FILE_Addr.h
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-23 04:43:59 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-23 04:43:59 +0000
commita7c03cabf931b077d70c6f80ec02c7728a429f49 (patch)
tree61d38d262d43ac77fc2ad94c9e7e850cd5607622 /ace/FILE_Addr.h
parent2aa7b10780ad7c670f588dce4ec341351a0646aa (diff)
downloadATCD-a7c03cabf931b077d70c6f80ec02c7728a429f49.tar.gz
ChangeLogTag:Sat Apr 22 20:53:11 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/FILE_Addr.h')
-rw-r--r--ace/FILE_Addr.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/ace/FILE_Addr.h b/ace/FILE_Addr.h
index c101c677592..1100c1f23e2 100644
--- a/ace/FILE_Addr.h
+++ b/ace/FILE_Addr.h
@@ -42,10 +42,10 @@ public:
// Acts like a copy constructor. If <sa> == ACE_Addr::sap_any then
// create a temporary filename using <ACE_OS::mktemp>.
- ACE_FILE_Addr (LPCTSTR filename);
+ ACE_FILE_Addr (const ACE_TCHAR *filename);
// Create a ACE_FILE_Addr from a pathname.
- int set (LPCTSTR filename);
+ int set (const ACE_TCHAR *filename);
// Create a ACE_FILE_Addr from a pathname.
ACE_FILE_Addr &operator= (const ACE_FILE_Addr &);
@@ -54,12 +54,7 @@ public:
virtual void *get_addr (void) const;
// Return a pointer to the address.
-#if defined (UNICODE)
- virtual int addr_to_string (wchar_t *addr, size_t) const;
- // Transform the current address into string format.
-#endif /* UNICODE */
-
- virtual int addr_to_string (char *addr, size_t) const;
+ virtual int addr_to_string (ACE_TCHAR *addr, size_t) const;
// Transform the current address into string format.
int operator == (const ACE_FILE_Addr &SAP) const;
@@ -68,7 +63,7 @@ public:
int operator != (const ACE_FILE_Addr &SAP) const;
// Compare two addresses for inequality.
- LPCTSTR get_path_name (void) const;
+ const ACE_TCHAR *get_path_name (void) const;
// Return the path name used for the rendezvous point.
void dump (void) const;
@@ -78,7 +73,7 @@ public:
// Declare the dynamic allocation hooks.
private:
- TCHAR filename_[MAXNAMLEN + 1];
+ ACE_TCHAR filename_[MAXNAMLEN + 1];
// Name of the file.
};