So I wrote a class.

This is a discussion on So I wrote a class. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; How about a nested class or an unnamed namespace? Code: namespace { namespace helper { class Cshort; } }...

  1. #16
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    How about a nested class or an unnamed namespace?
    Code:
    namespace {
        namespace helper {
            class Cshort;
        }
    }

  2. #17
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Quote Originally Posted by brewbuck View Post
    Because it's not a document converter, it's not part of the UI, and it has nothing to do with Microsoft. That's just what UIMXDC happens to stand for.

    In fact, this class only exist in order to implement one of the methods defined in the IPrintOemUIMXDC interface. Since the basic piece of software here is an XPS driver called "Golden Jet" the name goes: XPS Driver, Golden Jet, the part which implements that stupid UIMXDC thing.

    IPrintOemUIMXDC is an interface exported by a Unidrv UI plugin which provides three methods that MXDC uses to determine how to perform certain actions when converting a GDI print job to an XPS document. In this case I need to control the image compression (i.e. disable it).

    So the name didn't arise as capriciously as it might seem at first. It still sucks though.

    could have put that in the op and saved us the time of humoring you
    Here to Deceive, Inveigle, Obfuscate Since 1945

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Specializing class
    By Elysia in forum C++ Programming
    Replies: 6
    Last Post: 09-28-2008, 05:30 AM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  3. Creating a database
    By Shamino in forum Game Programming
    Replies: 19
    Last Post: 06-10-2007, 02:09 PM
  4. Replies: 7
    Last Post: 05-26-2005, 11:48 AM
  5. Abstract class problem
    By VanJay011379 in forum C++ Programming
    Replies: 9
    Last Post: 07-31-2002, 02:30 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21