/* /////////////////////////////////////////////////////////////////////////////
 * File:        CAdapt_test.cpp
 *
 * Purpose:     Implementation file for the CAdapt_test project.
 *
 * Created:     4th January 2004
 * Updated:     4th January 2004
 *
 * Status:      Wizard-generated
 *
 * License:     (Licensed under the Synesis Software Open License)
 *
 *              Copyright (C) 1999-2004, Synesis Software Pty Ltd.
 *              All rights reserved.
 *
 *              www:        http://www.synesis.com.au/software
 *
 *              email:      software@synesis.com.au
 *
 *              This source code is placed into the public domain 2004
 *              by Synesis Software Pty Ltd. There are no restrictions
 *              whatsoever to your use of the software. 
 *
 *              This source code is provided by Synesis Software Pty Ltd "as is"
 *              and any warranties, whether expressed or implied, including, but
 *              not limited to, the implied warranties of merchantability and
 *              fitness for a particular purpose are disclaimed. In no event
 *              shall the Synesis Software Pty Ltd be liable for any direct,
 *              indirect, incidental, special, exemplary, or consequential
 *              damages (including, but not limited to, procurement of
 *              substitute goods or services; loss of use, data, or profits; or
 *              business interruption) however caused and on any theory of
 *              liability, whether in contract, strict liability, or tort
 *              (including negligence or otherwise) arising in any way out of
 *              the use of this software, even if advised of the possibility of
 *              such damage. 
 *
 *              Neither the name of Synesis Software Pty Ltd nor the names of
 *              any subdivisions, employees or agents of Synesis Software Pty
 *              Ltd, nor the names of any other contributors to this software
 *              may be used to endorse or promote products derived from this
 *              software without specific prior written permission. 
 *
 * ////////////////////////////////////////////////////////////////////////// */

#include <stdio.h>

#include <stlsoft.h>

#include <atlstl.h>

#include <list>
#include <vector>

#include <MOBStr.h>

/* ////////////////////////////////////////////////////////////////////////// */

typedef CComQIPtr<IEnumUnknown>         IEnumUnknown_ptr;

typedef CComBSTR                        bstr_t;
//typedef SynesisCom::BStr              bstr_t;

//typedef std::list<bstr_t>             CComBSTR_vector_t;
typedef std::vector<bstr_t>             CComBSTR_vector_t;

typedef std::vector<IEnumUnknown_ptr>   IEnumUnknown_ptr_vector_t;

/* ////////////////////////////////////////////////////////////////////////// */

int main(int /* argc */, char ** /*argv*/)
{
#if 0
    ::Sleep(100000);
#endif /* 0 */

    puts("CAdapt_test: " __STLSOFT_COMPILER_LABEL_STRING);

    /* . */
    CComBSTR_vector_t   v(10);

    bstr_t          bstr("Stuff");

//  v.push_back(bstr);

//  v.assign(100, bstr);

//  v.insert(v.begin(), bstr);

//  v.erase(v.begin());

    IEnumUnknown_ptr_vector_t   vp;
    IEnumUnknown_ptr            punk;

    &punk;

//  vp.push_back(vp);

    return 0;
}

/* ////////////////////////////////////////////////////////////////////////// */
