summaryrefslogtreecommitdiff
path: root/ace/adapter/ace/FIFO_Send_Msg.h
blob: d736a1e4cb303761078de547c509df79fe432547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// $Id$

#ifndef ACE_ADAPTER_FIFO_SEND_MSG_H
#define ACE_ADAPTER_FIFO_SEND_MSG_H
#include "ace/pre.h"

#include "../../FIFO_Send_Msg.h"

class ACE_FIFO_Send_Msg_W : public ACE_FIFO_Send_Msg
{
public:
  ACE_FIFO_Send_Msg_W (void)
  {}

  ACE_FIFO_Send_Msg_W (const wchar_t *rendezvous,
                       int flags = O_WRONLY,
                       int perms = ACE_DEFAULT_FILE_PERMS,
                       LPSECURITY_ATTRIBUTES sa = 0)
    : ACE_FIFO_Send_Msg (ACE_TEXT_WCHAR_TO_CHAR (rendezvous), flags, perms, sa)
  {}

  

  int open (const wchar_t *rendezvous,
            int flags = O_WRONLY,
            int perms = ACE_DEFAULT_FILE_PERMS,
            LPSECURITY_ATTRIBUTES sa = 0)
  { return ACE_FIFO_Send_Msg::open (ACE_TEXT_WCHAR_TO_CHAR (rendezvous), flags, perms, sa); }

};


#include "ace/post.h"
#endif /* ACE_ADAPTER_FIFO_SEND_MSG_H */